From owner-freebsd-multimedia Tue Feb 2 21:56:49 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA27010 for freebsd-multimedia-outgoing; Tue, 2 Feb 1999 21:56:49 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from stade.demon.co.uk (stade.demon.co.uk [158.152.29.164]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA26990 for ; Tue, 2 Feb 1999 21:56:41 -0800 (PST) (envelope-from aw1@stade.co.uk) Received: (from aw1@localhost) by stade.demon.co.uk (8.9.2/8.9.1) id DAA78819; Wed, 3 Feb 1999 03:21:43 GMT (envelope-from aw1) Date: Wed, 3 Feb 1999 03:21:43 +0000 From: Adrian Wontroba To: Paul Bauer Cc: multimedia@FreeBSD.ORG Subject: Re: sb32 configuration in 2.2.8 Message-ID: <19990203032143.C77149@titus.stade.co.uk> Reply-To: aw1@stade.co.uk References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from Paul Bauer on Tue, Feb 02, 1999 at 10:16:06AM -0600 X-Operating-System: FreeBSD 4.0-CURRENT Organization: Yes, I need some of that. X-Phone: +(44) 121 681 6677 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Feb 02, 1999 at 10:16:06AM -0600, Paul Bauer wrote: > I have installed my sound card in 2.2.8 using the following in my config > file. controller pnp0 > device pcm0 at isa? port 0x220 tty irq ? drq ? flags 0x15 vector > pcmintr > is there more to the > process then just installing these lines and recompiling the kernel? Yes, there is (8-) >From memory, old mail messages and my system (ie, there may be significant omissions): You need to tell your kernel what irq etc to use. "man pnp", but in short: Make sure that you have the USERCONFIG in your kernel options. Each time you build a new kernel, boot with "-c" and enter the pnp configuration options. They will be saved in the kernel image by dset. Once you know what they are, you can reduce the interaction by creating a /kernel.config file, containing the directives. This is what I used to use for a SB16X-VIBRA (don't buy one!) USERCONFIG pnp 1 0 os enable irq0 5 drq0 0 drq1 1 port0 0x220 port1 0x300 port2 0x388 pnp 1 1 os enable port0 0x201 quit Later (new boot loader) releases are different in this area. I currently have this in /boot/loader.rc: load /kernel load -t userconfig_script /kernel.config autoboot And this in /kernel.config: pnp 1 0 os enable irq0 5 drq0 0 drq1 1 port0 0x220 port1 0x300 port2 0x388 pnp 1 1 os enable port0 0x201 quit Snippets from dmesg: .... real memory = 134217728 (131072K bytes) config> pnp 1 0 os enable irq0 5 drq0 0 drq1 1 port0 0x220 port1 0x300 port2 0x388 config> pnp 1 1 os enable port0 0x201 config> quit avail memory = 127889408 (124892K bytes) Preloaded elf kernel "kernel" at 0xf028f000. Preloaded userconfig_script "/kernel.config" at 0xf028f09c. .... Probing for PnP devices: CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041] pcm1 (SB16pnp sn 0xffffffff) at 0x220-0x22f irq 5 drq 0 flags 0x11 on isa .... pcm0 not found You'll also need to do something along the lines of cd /dev; sh MAKEDEV snd1 to create the device nodes and link /dev/mixer (etc) to mixer1 -- Adrian Wontroba To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message