From owner-freebsd-questions Mon Feb 14 10:29:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by builder.freebsd.org (Postfix) with SMTP id D197B4A0A for ; Mon, 14 Feb 2000 10:29:53 -0800 (PST) Received: (qmail 22976 invoked from network); 14 Feb 2000 18:30:08 -0000 Received: from userac91.uk.uudial.com (HELO marder-1.) (62.188.131.35) by smtp.dial.pipex.com with SMTP; 14 Feb 2000 18:30:08 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id SAA00987; Mon, 14 Feb 2000 18:13:48 GMT (envelope-from mark) Date: Mon, 14 Feb 2000 18:13:48 +0000 From: Mark Ovens To: Chris Shenton Cc: "David V." , freebsd-questions@freebsd.org Subject: Re: Docs about sound cards Message-ID: <20000214181348.A333@marder-1> References: <20000211112351.A8784@athena.sea.tera.com> <20000211211926.A328@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Feb 14, 2000 at 09:44:17AM -0500, Chris Shenton wrote: > On Fri, 11 Feb 2000 21:19:26 +0000, Mark Ovens said: > > Mark> Ah, but did it find anything on pcm1? The way it works is that > Mark> pcm0 is reserved for ISA devices so a PCI device will be pcm1, > Mark> e.g. here's my dmesg output (with device pcm0... in the kernel): > > How did you get it to scan the PCI bus? A line like: > > device pcm0 at isa? port? tty irq 5 drq 1 flags 0x15 > > would tell the system to only scan for the device on the ISA bus, > right? > No, I don't think so. It will always scan the ISA bus and if a device is found it goes on pcm0. If a device is found on the PCI bus however it will be pcm1. This is because ISA devices always get the number specified on the device line in the kernel config file so PCI devices use the next one. I know that's not a particularly clear explanation but I read somewhere about how it all works, but I can't find it now, I just remember it. > I tried yesterday with a PCI Yamaha-724-based card and couldn't find > it with pcm0 nor with snd0. Could you show me your kernel config line > for the pcm1 on PCI? > OK, in my kernel config I have: controller pnp0 device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 and the relevant lines from dmesg: es1: rev 0x06 int a irq 11 on pci0.11.0 pcm1: using I/O space register mapping at 0x6800 es1371: codec vendor CRY revision 19 es1371: codec features Bass & Treble Headphone out 20bit DAC 18bit ADC es1371: stereo enhancement: Crystal Semiconductor 3D Stereo Enhancement [snip] pcm0 not found Some people have reported that PCI cards are found (& work) with just device pcm0 in their config file, but I've not tried that (next time I re-build a kernel, if I remember). I should add that prior to getting this PCI Sound Blaster I had a Yamaha OPL3 based card that wwas found at pcm0 with *the same* kernel. Admittedly I had to use a ``pnp 1 0 os enable port0........'' line in /boot/boot.conf as well. > Thanks. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? BSD: Are you guys coming, or what? -Poster at LinuxWorld 2000 ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message