Hi,

The attached patch is needed for the correct detection of VIA8233 
southbridges. Playback is still broken though (VIA8233, revision 0x30 in 
my case ), the card generates no interrupts and the playback buffer just 
gets filled up... Bellow is the (partial) output of my test application.

Rui Sousa

...

(SNDCTL_DSP_GETODELAY)
pending: 24512 ret: 0

(write)
count: 4096 ret: 1024

(SNDCTL_DSP_GETOPTR)
bytes: 64 blocks: 99 ptr: 64 ret: 0

(SNDCTL_DSP_GETOSPACE)
fragments: 0 fragstotal: 100 fragsize: 256 bytes: 64 ret: 0

(SNDCTL_DSP_GETODELAY)
pending: 25536 ret: 0

audio write: Input/output error
(write)
count: 4096 ret: -1

(SNDCTL_DSP_GETOPTR)
bytes: 64 blocks: 99 ptr: 64 ret: 0

(SNDCTL_DSP_GETOSPACE)
fragments: 0 fragstotal: 100 fragsize: 256 bytes: 64 ret: 0

(SNDCTL_DSP_GETODELAY)
pending: 25536 ret: 0

...
? via82xx.patch
? alsa-oss/confdefs.h
Index: alsa-kernel/pci/via82xx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v
retrieving revision 1.1
diff -u -r1.1 via82xx.c
--- alsa-kernel/pci/via82xx.c   4 Sep 2002 14:17:47 -0000       1.1
+++ alsa-kernel/pci/via82xx.c   8 Sep 2002 15:09:44 -0000
@@ -295,8 +295,8 @@
 };
 
 static struct pci_device_id snd_via82xx_ids[] __devinitdata = {
-       { 0x1106, 0x3058, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },   /* 686A */
-       { 0x1106, 0x3059, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },   /* VT8233 */
+       { 0x1106, 0x3058, PCI_ANY_ID, PCI_ANY_ID, 0, 0, TYPE_VIA686, }, /* 686A */
+       { 0x1106, 0x3059, PCI_ANY_ID, PCI_ANY_ID, 0, 0, TYPE_VIA8233, },        /* 
+VT8233 */
        { 0, }
 };
 

Reply via email to