arm2
Posts: 253
Joined: Thu Dec 15, 2011 3:46 pm

Request for change to hdmi_drive =1 to force analogue sound

Fri Jun 28, 2013 3:44 pm

Request for change to hdmi_drive =1 to force analogue sound!

We have tried various DVI monitors, HDMI monitors and HDMI to VGA adaptors that have no sound but unfortunately seem to fool the Pi into using HDMI sound.

According to the wiki
hdmi_drive chooses between HDMI and DVI modes
hdmi_drive=1 Normal DVI mode (No sound)
hdmi_drive=2 Normal HDMI mode (Sound will be sent if supported and enabled)

We have tried setting:
hdmi_drive=1
but that does not get us analogue sound

I see from the forums one way of fixing it is:

sudo amixer cset numid=3 <output>
0=auto
1=headphones
2=hdmi
Example for outputting sound through the 3.5mm jack
sudo amixer cset numid=3 1

Unfortunately we are using RISC OS which doesn't have an 'amixer' equivalent.

Could hdmi_drive=1? be used to force analogue sound please?
Or is there another solution?

We have also tried:
hdmi_ignore_edid Enables the ignoring of EDID/display data if your display is a crappy Chinese one
hdmi_ignore_edid=0xa5000080

This change did not help get analogue sound output

I downloaded the latest start.elf yesterday, it gives the same results

n.b. One type of HDMI to VGA adaptors we have tried (no audio outlet)
displays fine with no hdmi_drive setting but setting hdmi_drive=1 gives no display! Is hdmi_drive changing video settings?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5537
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Request for change to hdmi_drive =1 to force analogue s

Fri Jun 28, 2013 4:23 pm

From:
http://elinux.org/RPi_config.txt

hdmi_ignore_edid_audio Pretends all audio formats are unsupported by display. This means ALSA will default to analogue.

Code: Select all

 hdmi_ignore_edid_audio=1

arm2
Posts: 253
Joined: Thu Dec 15, 2011 3:46 pm

Re: Request for change to hdmi_drive =1 to force analogue s

Fri Jun 28, 2013 4:50 pm

Brilliant. That has fixed it for the first two configurations we tried.
How recent a version of start.elf is needed?
Some of the users who need this fix will be on very old versions.

Thanks for the very quick and effective reply.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5537
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Request for change to hdmi_drive =1 to force analogue s

Fri Jun 28, 2013 6:40 pm

arm2 wrote:Brilliant. That has fixed it for the first two configurations we tried.
How recent a version of start.elf is needed?
Some of the users who need this fix will be on very old versions.

Thanks for the very quick and effective reply.
Fairly new I'm afraid. Added 5th June.

Return to “Troubleshooting”