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: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest 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: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”