[ALSA - driver 0001622]: ASUS A8V-MX onboard sound does not work

bugtrack
2006-03-01T23:21:02Z

Last Modified: 03-02-2006 00:21 CET
======================================================================
Summary: ASUS A8V-MX onboard sound does not work
Description:
Onboard sound plays for a second, then freezes on Asus A8V-MX mainboard.
Here is sound output from lspci:

matt@duster:~$ lspci | grep Multimedia
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 70)

Here is alsa version (version that came with Ubuntu 5.10):

||/ Name Version Description
+++-==============-==============-============================================
ii alsa-base 1.0.9b-4 ALSA driver configuration files

Here are the sound modules:

root@duster:/home/matt# lsmod | grep snd
snd_seq_dummy 4484 0
snd_seq_oss 32128 0
snd_seq_midi 9920 0
snd_seq_midi_event 8064 2 snd_seq_oss,snd_seq_midi
snd_seq 52032 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_via82xx 29472 1
gameport 16392 1 snd_via82xx
snd_ac97_codec 87000 1 snd_via82xx
snd_pcm_oss 51232 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 91020 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer 24200 2 snd_seq,snd_pcm
snd_page_alloc 11408 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7936 1 snd_via82xx
snd_rawmidi 27040 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 9488 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd 55784 13
snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu40
1_uart,snd_rawmidi,snd_seq_device
soundcore 10912 1 snd

Asus lists the audio chip as "Realtek ALC653", alsamixer shows "Realtek
ALC655 rev 1".
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0001557 Sounds play only for a very short time ...
======================================================================

----------------------------------------------------------------------
adaviel - 02-28-06 00:35
----------------------------------------------------------------------
Just spoke to Kevin at ASUS, who says that the sound chip is actually
Realtek ALC653, and that there's a driver at realtek.com
Seems to be a patched copy of alsa-driver-1.0.9b_26. In fact, ASUS shipped
an earlier version (alsa-driver-1.0.9b_2) on CD with
the motherboard, which as I recall would not compile readily for me. I
will try again ... stock FC4 kernel did not do DMA to IDE drive, so I got
a later kernel with alsa-driver-1.0.11

ac97_codec.c
117a116,119
> //pshou 05/06/05
> { 0x414c4761, 0xfffffff0, "ALC653", patch_alc655, NULL },

So, one question is, why is this patch not propagating back to
alsa-driver-1.0.10 or alsa-driver-1.0.11 ?

(at this point I don't know for sure whether this will fix my problem, but
it's worth a try...)

----------------------------------------------------------------------
adaviel - 03-02-06 00:21
----------------------------------------------------------------------
Obtained patched ALSA 1.0.9b_26 from Realtek.com.tw.
Won't build on Fedora 2.6.15 kernel (which uses ALSA 1.0.10).
Tried porting ASUS patches to 2.6.15 kernel; no change.
Built a FC4 2.6.11 kernel then tried building stock Realtek
package. Package builds and installs, but problem remains.

Sound files longer than the buffer length (65536) hang.
With some debugging enabled, I see in syslog:
ALSA sound/pci/via82xx.c:794: zero position is read
and
ALSA sound/core/pcm_native.c:1460: playback drain error (DMA or IRQ
trouble?)
When the module is installed, I see
ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 5 (level, low)
-> IRQ5

Issue History
Date Modified Username Field Change
======================================================================
12-05-05 18:59 m_yates New Issue
12-05-05 18:59 m_yates Distribution => Ubuntu 5.10
12-05-05 18:59 m_yates Kernel Version => 2.6.12 (also
reproduced using 2.6.15-rc2)
12-06-05 15:53 tiwai Note Added: 0006926
12-06-05 18:21 m_yates Note Added: 0006931
12-06-05 20:16 m_yates Note Added: 0006937
12-07-05 01:09 Dakkus Issue Monitored: Dakkus
12-07-05 11:24 perex Relationship added has duplicate 0001557
12-07-05 16:16 thijser Issue Monitored: thijser
01-02-06 23:53 AlexCline Issue Monitored: AlexCline
01-03-06 20:41 AlexCline Note Added: 0007406
01-29-06 02:14 adaviel Note Added: 0007830
01-29-06 02:15 adaviel Issue Monitored: adaviel
01-30-06 19:36 millallo Issue Monitored: millallo
02-10-06 14:07 Tuba File Added: mplayer8251.strace
02-10-06 14:09 Tuba Note Added: 0008004
02-10-06 14:09 Tuba Issue Monitored: Tuba
02-13-06 23:39 gobo Issue Monitored: gobo
02-13-06 23:56 gobo Note Added: 0008065
02-28-06 00:35 adaviel Note Added: 0008234
03-02-06 00:21 adaviel Note Added: 0008288
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!