Date: Wed, 9 Feb 2000 21:17:19 -0700 (MST) From: Ivan Fetch <ivanfetch@technologist.com> To: freebsd-questions@freebsd.org Subject: Assistance needed with pnp command for SoundBlaster 16 Message-ID: <Pine.LNX.4.20.0002092112250.144-100000@ibis.ivanfetch.tzo.com>
next in thread | raw e-mail | index | archive | help
Hello, I have a SoundBlaster 16 which is not configured (plug and play) by the BIOS, so I am attempting to configure it via the `pnp' command at the kernel Config> prompt. I have compiled my kernel with sb0 (as well as the sb16 driver and the sbmidi driver as instructed in hte handbook). I have specified the correct IO (220), IRQ (5), and DRQs (5 and 16 for the 16 DMA) when compiling the kernel. I am trying to use a line like the following, but suspect I have the lcn or device number wrong: pnp 1 0 enable os port0 220 irq0 5 drq0 5 drq1 16 Variations on the above line always yield: sb0 not found at 0x220. My reason for not specifying the above port0 address as 0x220, as it seems like that was read as 540 (or something like that) when I re-output my pnp command via kget. Below is my output from pnpinfo -- Any assistance is greatly appreciated. Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID CTL002c (0x2c008c0e), Serial Number 0x0d59237d PnP Version 1.0, Vendor Version 16 Device Description: Creative SB16 PnP Logical Device ID: CTL0031 0x31008c0e #0 Device Description: Audio TAG Start DF Good Configuration IRQ: 5 - only one type (true/edge) DMA: channel(s) 1 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10 [16-bit addr] I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 6 7 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 6 7 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 6 7 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 11 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] TAG End DF Logical Device ID: PNPffff 0xffffd041 #1 Device Description: Reserved I/O Range 0x100 .. 0x3f8, alignment 0x8, len 0x1 [16-bit addr] Logical Device ID: PNPffff 0xffffd041 #2 Device Description: Reserved I/O Range 0x100 .. 0x3f8, alignment 0x8, len 0x1 [16-bit addr] Logical Device ID: CTL7001 0x01708c0e #3 Compatible Device ID: PNPb02f (2fb0d041) Device Description: Game I/O Range 0x200 .. 0x200, alignment 0x1, len 0x8 [16-bit addr] End Tag Successfully got 55 resources, 4 logical fdevs -- card select # 0x0001 CSN CTL002c (0x2c008c0e), Serial Number 0x0d59237d Logical device #0 IO: 0x00d0 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 5 0 DMA 5 0 IO range check 0x00 activate 0x01 Logical device #1 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x00 Logical device #2 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x00 Logical device #3 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x00 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?Pine.LNX.4.20.0002092112250.144-100000>