Sound on my current laptop has been dicey for a long time. But it was more of less working as recently as last night. This morning, no sound at all (no speakers working, no microphones working, no devices showed up in the Sound Settings). I did a purge/reinstall of alsa and pulseaudio. That got me back partial functionality sound so that the current situation is as follows:
With no devices (headphones/mics) plugged in the Sound Settings only list the dreaded "Dummy Output" and nothing is listed for input devices. If I plug headphones in using a usb adaptor or plug in a usb mic then those show up in Sound settings and sound mostly works in them (both left and right speaker output get sent to both speakers in the headphones, but other than that it seems to be working). Plugging in to the headphone jack gets me nothing.
I've looked at a lot of places such as
https://docs.google.com/document/d/1...ngc5SFLMI/edit
https://help.ubuntu.com/community/So...otingProcedure
https://wiki.archlinux.org/index.php...roubleshooting
and done all the usual things such as killing and restarting pulseaudio, killing and restarting alsa, etc. I've also tried some advice from the third link above to edit the /etc/pulse/default.pa to add lines to get it to manually find the sound card. That involves adding a line
Code:
load-module module-alsa-sink device=hw:0,0
That just makes pulseaudio fail to launch.
Here is some diagnostic info, using the very helpful command from the first link above:
Code:
echo "Sound cards recognized by the system:"; lspci -nn | grep --color=none '\[04[80][13]\]'; echo "Sound cards recognized by ALSA:"; lspci -nn | grep '\[04[80][13]\]' | while read line; do lspci -nnk | grep -A 3 '\[04[80][13]\]' | grep -e 'Kernel modules: ..*' -e '\[04[80][13]\]' | grep --color=none -F "$line"; done; echo "Sound cards recognized by ALSA, and activated:"; lspci -nn | grep '\[04[80][13]\]' | while read line; do lspci -nnk | grep -A 3 '\[04[80][13]\]' | grep -e 'Kernel drivers in use: ..*' -e '\[04[80][13]\]' | grep --color=none -F "$line"; doneSound cards recognized by the system:
00:1f.3 Audio device [0403]: Intel Corporation CM238 HD Audio Controller [8086:a171] (rev 31)
Sound cards recognized by ALSA:
00:1f.3 Audio device [0403]: Intel Corporation CM238 HD Audio Controller [8086:a171] (rev 31)
Sound cards recognized by ALSA, and activated:
00:1f.3 Audio device [0403]: Intel Corporation CM238 HD Audio Controller [8086:a171] (rev 31)
So, the system sees the sound card, ALSA sees the sound card and it claims it is activated. However, aplay -l says
Code:
aplay -l
aplay: device_list:268: no soundcards found...
which confuses me since I thought that was the list of what alsa could see. So it seem to disagree with the previous command's output. Clearly one of those commands doesn't do what I think it does. If I plug in my headphones using a usb adaptor then it shows up:
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Device [Plugable USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
hwinfo tells me the soundcard is not active
Code:
hwinfo --sound
20: PCI 1f.3: 0403 Audio device
[Created at pci.366]
Unique ID: nS1_.qYoboy2l6HD
SysFS ID: /devices/pci0000:00/0000:00:1f.3
SysFS BusID: 0000:00:1f.3
Hardware Class: sound
Model: "Intel Audio device"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0xa171
SubVendor: pci 0x1028 "Dell"
SubDevice: pci 0x07e1
Revision: 0x31
Memory Range: 0xdf328000-0xdf32bfff (rw,non-prefetchable)
Memory Range: 0xdf300000-0xdf30ffff (rw,non-prefetchable)
IRQ: 11 (no events)
Module Alias: "pci:v00008086d0000A171sv00001028sd000007E1bc04sc03i00"
Driver Info #0:
Driver Status: snd_hda_intel is not active
Driver Activation Cmd: "modprobe snd_hda_intel"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Trying modprobe fails to load snd_hda_intel
Code:
sudo modprobe -v snd_hda_intel
insmod /lib/modules/4.4.0-178-generic/updates/dkms/snd-hda-codec.ko
modprobe: ERROR: could not insert 'snd_hda_intel': Invalid argument
I speculate that this is the crux of the problem. Doing a search on this error message hasn't turned up anything that has worked. The only advice I've found is reinstalling alsa and pulseaudio (already done) and adding the ppa to the ubuntu-audio-dev/alsa-daily and updating, which I've also done. Neither of those have worked. I've tried a bunch of other things but this post is probably long enough already.
Next steps?
Edit: I should probably mention that I'm running Ubuntu 16.04.
Further update: Even with usb headphones where sound sort of works something is definitely strange. If I listen to music the vocals are very muted compared to everything else. If I fiddle with the left/right balance then they come back. But with the balance in the centre sound is definitely strange. Putting the balance all the way L or all the way R seems to make things sound more normal. Odd...
Bookmarks