No sound through laptop speakers, headphones work fine

I just upgraded to opensuse 11.1 with KDE 4.1.3. The gstreamer phonon backend provided no sound so I had to install the xine backend. However, now I am only getting sound from my headphones. When I don’t use headphones, the laptop internal speakers do not play sound at all. How do I fix this?

My alsa-info.sh output is here:http://www.alsa-project.org/db/?f=f142ce218eb05b87eea84d96de92621c3b20fdcd

“rpm -qa | grep alsa” returns:

alsa-utils-1.0.18-6.4
alsa-1.0.18-8.7
alsa-plugins-1.0.18-6.12
alsa-plugins-pulse-1.0.18-6.12
alsa-oss-1.0.17-1.37

“rpm -qa | grep pulse” returns:

pulseaudio-module-zeroconf-0.9.12-9.6
libpulsecore4-0.9.12-9.6
libpulse-browse0-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
pulseaudio-module-x11-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6
pulseaudio-module-lirc-0.9.12-9.6
libxine1-pulse-1.1.15-44.pm.2
libpulse0-0.9.12-9.6
pulseaudio-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-module-jack-0.9.12-9.6

“rpm -q libasound2” returns:

libasound2-1.0.18-8.7

“uname -a” returns:

Linux linux-b3g9 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux

“cat /etc/modprobe.d/sound” returns:

options snd slots=snd-hda-intel
# u1Nb.uI7Vp9nVK5B:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel

“cat /proc/interrupts” returns:

           CPU0       CPU1
  0:    1012455    1013994   IO-APIC-edge      timer
  1:       1618       1553   IO-APIC-edge      i8042
  8:          1          0   IO-APIC-edge      rtc0
  9:       1221       1118   IO-APIC-fasteoi   acpi
 12:         63         60   IO-APIC-edge      i8042
 16:       2359       2367   IO-APIC-fasteoi   uhci_hcd:usb1, uhci_hcd:usb6, ohci1394, jmb38x_ms:slot0, mmc0, nvidia
 18:          0          0   IO-APIC-fasteoi   uhci_hcd:usb7
 19:          1          0   IO-APIC-fasteoi   ehci_hcd:usb3, uhci_hcd:usb5
 20:      25437      25986   IO-APIC-fasteoi   uhci_hcd:usb4, ehci_hcd:usb8
 21:          0          0   IO-APIC-fasteoi   uhci_hcd:usb2
 22:      26997      25993   IO-APIC-fasteoi   HDA Intel
214:      17225      16538   PCI-MSI-edge      iwlagn
215:          0          0   PCI-MSI-edge      eth0
216:      23088      22325   PCI-MSI-edge      ahci
NMI:          0          0   Non-maskable interrupts
LOC:     523721     874701   Local timer interrupts
RES:     120229      95958   Rescheduling interrupts
CAL:        714        425   function call interrupts
TLB:        476        493   TLB shootdowns
TRM:          0          0   Thermal event interrupts
SPU:          0          0   Spurious interrupts
ERR:          0
MIS:          0

I hope this helps in solving my problem.

Open up kmix and check that front output isn’t muted. I have two outputs named “Front”, first is general volume, second is front laptop speakers volume which I have muted on purpose. Make sure you don’t have that Front slider down or muted. I also have extra entries for headphones and pcm.

They’re both unmuted and all the way up.

OK, thank, I note your PC has a " IDT 92HD71B7X ". Can you tell me, please, what model of laptop PC you are using?

I note from this thread Beta 5, no sound - openSUSE Forums that a user with an HP dv5 with the " IDT 92HD71B7X " got this running on their laptop by putting a custom model option in /etc/modprobe.d/sound file (setting model=hp-m4) and then setting enable_msi=1 .

Do its a possible an edit to your /etc/modprobe.d/sound file will solve this. The ALSA-Configuration.txt file provides this detail:


	STAC92HD71B*
	  ref		Reference board
	  dell-m4-1	Dell desktops
	  dell-m4-2	Dell desktops 

(where I see no reference to an hp-m4 model).

So its possible installing alsa-firmware, and then changing your /etc/modprobe.d/sound file to something like the following may work:

options snd slots=snd-hda-intel
# u1Nb.uI7Vp9nVK5B:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=dell-m4-1 

and restart your alsa with su -c ‘rcalsasound restart’ #enter root password when prompted then restart your mixer and test your sound. You could also try “dell-m4-2” instead of 'dell-m4-1".

If none of that works, you could also try replication the hp dv 5 users experience by changing the /etc/modprobe.d/sound file to:

