Bug 326914

Summary: Can't enable sound on loudspeaker on Intel HDA
Product: [openSUSE] openSUSE 10.3 Reporter: Danny Al-Gaaf <dalgaaf>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: michael.pohlen
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 310609    
Attachments: errormessages with package from multimedia:audio
messages from local rpmbuild
output of cat /proc/asound/card0/codec#0

Description Danny Al-Gaaf 2007-09-20 18:50:16 UTC
This is a RC1 on a Dell XPS M1330 with a Intel HDA. I can play sound perfectly via the both headphone ports, but not via the loudspeakers. There is no way to enable them via kmix or alsamixer.

he67:~ # hwinfo --sound
14: PCI 1b.0: 0403 Audio device
  [Created at pci.301]
  UDI: /org/freedesktop/Hal/devices/pci_8086_284b
  Unique ID: u1Nb.vD9VbU_X1r7
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Dell 82801H (ICH8 Family) HD Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x284b "82801H (ICH8 Family) HD Audio Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0209
  Revision: 0x02
  Driver: "HDA Intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfe9fc000-0xfe9fffff (rw,non-prefetchable)
  IRQ: 21 (13067 events)
  Module Alias: "pci:v00008086d0000284Bsv00001028sd00000209bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
Comment 1 Takashi Iwai 2007-09-21 16:53:30 UTC
This laptop model isn't supported on openSUSE 10.3 kernel nor 2.6.23. 
Possibly the latest ALSA driver might work, but likely with a proper model option.

Try alsa-driver-kmp package on openSUSE BS multimedia:audio repo.  Check the codec chip from /proc/asound/card0/codec#*, and see the available model option values for the corresponding codec in $DOC/alsa-driver-kmp/ALSA-Configuration.txt (included in alsa-driver-kmp-doc sub-package).  Add "model=xxx" to /etc/modprobe.d/sound and reload the module.

When you change the model, you might need to unmute the mixer again manually (of run "set_default_volume -f").
Comment 2 Takashi Iwai 2007-09-25 00:17:04 UTC
*** Bug 326684 has been marked as a duplicate of this bug. ***
Comment 3 Danny Al-Gaaf 2007-09-27 14:26:55 UTC
Created attachment 175209 [details]
errormessages  with package from multimedia:audio
Comment 4 Danny Al-Gaaf 2007-09-27 14:28:55 UTC
Created attachment 175210 [details]
messages from local rpmbuild 

This are the error messages from a local rpmbuild with source from openSUSE BS multimedia:audio repo (factory). No soundcard in /proc/asound/cards
Comment 5 Danny Al-Gaaf 2007-09-27 14:32:52 UTC
(In reply to comment #1 from Takashi Iwai)
> Try alsa-driver-kmp package on openSUSE BS multimedia:audio repo.  Check the
> codec chip from /proc/asound/card0/codec#*, and see the available model option
> values for the corresponding codec in
> $DOC/alsa-driver-kmp/ALSA-Configuration.txt (included in alsa-driver-kmp-doc
> sub-package).  Add "model=xxx" to /etc/modprobe.d/sound and reload the module.

I tried the package (see logs attached above) but there is no soundcard listed in /proc/asound/cards
Comment 6 Takashi Iwai 2007-10-12 10:58:02 UTC
Hm, did you reboot the machine after installation of alsa-driver-kmp, or did rcalsasound restart?  "rcalsasound restart" won't work because snd-page-alloc module still remains after stop.  You'll need to unload the module manually after rcalsasound stop.
Comment 7 Danny Al-Gaaf 2007-12-07 14:57:20 UTC
I tried 10.3 with factory kernel (2.6.24-rc2-git6) and I can activate now the loudspeakers.
Comment 8 Danny Al-Gaaf 2007-12-07 15:44:24 UTC
Unfortunately now the loudspeakers work, but only one of the two headphone ports.
Comment 9 Danny Al-Gaaf 2008-01-14 16:48:55 UTC
and unfortunately I have to call rcalsasound restart after suspend2disk.
Comment 10 Danny Al-Gaaf 2008-01-14 16:52:41 UTC
Created attachment 190446 [details]
output of cat /proc/asound/card0/codec#0
Comment 11 Takashi Iwai 2008-01-31 14:59:09 UTC
Try alsa-driver-kmp on multimedia:audio repo again.  Several bugs have been fixed since you tried at last time.
Comment 12 Christoph Thiel 2008-04-25 12:45:33 UTC
Danny, *ping* :)
Comment 13 Danny Al-Gaaf 2008-04-25 15:08:19 UTC
I can disable/enable the loudspeaker now with openSUSE 11.0B1, but there are some problems:

- the loudspeaker mixer is named Surround (and is marked with a 3D logo in kmix), that looks strange to me, I wouldn't expect the loudspeaker under this control
- I can change the volume only for one (via the 'Front' mixer/control) of the two headphone jacks
Comment 14 Takashi Iwai 2008-04-25 15:18:54 UTC
Try KOTD (20080424 or later).  The fix is included after beta1.
Comment 15 Danny Al-Gaaf 2008-07-27 13:14:26 UTC
AFAIK it works now with 11.0. If there is a problem left, I reopen the bug.