ADI AD1980 / VIA VT8237 sound support?

From: Josh Elsasser <jre_at_vineyard.net>
Date: Mon, 8 Sep 2003 01:44:20 -0400
I just bought a new Asus A7V600 motherboard, which claims to have an
"ADI AD1980 SoundMAX 6-channel CODEC" and a VIA VT8237 southbridge.

Unfortunately, the sound does not seem to be supported.  That's what I
get for buying newly-released hardware I guess.

Here is the appropriate portion of pciconf -l -v:

none5_at_pci0:17:5:        class=0x040100 card=0x80b01043 chip=0x30591106 rev=0x60 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8233/33A AC97 Enhanced Audio Controller'
    class    = multimedia
    subclass = audio

I tried simply adding my chip revision to the probe routine in
dev/sound/pci/via8233.c (patch included below) with this result:

pcm0: <VIA VT8237> port 0xe000-0xe0ff irq 5 at device 17.5 on pci0
pcm0: <Analog Devices AD1980 AC97 Codec>

I was then able to play sound, but with an odd beeping noise.

If there's anyone out there who wants to try to get this working, I
will gratefully help in any way I can.

Thanks,

 -jre


--- via8233.c.orig      Tue Sep  2 13:30:37 2003
+++ via8233.c   Sun Sep  7 23:38:20 2003
_at__at_ -53,6 +53,7 _at__at_
 #define VIA8233_REV_ID_8233    0x30
 #define VIA8233_REV_ID_8233A   0x40
 #define VIA8233_REV_ID_8235    0x50
+#define VIA8233_REV_ID_8237    0x60
 
 #define SEGS_PER_CHAN  2                       /* Segments per channel */
 #define NDXSCHANS      4                       /* No of DXS channels */
_at__at_ -634,6 +635,9 _at__at_
                        return 0;
                case VIA8233_REV_ID_8235:
                        device_set_desc(dev, "VIA VT8235");
+                       return 0;
+               case VIA8233_REV_ID_8237:
+                       device_set_desc(dev, "VIA VT8237");
                        return 0;
                default:
                        device_set_desc(dev, "VIA VT8233X");    /* Unknown */
Received on Sun Sep 07 2003 - 20:44:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC