Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 20:31:40 +0800 (CST)
From:      Tai-hwa Liang <avatar@www.mmlab.cse.yzu.edu.tw>
To:        freebsd-stable@FreeBSD.org
Subject:   -stable ISA PnP config(controller pnp0)
Message-ID:  <Pine.BSF.4.21.0007202029460.71996-100000@www.mmlab.cse.yzu.edu.tw>

next in thread | raw e-mail | index | archive | help

	I've tried to upgrade from 3.4-RELEASE to 4.1-RC hours ago, and
noticed that "controller pnp0" was removed from kernel configuration;
furthermore, it seems that the "pnp" config option was also removed from
"boot -c" editor. Without the ISA PnP configuration support, my SoundBlaster
16 PnP would unable to playback MIDI synth via VOXWARE snd driver(sb_reset_dsp
failed during system startup).

	It also seems that the newpcm driver in 4-stable still doesn't support
MIDI synth(/dev/sequencer) as the pcm0 device in 3-stable; therefore, I have
to use VOXWARE to play with MIDI synth before new-midi being merged in the
tree.

	Is there any workaround for me to manually config my ISA PnP device in
4-stable such that the VOXWARE snd driver can detect my sound card? Can anyone
enlighten me the relation between PNPBIOS and "controller pnp0?" TIA.

FYI(4.1-RC with PNPBIOS, snd, sb0, sbxvi0 & sbmidi0):

sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
sio1: type 16550A
sb_reset_dsp failed
sb_reset_dsp failed
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
unknown: <PNP0401> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown0: <PNP0c01> at iomem 0-0x9ffff,0x100000-0xfffffff,0xe8000-0xeffff,0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfffff,0xcd000-0xcffff,0xfffe0000-0xffffffff on isa0
unknown: <PNP0000> can't assign resources
unknown1: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown2: <PNP0b00> at port 0x70-0x75 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown3: <PNP0c04> at port 0xf0 irq 13 on isa0
unknown4: <PNP0200> at port 0-0xf,0x80-0x90,0x94-0x9f,0xc0-0xde drq 4 on isa0
unknown5: <PNP0800> at port 0x61 on isa0
unknown6: <PNP0a03> at port 0xcf8-0xcff on isa0
unknown7: <PNP0c02> at port 0xe400-0xe47f,0xe800-0xe83f on isa0
unknown8: <Audio> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
unknown9: <Generic ESDI/IDE/ATA controller> at port 0x168-0x16f,0x36e-0x36f irq 10 on isa0
unknown10: <Reserved> at port 0x100 on isa0
unknown11: <Game> at port 0x200-0x207 on isa0
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed

* cat /dev/sndstat:

cat: /dev/sndstat: Device not configured

* 4.1-RC with PNPBIOS, device pcm & device sbc0:

unknown: <PNP0401> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown0: <PNP0c01> at iomem 0-0x9ffff,0x100000-0xfffffff,0xe8000-0xeffff,0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfffff,0xcd000-0xcffff,0xfffe0000-0xffffffff on isa0
unknown: <PNP0000> can't assign resources
unknown1: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown2: <PNP0b00> at port 0x70-0x75 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown3: <PNP0c04> at port 0xf0 irq 13 on isa0
unknown4: <PNP0200> at port 0-0xf,0x80-0x90,0x94-0x9f,0xc0-0xde drq 4 on isa0
unknown5: <PNP0800> at port 0x61 on isa0
unknown6: <PNP0a03> at port 0xcf8-0xcff on isa0
unknown7: <PNP0c02> at port 0xe400-0xe47f,0xe800-0xe83f on isa0
sbc1: <Creative SB16/SB32> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
sbc1: setting card to irq 5, drq 1, 5
pcm0: <SB DSP 4.13> on sbc1
unknown8: <Generic ESDI/IDE/ATA controller> at port 0x168-0x16f,0x36e-0x36f irq 10 on isa0
unknown9: <Reserved> at port 0x100 on isa0
unknown10: <Game> at port 0x200-0x207 on isa0
ata1-slave: ata_command: timeout waiting for intr

* cat /dev/sndstat:

FreeBSD Audio Driver (newpcm) Jul 20 2000 15:01:50
Installed devices:
pcm0: <SB DSP 4.13> at io 0x220 irq 5 drq 1:5 (1p/1r channels duplex)

* /usr/sbin/pnpinfo:

Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CTL0028 (0x28008c0e), Serial Number 0x1013d5bf
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: CTL2011 0x11208c0e #1
Compatible Device ID: PNP0600 (0006d041)
Device Description: IDE
TAG Start DF
Good Configuration
    IRQ: 10  - only one type (true/edge)
    I/O Range 0x168 .. 0x168, alignment 0x1, len 0x8
	[16-bit addr]
    I/O Range 0x36e .. 0x36e, alignment 0x1, len 0x2
	[16-bit addr]
TAG Start DF
Acceptable Configuration
    IRQ: 11  - only one type (true/edge)
    I/O Range 0x1e8 .. 0x1e8, alignment 0x1, len 0x8
	[16-bit addr]
    I/O Range 0x3ee .. 0x3ee, alignment 0x1, len 0x2
	[16-bit addr]
TAG Start DF
Acceptable Configuration
    IRQ: 10 11 12 15  - only one type (true/edge)
    I/O Range 0x100 .. 0x1f8, alignment 0x8, len 0x8
	[16-bit addr]
    I/O Range 0x300 .. 0x3fe, alignment 0x2, len 0x2
	[16-bit addr]
TAG Start DF
Sub-optimal Configuration
    IRQ: 15  - only one type (true/edge)
    I/O Range 0x170 .. 0x170, alignment 0x1, len 0x8
	[16-bit addr]
    I/O Range 0x376 .. 0x376, alignment 0x1, len 0x1
	[16-bit addr]
TAG End DF

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 72 resources, 4 logical fdevs
- -- card select # 0x0001

CSN CTL0028 (0x28008c0e), Serial Number 0x1013d5bf

Logical device #0
IO:  0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220
IRQ 5 0
DMA 1 5
IO range check 0x00 activate 0x01

Logical device #1
IO:  0x036e 0x036e 0x036e 0x036e 0x036e 0x036e 0x036e 0x036e
IRQ 10 0
DMA 4 4
IO range check 0x00 activate 0x01

Logical device #2
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x01

Logical device #3
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x01

cat /dev/sndstat(3-stable):

VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug  6 22:58:35 PDT 1997 Amancio Hasty@rah.star-gate.com)
Config options: 

Installed drivers: 
Type 2: SoundBlaster
Type 6: SoundBlaster16
Type 7: SB16 MIDI


Card config: 
SoundBlaster at 0x220 irq 10 drq 1
SoundBlaster16 at 0xffffffff irq 1 drq 5
SB16 MIDI at 0x330 irq 1

Audio devices:
0: SoundBlaster 16 4.13

Synth devices:

Midi devices:
0: SoundBlaster 16 Midi

Timers:
0: System clock

Mixers:
0: SoundBlaster

-- 
Regards,

Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Multimedia Laboratory, Dept. of Computer Science & Engineering
Yuan Ze University
Taiwan, Republic of China



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007202029460.71996-100000>