From owner-freebsd-questions Fri Mar 3 8:46:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.twave.net (twave.net [206.100.228.5]) by hub.freebsd.org (Postfix) with SMTP id A4B3437B713 for ; Fri, 3 Mar 2000 08:46:50 -0800 (PST) (envelope-from brameld@twave.net) Received: from [12.21.241.171] by mail.twave.net (NTMail 3.03.0018/1.abwg) with ESMTP id ia914194 for ; Fri, 3 Mar 2000 11:46:35 -0500 Received: from Bozo_3.BozoLand.domain (localhost [127.0.0.1]) by Bozo_3.BozoLand.domain (8.9.3/8.9.3) with SMTP id LAA58980; Fri, 3 Mar 2000 11:46:36 -0500 (EST) (envelope-from brameld@twave.net) From: Walter Brameld To: Mark J Tomko , freebsd-questions@freebsd.org Subject: Re: More Kernel Config, pcm1 vs. pcm0 Date: Fri, 3 Mar 2000 11:44:51 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <20000303080156.A83611@prime.cs.ohiou.edu> <00030311420803.58868@Bozo_3.BozoLand.domain> In-Reply-To: <00030311420803.58868@Bozo_3.BozoLand.domain> MIME-Version: 1.0 Message-Id: <00030311463604.58868@Bozo_3.BozoLand.domain> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 03 Mar 2000, in a never-ending search for enlightenment, Walter Brameld wrote: > I believe from everything I have read here that you should leave well > enough alone. > > What it boils down to is this; pcm1 is assigned to PCI devices, and > pcm0 is assigned to ISA devices. If you do not have any ISA devices > then of course none will be found. > > If you change your kernel config line to device pcm1, then what will > happen is your PCI devices will be assigned to pcm2, and you will get a > message saying no devices found on pcm1. > > Since your sound card is coming up pcm1, make sure you build snd1 > devices in /etc/dev. cd to /dev and type ./MAKEDEV snd1. This will Sorry, that should be 'devices in /dev, not /etc/dev' > assign all the various sound devices to your card. (It will NOT make > anything called 'snd1'. It will take devices such as mixer, dsp, midi > etc. and point them to mixer1, dsp1, midi1 etc. Do 'ls -las' to see > this.). > > If you DO have ISA devices, then I guess that will be a different > thread 8-). > > On Fri, 03 Mar 2000, in a never-ending search for enlightenment, Mark > J Tomko wrote: > I've been running off a custom kernel for about a > month now- everything > works fine, but I get a warning message when I > boot up that says it > can't find a pcm0 device. > > > > Probing for devices on PCI bus 1: > > vga0: rev 0x04 int a irq 11 on pci1.0.0 > > Probing for PnP devices: > > CSN 1 Vendor ID: YMH0020 [0x2000a865] Serial 0xffffffff Comp ID: PNPb02f > > [0x2fb0 > > d041] > > mss_attach 1 at 0x530 irq 5 dma 0:1 flags 0x11 > > setting up yamaha registers > > set yamaha master volume to max > > pcm1 (CS423x/Yamaha/AD1816 sn 0xffffffff) at 0x530-0x537 > > irq 5 drq > > 0 flags 0x11 on isa > > > > ## And then: > > > > Probing for devices on the ISA bus: > > > > ... > > > > pcm0 not found > > > > > > In my kernel, I have enabled pcm0 for my sound. The kernel detects and > > properly uses my sound card, but it calls it pcm1. In my kernel config > > file, the lines affecting the sourd card are: > > > > controller pnp0 > > > > ... > > > > device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x0 > > > > > > So, should I change my kernel to enable a device called pcm1 and forget > > about pcm0, or should I leave well enough alone? Could I set it up > > without using the PNP controller? > > > > Thanks! > > > > Mark > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Walter Brameld in·tel·lec·tu·al n. Someone who has been educated past his/her level of intelligence. Join the Army, meet interesting people, kill them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message