Page 1 of 1

[solved] No sound through laptop speakers

Posted: Fri Oct 02, 2015 7:38 pm
by ivanovnegro
I caught a strange problems. I played with some kernels and from nowhere I lost sound through my laptop speakers. I only get sound through headphones or external speakers. Alsamixer shows everything normal, nothing muted.
It could be the kernel change but even when I get back to a previous one, the sound is not coming back. Now it does not matter which kernel.

Of course, no Pulse here:

Code: Select all

aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Intel [HDA Intel], Gerät 0: AD1984A Analog [AD1984A Analog]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0
Karte 0: Intel [HDA Intel], Gerät 2: AD1984A Alt Analog [AD1984A Alt Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

Code: Select all

lspci -nnk 
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: uhci_hcd
00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: uhci_hcd
00:1a.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: uhci_hcd
00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:3614]
	Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
	Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
	Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 03)
	Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 03)
	Kernel driver in use: pcieport
00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 03)
	Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] [8086:2929] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: ahci
02:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]
	Subsystem: Intel Corporation WiFi Link 5100 AGN [8086:1211]
	Kernel driver in use: iwlwifi
85:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8042 PCI-E Fast Ethernet Controller [11ab:4357]
	Subsystem: Hewlett-Packard Company Device [103c:30e8]
	Kernel driver in use: sky2
After booting normally the machine does a crack sound and I know the sound card was activated, that does not happen anymore.

Re: No sound through laptop speakers

Posted: Fri Oct 02, 2015 7:43 pm
by pidsley
Do you get sound with another spin (even a live spin run from USB)? If you do, take a look at /etc/modprobe.d/alsa-base.conf and see if there is any difference between the version that works and the one that does not.

Also, do you have a ~/.asoundrc file?

Re: No sound through laptop speakers

Posted: Fri Oct 02, 2015 9:37 pm
by ivanovnegro
On this machine I cannot test another spin. It does not boot from USB and there is also no CD drive. It is the old rig running Debian sid as usual.
No, no .asoundrc file here.

I have no /etc/modprobe.d/alsa-base.conf. Is that normal?

Re: No sound through laptop speakers

Posted: Fri Oct 02, 2015 10:41 pm
by pidsley
Sorry, I don't really have anything useful then. Every time I have had a sound problem like this it was because something was configured incorrectly in alsa-base.conf (like this one.) Sound is pretty much a mystery to me, so I just mess with stuff until it starts working again.

Re: No sound through laptop speakers

Posted: Fri Oct 02, 2015 11:38 pm
by ivanovnegro
pidsley wrote:...so I just mess with stuff until it starts working again.
Did just that. Reloaded the alsa modules. Fuck. I do not even remember what was the actual fix. I was too busy reading the Arch Wiki to solve sound issues.
Sound works perfectly through speakers.

I let the thread open till tomorrow.

Re: No sound through laptop speakers

Posted: Sat Oct 03, 2015 4:55 am
by machinebacon
how about

Code: Select all

grep pcspkr /etc/modprobe*/*
there should be one or more blacklist.conf file, one may contain the line

Code: Select all

blacklist pcspkr
Remove it and reboot.

I had exactly the opposite problem: Toshiba Dynabook SS1 defaults to *use* PC speakers even they are blacklisted, I had to use alsamixer to mute the speakers (the beep is rather disturbing in public places)

Re: No sound through laptop speakers

Posted: Sun Oct 04, 2015 1:34 pm
by ivanovnegro
It is OK, sound works normally and I have the cracking sound at boot again.

/Solved