#650020 alsa-utils: alsa fails to recognize VIA8237 (AD1888) - no sound (ICE1712 - OK)

Package:
alsa-utils
Source:
alsa-utils
Description:
Utilities for configuring and using ALSA
Submitter:
Eduard Tibet
Date:
2011-11-26 14:51:03 UTC
Severity:
normal
#650020#5
Date:
2011-11-25 18:07:43 UTC
From:
To:
alsa-utils: alsa fails to recognize VIA8237 (AD1888) - no sound (ICE1712 - OK)

After upgrading to squeeze (to be honest it was clean install of 6.0) I have no
sound on AD1888 due to failure in recognition of my sound cards with "Unknown
hardware: ... Hardware is initialized using a guess method" message. I'm sure
that it is not hardware problem - I have deprecated Win XP installation so
there sound works. Moreover recently I bought ICE1712 sound card and it works
well on my Debian box. I digged into a web to find the solution but with now
success - there are bug reports with such messages ("Unknown hardware:") but no
one related exact to my problem (no sound & hardware OK). I've purged (--purge
remove) and installed alsa-utils several times - no success.

One strange thing is this message in dmesg log ("codec_read"):

[    6.018656] VIA 82xx Audio 0000:00:11.5: PCI INT C -> GSI 22 (level, low) ->
IRQ 22
[    6.020035] VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
[    6.534469] codec_read: codec 0 is not valid [0xfe0000]
[    6.541541] codec_read: codec 0 is not valid [0xfe0000]
[    6.548020] codec_read: codec 0 is not valid [0xfe0000]
[    6.554233] codec_read: codec 0 is not valid [0xfe0000]

Other info (Please note, that for testing purpose I take my ICE1712 out - there
are no related strings in dmesg and other log below):

== uname:
eduardtibet@tekomspb:~$ uname -a
Linux tekomspb 2.6.32-5-686 #1 SMP Thu Nov 3 04:23:54 UTC 2011 i686 GNU/Linux

= alsactl output:
eduardtibet@tekomspb:~$ sudo alsactl restore
Unknown hardware: "VIA8237" "Analog Devices AD1888" "AC97a:41445368" "0x1043"
"0x810d"
Hardware is initialized using a guess method

= cat /proc/asound/version
eduardtibet@tekomspb:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.

= cat /proc/asound/cards
eduardtibet@tekomspb:~$ cat /proc/asound/cards
 0 [V8237          ]: VIA8237 - VIA 8237
                      VIA 8237 with AD1888 at 0xe400, irq 22

= lsmod | grep snd
eduardtibet@tekomspb:~$ lsmod | grep snd
snd_via82xx            15256  1
gameport                6061  1 snd_via82xx
snd_ac97_codec         79200  1 snd_via82xx
ac97_bus                 710  1 snd_ac97_codec
snd_pcm_oss            28671  0
snd_mixer_oss          10461  1 snd_pcm_oss
snd_pcm                47226  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc          5045  2 snd_via82xx,snd_pcm
snd_mpu401_uart         4067  1 snd_via82xx
snd_seq_midi            3576  0
snd_rawmidi            12513  2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event      3684  1 snd_seq_midi
snd_seq                35463  2 snd_seq_midi,snd_seq_midi_event
snd_timer              12270  2 snd_pcm,snd_seq
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    34423  12
snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               3450  1 snd

= lspci -vv | grep -A 12 audio
eduardtibet@tekomspb:~$ sudo lspci -vv | grep -A 12 audio
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237
AC97 Audio Controller (rev 60)
        Subsystem: ASUSTeK Computer Inc. Asus P5VD1-X (AD1888 codec [SoundMax])
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin C routed to IRQ 22
        Region 0: I/O ports at e400 [size=256]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: VIA 82xx Audio

00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller
(rev 80)
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-

#650020#10
Date:
2011-11-26 09:06:42 UTC
From:
To:
* Eduard Tibet [111125 21:07 +0300]:

Either install a newer kernel or try to compile 1.0.23 drivers from
source (apt-get install alsa-source) using module-assistant.

We don't maintain such old installations.

Elimar

#650020#15
Date:
2011-11-26 15:47:28 UTC
From:
To:
Package: alsa-utils
Version: 1.0.23-3
Severity: normal
GNU/Linux

Do you mean the latest kernel, available at kernel.org (i.e. 2.6.38 or other
branch from kernel.org) or just newest upgraded kernel for debian 6.0.3 from
_debian_ repository - 2.6.32.39? If the second one - I have it already
installed (updated) before submitting the bug:

eduardtibet@tekomspb:~$ sudo dpkg -l linux-image-2.6.32-5-686
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version                   Description
+++-=========================-=========================-==================================================================
ii  linux-image-2.6.32-5-686  2.6.32-39                 Linux 2.6.32 for modern
PCs
using module-assistant.

done with m-a. no success.

eduardtibet@tekomspb:~$ sudo dpkg -l alsa-modules-2.6.32-5-686
....
+++-=========================-=========================-==================================================================
ii  alsa-modules-2.6.32-5-686 1.0.23+dfsg-2+2.6.32-39   ALSA modules for kernel
2.6.32-5-686

the error in dmesg log changed to:

[    6.355067] ALSA via82xx.c:589: codec_read: codec 0 is not valid [0xfe0000]
[    6.362131] ALSA via82xx.c:589: codec_read: codec 0 is not valid [0xfe0000]
[    6.369253] ALSA via82xx.c:589: codec_read: codec 0 is not valid [0xfe0000]
[    6.375613] ALSA via82xx.c:589: codec_read: codec 0 is not valid [0xfe0000]

Thanks.