From owner-freebsd-current@FreeBSD.ORG Sun Sep 7 22:44:50 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35C3F16A4BF for ; Sun, 7 Sep 2003 22:44:50 -0700 (PDT) Received: from vineyard.net (k1.vineyard.net [204.17.195.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61F2A43FAF for ; Sun, 7 Sep 2003 22:44:47 -0700 (PDT) (envelope-from joshe@jade.elsasser.org) Received: from localhost (loopback [127.0.0.1]) by vineyard.net (Postfix) with ESMTP id 1678A91E9C for ; Mon, 8 Sep 2003 01:44:22 -0400 (EDT) Received: from vineyard.net ([127.0.0.1]) by localhost (king1.vineyard.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80121-02 for ; Mon, 8 Sep 2003 01:44:21 -0400 (EDT) Received: from jade.elsasser.org (loopback [127.0.0.1]) by vineyard.net (Postfix) with ESMTP id 87FC591E4F for ; Mon, 8 Sep 2003 01:44:21 -0400 (EDT) Received: by jade.elsasser.org (Postfix, from userid 1000) id B44691D3; Mon, 8 Sep 2003 01:44:20 -0400 (EDT) Date: Mon, 8 Sep 2003 01:44:20 -0400 From: Josh Elsasser To: freebsd-current@freebsd.org Message-ID: <20030908054420.GC1672@jade.elsasser.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-PGP-Key-URL: http://www.elsasser.org/pubkey.asc X-PGP-Key-Fingerprint: 8F39 9F2B 3738 54D9 3E40 4604 CFD5 EA3F B833 FD50 X-Virus-Scanned: by AMaViS at Vineyard.NET Subject: ADI AD1980 / VIA VT8237 sound support? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 05:44:50 -0000 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@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: port 0xe000-0xe0ff irq 5 at device 17.5 on pci0 pcm0: 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 @@ -53,6 +53,7 @@ #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 */ @@ -634,6 +635,9 @@ 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 */