On Jul 17, Takashi Iwai wrote: > - unload alsa module, load oss, check the performance Ok, works as before.
> - unload oss, and reload the alsa again. It didn't want to do it for quite a while - I eventually got to repeat it... There are a lot of artifacts in the sound that are not there when oss is active - may leave that for another day... The attached patch I got from Jaroslav some time ago when he was trying to chase the same bug - it was still applied. The other diff is the differences in the ymfpci output. The lspci output is identical over before (alsa), oss, after (alsa) - not supplied. I still have all the original files if required. tom.
--- alsa-driver-0.9.4/alsa-kernel/pci/ymfpci/ymfpci.c.org Tue May 6 00:14:59 2003 +++ alsa-driver-0.9.4/alsa-kernel/pci/ymfpci/ymfpci.c Fri Jun 13 09:42:37 2003 @@ -245,6 +245,8 @@ } pci_set_drvdata(pci, chip); dev++; + legacy_ctrl = 0x907f; + pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); return 0; }
--- before-ymfpci Fri Jul 18 13:12:11 2003 +++ after-ymfpci Fri Jul 18 13:57:47 2003 @@ -24,7 +24,7 @@ 0054: ff00ff 0058: 555500ff 005c: 0000 -0060: 208000 +0060: 1c8000 0064: 26800f 0068: 80000000 006c: 0000 @@ -32,16 +32,16 @@ 0074: 0000 0078: 0000 007c: 0000 -0080: 31e731e7 -0084: 31e731e7 -0088: 31e731e7 +0080: 3fff3fff +0084: 3fff3fff +0088: 3fff3fff 008c: 0000 0090: 0000 0094: 0000 -0098: 31e731e7 +0098: 0000 009c: 0000 00a0: 0000 -00a4: 0000 +00a4: 3fff3fff 00a8: 3fff3fff 00ac: 3fff3fff 00b0: 0000 @@ -65,7 +65,7 @@ 00f8: 0000 00fc: 0000 0100: 0000 -0104: 0001 +0104: 0000 0108: 0000 010c: 0000 0110: 0000 @@ -86,7 +86,7 @@ 014c: 0100 0150: 0000 0154: 0018 -0158: 4808000 -015c: 480be00 -0160: 480bf00 -0164: 480c000 +0158: 3ac8000 +015c: 3acbe00 +0160: 3acbf00 +0164: 3acc000