Bug 412528 - ICH 8 intel HDA sound does not work.
ICH 8 intel HDA sound does not work.
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE 11.0
Classification: openSUSE
Component: Sound
Final
x86-64 openSUSE 11.0
: P5 - None : Major (vote)
: ---
Assigned To: Takashi Iwai
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-28 00:03 UTC by rens groenewegen
Modified: 2008-11-06 07:43 UTC (History)
1 user (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
test results probe_mask 2,4 and 8(8 = none) (64.61 KB, application/x-gzip)
2008-08-08 18:54 UTC, rens groenewegen
Details
alsa-info.txt as requested (27.12 KB, text/plain)
2008-09-28 01:50 UTC, rens groenewegen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rens groenewegen 2008-07-28 00:03:04 UTC
the sound chip is recognized.
however, cannot be configured from yast

alsa-driver-kmp-default-1.0.16.20080721_2.6.25.9_0.2-1.1

lspci:
lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
===================>>>
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
<<<<<<<<<<<===================
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation Device 042e (rev a1)
02:00.0 Mass storage controller: Silicon Image, Inc. Sil 3531 [SATALink/SATARaid] Serial ATA Controller (rev 01)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)
0a:00.0 Network controller: RaLink Device 0781

dmesg:
ACPI: PCI interrupt for device 0000:00:1b.0 disabled
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1b.0 to 64
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3030: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0)
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3034:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3038:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3039:    mono: mono_out=0x0
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3047:    inputs: mic=0x18, fmic=0x0, line=0x1a, fline=0x0, cd=0x0, aux=0x0
hda_codec: Unknown model for ALC268, trying auto-probe from BIOS...
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3030: autoconfig: line_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3034:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3038:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3039:    mono: mono_out=0x0
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3047:    inputs: mic=0x0, fmic=0x0, line=0x0, fline=0x0, cd=0x0, aux=0x0
hda_codec: Cannot set up configuration from BIOS.  Using base mode...
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1711: SPDIF already defined
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Front Playback Volume:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Front Playback Switch:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Headphone Playback Switch:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Mic Boost:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Capture Volume:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Capture Switch:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Input Source:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:IEC958 Default PCM Playback Switch:0 is already present
ACPI: PCI interrupt for device 0000:00:1b.0 disabled
HDA Intel: probe of 0000:00:1b.0 failed with error -16

if a usable model ( 10.3 works perfectly with "acer", with "lenovo-101e" even the headphone switch works..... )
is selected, yast does not complain, but no actual configuration takes place.....

if configuring manual (vi /etc/modprobe.d/sound)

>cat /etc/modprobe.d/sound
options snd-hda-intel enable=1 index=0 model=acer
# options snd slots=snd-hda-intel
# u1Nb.R7+6gEXh9fB:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel


the driver is succesfully modprobed, kmix can be started and shows a mixer windows with working pcm, volume controls etcetera

however: still no sound.


dmesg:
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1b.0 to 64
usbcore: registered new interface driver ndiswrapper
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:2334: hda_codec: model 'acer' is selected
ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:2334: hda_codec: model 'acer' is selected
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Master Playback Volume:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Master Playback Switch:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Mic Boost:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Capture Volume:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Capture Switch:0 is already present
ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Input Source:0 is already present
Comment 1 Stephan Binner 2008-07-28 08:57:02 UTC
No Blocker according to http://en.opensuse.org/Bugs/Definitions
Comment 2 Takashi Iwai 2008-07-28 14:07:06 UTC
It seems that your machine has two codecs and they conflict with each other.

Remove model option and add probe_mask=1.  If it doesn't work, try probe_mask=2 or probe_mask=8.  By the probe_mask option, the driver will choose only one codec.
Comment 3 rens groenewegen 2008-08-04 03:22:31 UTC
probe_mask=1 works.
it activates alc883. shows up as HDA intel.

values 2,4,8 do not work, although mixer loads and shows controls etcetera shows as ALC268
something wrong with alc268 code, i guess.

