From owner-freebsd-current Sun Mar 5 14:41:14 2000 Delivered-To: freebsd-current@freebsd.org Received: from area51.v-wave.com (area51.v-wave.com [24.108.26.39]) by hub.freebsd.org (Postfix) with SMTP id 19CC337BB6F for ; Sun, 5 Mar 2000 14:40:35 -0800 (PST) (envelope-from flatline@area51.v-wave.com) Received: (qmail 1567 invoked by uid 1001); 5 Mar 2000 22:41:18 -0000 Date: Sun, 5 Mar 2000 15:41:18 -0700 From: Chris Wasser To: current@FreeBSD.ORG Subject: AWE64 & PCM Message-ID: <20000305154118.A1550@area51.v-wave.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, hate to post something this insignificant to the mailing list, but I've search the entire src tree with no luck in resolving this myself (well, grepping for awe64,wavetable,game .. found the AWE64 define in /usr/src/sys/dev/sound/isa/sbc.c easily enough) .. I'm sure it's due to some braindeadness on my behalf, but I'd sure appriciate someone steering me in the right direction on this. I also searched for the matching/compatible ID strings, no luck. Hopefully I provided enough information here... FreeBSD area51.v-wave.com 4.0-CURRENT FreeBSD 4.0-CURRENT #1: Sun Mar 5 12:02:16 MST 2000 root@area51.v-wave.com:/usr/src/sys/compile/AREA51 i386 (cvsupped today -- well, at time of this posting.) joy0 at port 0x201 on isa0 sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm0: on sbc0 joy1: at port 0x208-0x20f on isa0 unknown0: at port 0x620-0x623 on isa0 Now I tried enabling PNPBIOS in the kernel config, but that just produced a screenful of crap [PNP OS is disabled in the BIOS], here are the relevant kernel config options (no, I didn't add anything else for sound but this): [I read somewhere that the PCM driver doesn't support MIDI yet, not sure if this is related] device pcm device joy0 at isa? port IO_GAME Adding the sbc driver into the config didn't help either, produced the same dmesg output as above. I didn't use anything from the Voxware drivers like I used to under 3.x, I also tried using the pnp directives for userconfig at boot time, but that only produced syntax errors [same config I used for 3.x]: in /boot/kernel.conf: pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330 port2 0x388 pnp 1 1 os disable pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20 pnp 1 3 os disable devices in /dev: (sh MAKEDEV snd0) 0 lrwxrwxrwx 1 root wheel 6 Feb 24 02:05 /dev/mixer@ -> mixer0 0 crw-rw-rw- 1 root wheel 30, 0 Feb 24 02:05 /dev/mixer0 0 lrwxrwxrwx 1 root wheel 10 Feb 24 02:05 /dev/sequencer@ -> sequencer0 0 crw-rw-rw- 1 root wheel 30, 1 Feb 24 02:05 /dev/sequencer0 0 crw-rw-rw- 1 root wheel 30, 2 Feb 24 02:05 /dev/midi0 0 lrwxrwxrwx 1 root wheel 4 Feb 24 02:05 /dev/dsp@ -> dsp0 0 crw-rw-rw- 1 root wheel 30, 3 Mar 5 12:43 /dev/dsp0 0 lrwxrwxrwx 1 root wheel 5 Feb 24 02:05 /dev/dspW@ -> dspW0 0 crw-rw-rw- 1 root wheel 30, 5 Feb 24 02:05 /dev/dspW0 0 lrwxrwxrwx 1 root wheel 6 Feb 24 02:05 /dev/audio@ -> audio0 0 crw-rw-rw- 1 root wheel 30, 4 Feb 24 02:05 /dev/audio0 0 crw-rw-rw- 1 root wheel 30, 6 Feb 24 02:05 /dev/sndstat 0 lrwxrwxrwx 1 root wheel 6 Feb 24 02:05 /dev/music@ -> music0 0 crw-rw-rw- 1 root wheel 30, 8 Feb 24 02:05 /dev/music0 0 lrwxrwxrwx 1 root wheel 4 Feb 24 02:05 /dev/pss@ -> pss0 0 crw-rw-rw- 1 root wheel 30, 9 Feb 24 02:05 /dev/pss0 /dev/sndstat reports: FreeBSD Audio Driver (newpcm) Mar 5 2000 12:00:51 Installed devices: pcm0: at io 0x220 irq 5 drq 1:5 (1p/1r channels duplex) And finally, a pnpinfo dump: Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID CTL00c3 (0xc3008c0e), Serial Number 0x1fa45429 PnP Version 1.0, Vendor Version 16 Device Description: Creative SB AWE64 PnP *** Small Vendor Tag Detected Logical Device ID: CTL0045 0x45008c0e #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: CTL0022 0x22008c0e #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 *** Small Vendor Tag Detected End Tag Successfully got 69 resources, 3 logical fdevs -- card select # 0x0001 CSN CTL00c3 (0xc3008c0e), Serial Number 0x1fa45429 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message