io587
Posts: 7
Joined: Sat Jun 04, 2016 8:49 pm

Sound card not working

Tue Jun 07, 2016 4:19 am

The volume adjuster on the menu bar does not allow me to adjust volume. I tried running amixer but it outputted

Code: Select all

amixer: Mixer attach default error: No such file or directory
I then tried alsactl init and some other sound-related commands but the output was

Code: Select all

alsactl: init:1758: No soundcards found...
Any clue as to how I could fix this? raspi-config doesn't allow me to adjust audio options now, either.

MikeDK
Posts: 86
Joined: Thu Mar 19, 2015 12:01 pm

Re: Sound card not working

Tue Jun 07, 2016 7:38 am

Which model of the raspberry pi are you using?
Which sound card are you trying to use? The raspberry's or some external adapter? (usb, i2s,...)
Which version of which OS are you using?

If using raspbian, locate the file /boot/config.txt and edit it to contain this line:

Code: Select all

audio=on

regards,
MikeDK

53-11
Posts: 4
Joined: Thu Nov 12, 2015 3:22 pm

Re: Sound card not working

Sat Aug 06, 2016 5:31 pm

Had the same error after I accidentally deleted the config.txt file and started with a blank file. The line needed was "dtparam=audio=on"

Return to “Troubleshooting”