From owner-freebsd-current Sun Sep 26 16:12:32 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.kar.net (mail.kar.net [195.178.131.134]) by hub.freebsd.org (Postfix) with ESMTP id 85BBA15099 for ; Sun, 26 Sep 1999 16:12:24 -0700 (PDT) (envelope-from kushn@mail.kar.net) Received: from 178.dialup.kar.net (178.dialup.kar.net [195.178.130.178]) by mail.kar.net (8.9.3/8.9.3) with ESMTP id CAA11314 for ; Mon, 27 Sep 1999 02:09:53 +0300 (EET DST) Date: Mon, 27 Sep 1999 02:12:13 +0300 (EEST) From: Vladimir Kushnir X-Sender: volodya@kushnir.kiev.ua To: freebsd-current@FreeBSD.ORG Subject: Re: New PnP code does not work for me(?) In-Reply-To: <19990926210537.86B141CC3@overcee.netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, here's an output for my Yamaha OPL-SA2 card (it used to work perfectly all right as css device & friends under old Pnp & VoxWare, but now outputs very poor sound through /dev/dsp and no sound at all when playing audio CD, and of course no midi): dmesg: pcm0: at port 0x220-0x22f,0x530-0x537,0x388-0x38b,0x330-0x331,0x370 -0x371 irq 5 drq 0,1 on isa0 unknown0: at port 0x201 on isa0 unknown1: at port 0x100-0x107 on isa0 unknown2: at port 0x1e0-0x1e7,0x3e6 irq 11 on isa0 pnpinfo -v (BTW, why the kernel message mss_intr: irq, but not from mss when running pnpinfo?): Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID YMH0020 (0x2000a865), Serial Number 0xffffffff PnP Version 1.0, Vendor Version 0 Device Description: OPL3-SA2 Sound Board Logical Device ID: YMH0021 0x2100a865 #0 Vendor register funcs 00 TAG Start DF Good Configuration I/O Range 0x220 .. 0x220, alignment 0x10, len 0x10 [16-bit addr] I/O Range 0x530 .. 0x530, alignment 0x8, len 0x8 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x4, len 0x4 [16-bit addr] I/O Range 0x330 .. 0x330, alignment 0x2, len 0x2 [16-bit addr] I/O Range 0x370 .. 0x370, alignment 0x2, len 0x2 [16-bit addr] IRQ: 5 IRQ: High true edge sensitive DMA: channel(s) 0 8-bit, not a bus master, count by byte, , Type F DMA: channel(s) 1 8-bit, not a bus master, count by byte, , Type F TAG Start DF Acceptable Configuration I/O Range 0x240 .. 0x240, alignment 0x10, len 0x10 [16-bit addr] I/O Range 0xe80 .. 0xe80, alignment 0x8, len 0x8 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x8, len 0x4 [16-bit addr] I/O Range 0x300 .. 0x300, alignment 0x2, len 0x2 [16-bit addr] I/O Range 0x100 .. 0xffe, alignment 0x2, len 0x2 [16-bit addr] IRQ: 5 7 9 10 11 IRQ: High true edge sensitive DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Type F DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Type F TAG Start DF Sub-optimal Configuration I/O Range 0x220 .. 0x280, alignment 0x10, len 0x10 [16-bit addr] I/O Range 0x530 .. 0xf48, alignment 0x8, len 0x8 [16-bit addr] I/O Range 0x388 .. 0x3f8, alignment 0x8, len 0x4 [16-bit addr] I/O Range 0x300 .. 0x334, alignment 0x2, len 0x2 [16-bit addr] I/O Range 0x100 .. 0xffe, alignment 0x2, len 0x2 [16-bit addr] IRQ: 3 5 7 9 10 11 IRQ: High true edge sensitive DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Type F DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Type F TAG End DF Logical Device ID: YMH0022 0x2200a865 #1 Vendor register funcs 00 Compatible Device ID: PNPb02f (2fb0d041) TAG Start DF Good Configuration I/O Range 0x201 .. 0x201, alignment 0x1, len 0x1 [16-bit addr] TAG Start DF Sub-optimal Configuration I/O Range 0x201 .. 0x211, alignment 0x10, len 0x1 [16-bit addr] TAG End DF Logical Device ID: YMH002f 0x2f00a865 #2 Vendor register funcs 00 TAG Start DF Good Configuration I/O Range 0x100 .. 0xff8, alignment 0x8, len 0x8 [16-bit addr] TAG End DF Logical Device ID: YMH0024 0x2400a865 #3 Vendor register funcs 00 Compatible Device ID: PNP0600 (0006d041) TAG Start DF Good Configuration IRQ: 11 IRQ: High true edge sensitive I/O Range 0x1e0 .. 0x1e0, alignment 0x8, len 0x8 [16-bit addr] I/O Range 0x3e6 .. 0x3e6, alignment 0x1, len 0x1 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 3 5 7 9 10 11 IRQ: High true edge sensitive I/O Range 0x100 .. 0x1f8, alignment 0x8, len 0x8 [16-bit addr] I/O Range 0x306 .. 0x3f6, alignment 0x8, len 0x1 [16-bit addr] TAG End DF End Tag Successfully got 53 resources, 4 logical fdevs -- card select # 0x0001 CSN YMH0020 (0x2000a865), Serial Number 0xffffffff Logical device #0 IO: 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 IRQ 5 0 DMA 0 1 IO range check 0x00 activate 0x01 Logical device #1 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 0 0 IO range check 0x00 activate 0x01 Logical device #2 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 0 0 IO range check 0x00 activate 0x01 Logical device #3 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 11 0 DMA 0 0 IO range check 0x00 activate 0x01 On Mon, 27 Sep 1999, Peter Wemm wrote: > > So I repeat for the list.. If you've got a card that used to work or does > work under BIOS backwards compat preconfig with 'controller pnp0' disabled, > please send us a dmesg and pnpinfo -v so we can add the ID's. 'controller > pnp0' is quite likely to become non-optional soon so we can use the > motherboard resource lists. > > Cheers, > -Peter > > Regards, Vladimir ===========================|======================= Vladimir Kushnir | kushn@mail.kar.net, | Powered by FreeBSD kushnir@ap3.bitp.kiev.ua | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message