From owner-freebsd-stable Sat Sep 16 8:57:39 2000 Delivered-To: freebsd-stable@freebsd.org Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (Postfix) with ESMTP id BE37337B422 for ; Sat, 16 Sep 2000 08:57:18 -0700 (PDT) Received: from guppy.dons.net.au (guppy.dons.net.au [203.31.81.9]) by midget.dons.net.au (8.9.3/8.9.3) with ESMTP id BAA33746; Sun, 17 Sep 2000 01:27:00 +0930 (CST) (envelope-from darius@guppy.dons.net.au) Received: (from darius@localhost) by guppy.dons.net.au (8.11.0/8.11.0) id e8GFuXK09549; Sun, 17 Sep 2000 01:26:33 +0930 (CST) (envelope-from darius) Message-Id: <200009161556.e8GFuXK09549@guppy.dons.net.au> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <39C38132.378A8FB6@lasting.ro> Date: Sun, 17 Sep 2000 01:26:33 +0930 (CST) From: "Daniel J. O'Connor" To: "Cristian N. Bradiceanu" Subject: RE: VIA 82C686 AC97 Audio Cc: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 16-Sep-00 Cristian N. Bradiceanu wrote: > chip2: port > 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 10 at device 7.5 on pci0 > > about the on-board sound system. Is there a driver for this sound card? > > I've tried with no luck so far to enable legacy sound support from BIOS, > all I've got was: Nathan Ahlstrom told me how to get it running.. Basically copy the files /usr/src/sys/dev/sound/pci/via82c686.[ch] from a -current box to your -stable box (you can get them from cvsweb) and then edit /usr/src/sys/config/files and after the line which mentions 't4dwave.c' add this -> dev/sound/pci/via82c686.c optional pcm pci You will get an error when you compile saying that some functions are missing (pcm_unregister and ac97_destroy I think) - go through via82c686.c and remove the ref's to it :) It doesn't register a mixer, and if you try and record and playback at the same time your machine will page fault, but it does work :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message