i'll do some more probing and return with results
Comment 4 rens groenewegen 2008-08-08 18:52:24 UTC
did some systematic sorting out:

I tested probe_mask 2,4,8.
2 and 4 produce and kmix shows a working mixer.

however, there is no sound.

8 does not produce any soundcard configured.

please see attached tar file with aplay -lL output and screenshots
from the filenames you can see which scenario was tested ( probe_mask 2,4 and 8)

regards Rens
Comment 5 rens groenewegen 2008-08-08 18:54:37 UTC
Created attachment 232510 [details]
test results probe_mask 2,4 and 8(8 = none)
Comment 6 Takashi Iwai 2008-08-13 13:06:33 UTC
I can add the default value of probe_mask for the future version so that it works without extra adjustment.  But, before that, I need to know whether ALC268 really doesn't do anything.

Do you have any missing feature that could be on ALC268?

Also, please run alsa-info.sh script with --no-upload option, and attach the generated file to here.  The script is found in either /usr/share/doc/packages/alsa or /usr/sbin directory.
Comment 7 rens groenewegen 2008-08-23 01:49:59 UTC
(In reply to comment #6 from Takashi Iwai)
> I can add the default value of probe_mask for the future version so that it
> works without extra adjustment.  But, before that, I need to know whether
> ALC268 really doesn't do anything.
> 
> Do you have any missing feature that could be on ALC268?
> 
> Also, please run alsa-info.sh script with --no-upload option, and attach the
> generated file to here.  The script is found in either
> /usr/share/doc/packages/alsa or /usr/sbin directory.
> 

it does nothing at all.

there's one piece of hardware that i havent got working in any case:
there's a builtin microphone next to the webcam.

i dont know if it's part of the usb webcam, or part of the sound chip

i'll try load usb audio, sometime this week.
Comment 8 rens groenewegen 2008-09-13 00:39:44 UTC
come to think of it, there's also a winmodem.. known not to work.
Comment 9 rens groenewegen 2008-09-28 01:49:19 UTC
tried snd-usb-audio.
loads, but no devices recognized.

attached alsa-info.txt

Comment 10 rens groenewegen 2008-09-28 01:50:35 UTC
Created attachment 242112 [details]
alsa-info.txt as requested
Comment 11 Takashi Iwai 2008-09-29 14:50:44 UTC
Thanks.  Which hardware model (i.e. vendor and product names)?
I need it for the quirk list.
Comment 12 rens groenewegen 2008-09-30 21:36:01 UTC
by the way, in order to make the headphone jack switch off the external speakers, I had to specify this model in /etc/modprobe.d/sound:

options snd-hda-intel enable=1 index=0 probe_mask=1 model=lenovo-ms7195-dig

 
HW model of laptop:
sticker on the back says:
medion MD96630
model wim 2180 notebook PC

# hwinfo --sound
26: PCI 1b.0: 0403 Audio device
  [Created at pci.310]
  UDI: /org/freedesktop/Hal/devices/pci_8086_284b
  Unique ID: u1Nb.R7+6gEXh9fB
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Intel 82801H (ICH8 Family) HD Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x284b "82801H (ICH8 Family) HD Audio Controller"
  SubVendor: pci 0x17c0 "Wistron Corp."
  SubDevice: pci 0x4085
  Revision: 0x03
  Driver: "HDA Intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfa200000-0xfa203fff (rw,non-prefetchable)
  IRQ: 22 (747 events)
  Module Alias: "pci:v00008086d0000284Bsv000017C0sd00004085bc04sc03i00"
  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 13 Takashi Iwai 2008-10-31 07:33:14 UTC
What about model=medion-md2 ?  This looks more similar.
Comment 14 rens groenewegen 2008-11-05 00:59:12 UTC
medion-md2 :

headphone jack speaker switch off is ignored
microphone does not work
microphone-boost not detected

all these functions work with lenovo-ms7195-dig

regards rens
Comment 15 Takashi Iwai 2008-11-06 07:43:51 UTC
Thanks for checking.

The fix patch is now on the upstream tree.
And alsa-driver-kmp should work without option.

So, let's close this now.