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...
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.
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...
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)
see comment #3
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.
Can you reproduce this problem with the alsa drivers included in the latest development kernel, currently 2.6.21-rc6?
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
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.
Bug submitted to upstream https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3037