dogmarcopolo
Posts: 6
Joined: Fri Apr 17, 2015 5:53 pm

Raspberry Pi 2 audio output problem

Sat Apr 18, 2015 6:30 pm

my raspberry pi 2 is connected to a hdmi tv but i need audio to come out of the audio jack. i used the following command:

amixer cset numid=3 1

but it dosesn't work. if i use the same command 'amixer cset numid=3' the value is back to '0'.

also tried raspi-config, but it kept going back to '0'.

how can i make this change to stick? Thanks.

User avatar
xoopha
Posts: 106
Joined: Mon Feb 09, 2015 9:52 pm

Re: Raspberry Pi 2 audio output problem

Sat Apr 18, 2015 11:28 pm

Do you have the line

Code: Select all

 hdmi_ignore_edid_audio=1
in /boot/config.txt?

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Raspberry Pi 2 audio output problem

Sun Apr 19, 2015 7:46 am

Take everything out of /boot/config.txt (using the NOOBS recovery system editor) by prefixing every line with a #.

The only line you should leave is

Code: Select all

gpu_mem=128
Reboot and test your audio.

If it still fails add

Code: Select all

gpu_mem=128
hdmi_drive=2
Reboot and test your audio again.

If it still fails try

Code: Select all

gpu_mem=128
hdmi_ignore_edid_audio=1
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Troubleshooting”