Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 1999 14:47:15 -0400
From:      "Donald J . Maddox" <dmaddox@conterra.com>
To:        current@FreeBSD.ORG
Subject:   New PnP code does not work for me(?)
Message-ID:  <19990926144715.A337@dmaddox.conterra.com>

next in thread | raw e-mail | index | archive | help
I couldn't get my PnP Creative AWE64G to work with the new PnP
code, so I tried compiling a kernel with pcm instead.  All I get is:

unknown0: <Audio> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
unknown1: <Game> at port 0x200-0x207 on isa0
unknown2: <WaveTable> at port 0x620-0x623 on isa0

It is my understanding that, with the new PnP code, I should not have to
specify the ports, IRQs, DMA, etc., right?  Here is the config I used:

machine		i386
ident		RHIANNON
maxusers	128
options		MAXDSIZ="(256*1024*1024)"
options		DFLDSIZ="(256*1024*1024)"
options         INCLUDE_CONFIG_FILE
cpu		I586_CPU
options		COMPAT_43
options		USER_LDT
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		MD5
options		DDB
options		KTRACE
options		PERFMON
options		UCONSOLE
options		USERCONFIG
options		VISUAL_USERCONFIG
options		INET
pseudo-device	loop
pseudo-device	bpf	4
pseudo-device	disc	2
pseudo-device	tun	2
pseudo-device	ppp	2
pseudo-device	streams
options		PPP_BSDCOMP
options		PPP_DEFLATE
options		PPP_FILTER
options		MROUTING
options		FFS
#options	CD9660
options		MFS
#options	MSDOSFS
#options	PROCFS
options		SOFTUPDATES
options		NSWAPDEV=20
controller	scbus0
device		da0
device		cd0
device		pass0
options		SCSI_REPORT_GEOMETRY
pseudo-device	pty	32
pseudo-device	speaker
pseudo-device	gzip
#pseudo-device	vn
pseudo-device	snp	3
pseudo-device	splash
controller	isa0
options		AUTO_EOI_1
options		AUTO_EOI_2
controller	pnp0
controller	atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		sc0	at isa?
device		vga0	at isa? port ? conflicts
options		MAXCONS=32
#options	STD8X16FONT
options		SC_HISTORY_SIZE=1000
options		SC_PIXEL_MODE
device		npx0	at nexus? port IO_NPX iosiz 0x0 flags 0x0 irq 13
controller	wdc0	at isa? port IO_WD1 irq 14 flags 0xb0ffb0ff
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
controller	fdc0	at isa? port IO_FD1 irq 6 drq 2
disk		fd0	at fdc0 drive 0
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		sio2	at isa? port IO_COM3 flags 0x20000000 irq 12
#device		sio2	at isa? port IO_COM3 flags 0x20000 irq 12
device		sio3	at isa? port IO_COM4 irq 9
#controller	snd0
#device		sb0	at isa? port 0x220 irq 5 drq 1
#device		sbxvi0	at isa? drq 5
#device		sbmidi0	at isa? port 0x330
#device		awe0	at isa? port 0x620
#device		opl0	at isa? port 0x388
device		pcm0	#at isa? port ? irq 5 drq 1 flags 0x15
#device		pca0	at isa? port IO_TIMER1
#device		joy0	at isa? port 0x200
options		AHC_ALLOW_MEMIO
controller	pci0
controller	ahc0
#options		EXT2FS
options		SHOW_BUSYBUFS
options		SHMALL=1025
options		SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
options		SHMMAXPGS=1025
options		SHMMIN=2
options		SHMMNI=33
options		SHMSEG=9
options		MSGBUF_SIZE=40960
#options	VESA
options		P1003_1B
options		_KPOSIX_PRIORITY_SCHEDULING
options		_KPOSIX_VERSION=199309L

And here is the pnpinfo output:

Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CTL009e (0x9e008c0e), Serial Number 0x09f665ec
PnP Version 1.0, Vendor Version 32
Device Description: Creative SB AWE64 Gold

Logical Device ID: CTL0044 0x44008c0e #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 9 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 9 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
Acceptable Configuration
    IRQ: 5 7 9 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
Acceptable Configuration
    IRQ: 5 7 9 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
Acceptable Configuration
    IRQ: 5 7 9 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
Acceptable Configuration
    IRQ: 5 7 9 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]
TAG Start DF
Sub-optimal Configuration
    IRQ: 5 7 9 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 0x10, len 0x2
	[16-bit addr]
    I/O Range 0x388 .. 0x394, alignment 0x4, len 0x4
	[16-bit addr]
TAG End DF

Logical Device ID: CTL7002 0x02708c0e #1
Compatible Device ID: PNPb02f (2fb0d041)
Device Description: Game
TAG Start DF
Good Configuration
    I/O Range 0x200 .. 0x200, alignment 0x1, len 0x8
	[16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x200 .. 0x208, alignment 0x8, len 0x8
	[16-bit addr]
TAG End DF

Logical Device ID: CTL0023 0x23008c0e #2
Device Description: WaveTable
TAG Start DF
Good Configuration
    I/O Range 0x620 .. 0x620, alignment 0x1, len 0x4
	[16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x620 .. 0x680, alignment 0x20, len 0x4
	[16-bit addr]
TAG End DF
End Tag

Successfully got 67 resources, 3 logical fdevs
-- card select # 0x0001

CSN CTL009e (0x9e008c0e), Serial Number 0x09f665ec

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:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 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


What am I doing wrong here?



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990926144715.A337>