Audio not working


I tried changing some of the outputs for the audio it does not work at all, any suggestions?


Here, after logging in, I use to click on the audio mixer tray icon and then I press the “Test” button. The first click fails, and the second one works. After that, all sound works.

How does it work for you?


Ok let me try that.


Has the system discovered a sound device? Mine says on the terminal:

$ sudo dmesg|grep pcm                                                                                                                                             
pcm0: <Realtek ALC283 (Front Analog Headphones)> at nid 33 on hdaa0
pcm1: <Intel Kabylake (HDMI/DP 8ch)> at nid 3 on hdaa1
$ sudo cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC283 (Front Analog Headphones)> (play) default
pcm1: <Intel Kabylake (HDMI/DP 8ch)> (play)
No devices installed from userspace.

The $ is the prompt and must not be entered.

Here only the Realtek device works, sound via HDMI not so far.


the cat /dev/sndstat command is a good one to remember. It tells you what devices have been exposed (detected and drivers loaded)

sudo sysctl -a | grep -i snd | grep -i default
will dump out the sysctls pull out the ones related to sound (snd) and then the ones with “default” in them. Look for one saying “default_unit”. That unit number should match up to what /dev/sndstat is tagging as default.
If they system thinks the default is analog headphones and you are listening on a USB audio device, you hear nothing.

The usb_audio kernel module may not be loaded by default.
sudo kldload usb_audio.ko