Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2000 18:13:48 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Chris Shenton <cshenton@uucom.com>
Cc:        "David V." <montain@montain.dhs.org>, freebsd-questions@freebsd.org
Subject:   Re: Docs about sound cards
Message-ID:  <20000214181348.A333@marder-1>
In-Reply-To: <lfya8nvo72.fsf@Samizdat.uucom.com>
References:  <20000211112351.A8784@athena.sea.tera.com> <Pine.BSF.4.10.10002111444250.538-100000@sekel.montain.dhs.org> <20000211211926.A328@marder-1> <lfya8nvo72.fsf@Samizdat.uucom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 14, 2000 at 09:44:17AM -0500, Chris Shenton wrote:
> On Fri, 11 Feb 2000 21:19:26 +0000, Mark Ovens <mark@dogma.freebsd-uk.eu.org> 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: <AudioPCI ES1371> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000214181348.A333>