Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160429 - ICH6-based sound card not working, but detected by alsaconf and alsamixer
Summary: ICH6-based sound card not working, but detected by alsaconf and alsamixer
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugtrack.alsa-project.org/als...
Whiteboard: watch-linux-bugzilla
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-06 12:30 UTC by Mark Karpeles
Modified: 2011-06-28 09:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Karpeles 2007-01-06 12:30:22 UTC
alsaconf detects an ICH6-based sound card, but once the card is configured, it can't be used to output audio. Using /dev/dsp will issue an error (cat: write error: Invalid argument), and alsa too :

alsa-lib: pcm_direct.c:867:(snd_pcm_direct_initialize_slave) snd_pcm_hw_params_any failed
alsa-lib: pcm_dmix.c:876:(snd_pcm_dmix_open) unable to initialize slave
alsa-init: playback open error: Invalid argument

Also check "Additional information" where the relevant part of dmesg is shown.

Reproducible: Always

Steps to Reproduce:
Seems specific to this hardware configuration. The computer is a custom laptop built by some company. I got it as second hand (but have original invoice, however the details about audio system shown are just: "Audio - C3D full duplex with 8 channels, Intel® Azalia compatible - Supports SRS WOW".

LSPCI :
Ringo ~ # lspci -s 00:1b 
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Ringo ~ # lspci -s 00:1b -n
00:1b.0 0403: 8086:2668 (rev 03)
Actual Results:  
No audio at all, and audio application exits with an alsa or an oss error

Expected Results:  
To hear something ?

[ 1195.628416] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 17 (level, low) -> IRQ 20
[ 1195.628441] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 1196.148113] hda_codec: Unknown model for ALC880, trying auto-probe from BIOS...
[ 1196.277906] hda_codec: Cannot set up configuration from BIOS.  Using 3-stack mode...
[ 1197.715650] hda_intel: azx_get_response timeout, switching to polling mode...
[ 1198.724073] hda_intel: azx_get_response timeout, switching to single_cmd mode...
Comment 1 Mark Karpeles 2007-01-06 12:57:47 UTC
Some more informations...

The informations about the subdevice in alc880_cfg_tbl are missing for this card.

Ringo hda # lspci -s 00:1b -n -v 
00:1b.0 0403: 8086:2668 (rev 03)
        Subsystem: 1558:0900
[...]

Only subsystems with 0x1558 are (in alsa-drivers) :
        SND_PCI_QUIRK(0x1558, 0x0520, "Clevo m520G", ALC880_CLEVO),
        SND_PCI_QUIRK(0x1558, 0x0660, "Clevo m655n", ALC880_CLEVO),
        SND_PCI_QUIRK(0x1558, 0x5401, "ASUS", ALC880_ASUS_DIG2),

No entry found with 0x0900... I already tried to add one with ALC880_CLEVO, without result. I'll try adding one with ALC_ASUS_DIG2 and see if I get better result.
Comment 2 Mark Karpeles 2007-01-06 14:05:54 UTC
Ok, after various attempts to get this working, and some searches, I found :

* 1558:0900 is supposed to be for Clevo/Kapok Computers.
* In alsa-driver sourcecode, ALC880_CLEVO and ALC880_3ST looks alike, but are not exactly the same... however I couldn't manage to init the audio card with either

I tried almost all available ALC880_* values, but nothing worked. I'll try to get more info by dumping data exchanged between driver & card on win32, and try to guess the right changes...
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-01-26 14:26:50 UTC
Does your BIOS include an option for an AC97 modem or similar? If so, toggle it (disable it if it was enabled, or enable it if it was disabled)
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-02-24 18:42:47 UTC
see comment #3
Comment 5 Mark Karpeles 2007-02-25 07:22:31 UTC
It is true that the laptop computer has a RJ11 phone connector, however no "AC97 Modem" option is available in the bios. In fact, the BIOS has a very few advanced options, and nothing related to the audio adapter.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2007-04-07 15:16:09 UTC
Can you reproduce this problem with the alsa drivers included in the latest development kernel, currently 2.6.21-rc6?
Comment 7 Mark Karpeles 2007-04-09 16:04:29 UTC
I have emerged/built kernel 2.6.21_rc6 (had a little trouble because the ebuild file had only ~ppc as keywords).

Once I've installed the new kernel I restarted on this new kernel, and ran alsaconf.

Problem is still present.

[AO_ALSA] alsa-lib: pcm_direct.c:867:(snd_pcm_direct_initialize_slave) snd_pcm_hw_params_any failed
[AO_ALSA] alsa-lib: pcm_dmix.c:876:(snd_pcm_dmix_open) unable to initialize slave

New system uname :

Linux (hostname) 2.6.21-rc6-tux #1 SMP PREEMPT Mon Apr 9 16:50:21 CEST 2007 i686 Intel(R) Pentium(R) 4 CPU 3.60GHz GenuineIntel GNU/Linux
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2007-04-25 15:28:45 UTC
Thanks for testing. Please file this bug upstream at https://bugtrack.alsa-project.org/alsa-bug

File it as a bug in the hda_intel driver. Attach full dmesg output there, as well as the output of "lspci -vvvxxx 00:1b"

Please post the new bug URL here when done.
Comment 9 Mark Karpeles 2007-04-27 13:28:20 UTC
Bug submitted to upstream

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3037