Hi
I try this pacth and it works!!!
EXPLANATION HOW TO GET THE SOUND TO WORK ON ALSA 0.9
File: ./sound/pci/ac97/ac97_codec.c
Function: static int patch_ad1881(ac97_t * ac97)
Add this line right after the
init_MUTEX(&ac97->spec.ad18xx.mutex) call:
snd_ac97_write_cache(ac97, 0x72, 0x0010);
Fisrt I tryed kernel 2.4.18 without sucess I pacth
this in file ./alsa-kernel/pci/ac97/ac97_codec.c
and try install alsa-drive like normal use.
and give me errors like this:
Apr 22 18:55:32 localhost kernel: ALSA
../alsa-kernel/core/pcm_lib.c:120:
Unexpected hw_pointer value (stream = 0, delta: -604, max jitter
= 1024):
wrong interrupt acknowledge?
After this one tryed with kernel 2.5.8
width this two small pacths
linux-2.5.8/drivers/ide/Config.in
< if [ $CONFIG_BLK_DEV_IDE_TCQ_DEFAULT != "n" ]; then
---
> if [ "$CONFIG_BLK_DEV_IDE_TCQ_DEFAULT" != "n" ]; then
linux-2.5.8/init/main.c
265a266,268
> static void __init setup_per_cpu_areas(void)
> {
> }
and of course:
linux-2.5.8/sound/pci/ac97/ac97_codec.c
1898a1899
> snd_ac97_write_cache(ac97, 0x72, 0x0010);
and it works!!! (works very well).
The funny thing is that we still have this in /var/log/messages:
Apr 22 19:12:33 localhost kernel: PCI: Found IRQ 11 for device
00:07.5
Apr 22 19:12:33 localhost kernel: IRQ routing conflict for
00:07.5, have irq 5, want irq 11
Apr 22 19:12:33 localhost kernel: PCI: Sharing IRQ 11 with 00:0a.0
Apr 22 19:12:33 localhost kernel: PCI: Sharing IRQ 11 with 00:0b.0
Thank you very much
S�rgio M onteiro Basto
--------------------------------------------
Webmail da rede SAPO - http://webmail.sapo.pt/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user