From owner-freebsd-questions Wed Jun 2 13:11:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id 2ECB914BE1 for ; Wed, 2 Jun 1999 13:11:29 -0700 (PDT) (envelope-from naddy@mips.rhein-neckar.de) Received: from mips.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id WAA27026 for freebsd-questions@freebsd.org; Wed, 2 Jun 1999 22:11:29 +0200 (CEST) (envelope-from naddy@mips.rhein-neckar.de) Received: by mips.rhein-neckar.de id m10pFYM-000WyfC (Debian Smail-3.2.0.101 1997-Dec-17 #2); Wed, 2 Jun 1999 20:15:50 +0200 (CEST) From: naddy@mips.rhein-neckar.de (Christian Weisgerber) Subject: Re: Sound card? Date: 2 Jun 1999 20:15:47 +0200 Message-ID: <7j3scj$9l0$1@mips.rhein-neckar.de> References: <7iujne$jh2$1@mips.rhein-neckar.de> <19990531181047.A29013@winternet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nathan Ahlstrom wrote: > The Soundblast PCI 128 works for me. See sys/pci/es1370.c > I don't use it too often though. I got a cheap "Soundblaster PCI 64V", which is an ES1370 card. Now, how do I use it? From sys/pci/es1370.c it isn't clear to me what device I need to add to the kernel configuration. /sys/i386/isa/snd/CARDS suggests that it might be handled by Luigi's pcm driver, so I added according to pcm(4): device pcm0 at isa ? port? irq 7 drq 1 The "at isa" part seems a bit strange for a PCI device, but there are no appropriate examples, and vga0 needs to be "at isa" too for PCI cards. When booting, the kernel now prints es0: irq 15 at device 9.0 on pci0 pcm0: using I/O space register mapping at 0xe400 which looks promising. I have added the audio devices (MAKEDEV snd0), but cat'ing some junk to /dev/audio only results in no pcm units configured\^H Is there something wrong with the configuration, or did the driver break during the recent newbus changes? (I'm running 4.0-CURRENT from last weekend.) -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de 100+ SF Book Reviews: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message