options snd slots=snd-hda-intel
# u1Nb.uI7Vp9nVK5B:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=hp-m4 enable_msi=1 

Can you tell us more about your laptop make/manuf?

AHA! My laptop is a HP dv5 as well and the hp-m4 fix works very nicely! Thank you very much. You’re a sound guru as always, oldcpu.

It’s a shame how it doesn’t work out of the box though.

Great! Congratulations.

That is a very nice laptop. If my timing had been a bit different wrt the configuration of the HP DV5 laptop’s in stock in our local stores, I could have ended up with an HP DV5 laptop instead of the Dell Studio 15 that I have instead (although I do like my Dell Studio 15).

Yeah, its pretty powerful for the price. But the build quality isn’t exactly sturdy. I got one of those brightview infinity screens and the glue on the bottom corners are starting to give way. It’s not a big issue, but it is annoying. You can hear the glue straining whenever you open the lid.

No sound after update to openSuse 11.1
I have tried this hint - didn’t help for my HP Pavilion dv5-1030en

# cat /etc/modprobe.d/sound
options snd-hda-intel model=hp-m4 enable_msi=1
options snd slots=snd-hda-intel,snd-hda-intel
# 5Dex.DVex+nmP8+5:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel
# NXNs.HS4OKn_IlZ0:RV620 Audio device [Radeon HD 34xx Series]
alias snd-card-1 snd-hda-intel

dmesg:

ALSA sound/pci/hda/hda_codec.c:2334: hda_codec: model 'hp-m4' is selected
ALSA sound/pci/hda/hda_codec.c:3047: autoconfig: line_outs=1 (0xd/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3051:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3055:    hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3056:    mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3064:    inputs: mic=0xb, fmic=0x0, line=0xe, fline=0x0, cd=0x0, aux=0x0

Still no sound :confused:

Please start a new thread.

Alas, woe is me. I reinstalled opensuse 11.1 and now my sound doesn’t work even with the hp-m4 model option. The only thing I think has changed is the kernel and libxine-pulse. I am using kernel 2.6.27-19 instead of 2.6.27-9. This was an official kernel update I should add. My dmesg now reports

ALSA sound/pci/hda/hda_codec.c:2363: hda_codec: model 'hp-m4' is selected
ALSA sound/pci/hda/hda_codec.c:3136: autoconfig: line_outs=1 (0xd/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3140:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3144:    hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3145:    mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3153:    inputs: mic=0xb, fmic=0x0, line=0xe, fline=0x0, cd=0x0, aux=0x0
ALSA sound/pci/hda/hda_generic.c:678: hda_generic: no proper input path found
ALSA sound/pci/hda/hda_generic.c:426: hda_generic: no proper output path found
ALSA sound/pci/hda/hda_generic.c:1021: hda_generic: no PCM found
ALSA sound/pci/hda/hda_intel.c:622: hda_intel: azx_get_response timeout, switching to polling mode: last cmd=0x00ef0700

Please help.

My alsa-info is here: http://www.alsa-project.org/db/?f=8855c7d8723b3b1b441e0414c8da87a850a52a73

If you recall from the above threads (just scroll up) I noted to you that your PC has an IDT 92HD71B7X codec. If you search this forum for that IDT 92HD71B7X you will note that the official 2.6.27-19 kernel broke the sound on that hardware audio codec, and so the openSUSE / alsa developer released an update to alsa in a special repository to help users in that situation.

As a volunteer, I maintain a page here to help such openSUSE users whose sound is broken when there is an official kernel update: Alsa-update - openSUSE

If you need help working your way though the guidance in that page (you MUST send six zypper commands to fix your audio) let me know and I’ll give you the six commands. In that case, thou, since you re-installed, you will need to tell me what alsa rpms you now have installed. ie what is the output of: rpm -qa | grep alsa

Note In a few days I am going away on vacation, for just less than a week. I do not think I’ll have internet access while I am away on vacation.

O_O Wow, two birds with one stone. Not only does my speakers now work once again, but my mic problem is gone!

Thanks again, oldcpu.

Thanks really go to the openSUSE / alsa developer listed on this alsa team list (employed by Novell) who created the rpms with the fix : Alsa Team - AlsaProject

Congratulations on getting it sorted.

So what are those 6 zipper commands, please?

peterlowrie@vodafone.co.nz

28

I don’t know, but they definitely do not apply at all any more.

I hope you do realize this has been posted in 2009 for openSUSE 11.1… :open_mouth: