Date: Sat, 20 Jun 1998 19:04:48 -0400 (EDT) From: drifter@stratos.net To: multimedia@FreeBSD.ORG Subject: SB16 doesn't work with either Voxware or PnP... Message-ID: <199806202304.TAA00269@stratos.net>
next in thread | raw e-mail | index | archive | help
Hi,
This is my absolute last attempt to get a decent sound
card up and working on my FBSD 2.2.6.
I have a Sound Blaster 16 -- not an immitation but the real
McCoy -- and I'm trying to get this thing to work under FreeBSD.
Previously, I wrote about having an Aztech 8-bit soundcard
AND the sb16 installed together because I needed the Aztech for its
on-board modem. I have since upgraded to a 56K external and have
finally ripped the Amazin' 2-in-one sound card/Modem out.
Now, with only the SB16 installed, my kernel has trouble
recognizing the whole thing. It works (apparently -- though I can't
absolutely confirm it is working in 16bit mode) in Windows 95.
Here is what the Sound Device Resources Tab says:
|---------|
|Resources|
|---------|---------------------------------|
| |
| IRQ 05 |
| Direct Memory Access 01 |
| Direct Memory Access 03 |
| I/O Range 0220-022F |
| I/O Range 0330-0331 |
| I/O Range 0388-038B |
| |
| [Check Marked] Use Automatic Settings |
| Conflicting Device List: |
| No conflicts |
| |
---------------------------------------------
(Other settings include "Allow full duplex operation" and
"Don't use creative 3D stereo enhancement." The Hardware version in
the "General" tab is listed as 1.0.10)
So, after warm-booting to FreeBSD, running a non-pnp kernel with
VoxWare, (booting the config menu with -c and into visual) I get:
Listed devices in Multimedia:
Device Driver IRQ DRQ Port Flags
------ ------ --- --- ---- -----
SB PCM sb0 5 1 0x220 <none listed>
SB 16 sbxvi0 - - - <none listed>
SB Midi sbmidi0 - 3 0x330 <none listed>
OPL-2/3 opl0 - - 0x388 <none listed>
The relevant parts of the probe:
FreeBSD 2.2.6-RELEASE #0: Fri May 8 19:33:20 EDT 1998
root@stratos.net:/usr/src/sys/compile/ZZTOP
CPU: Pentium (149.69-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x52c Stepping=12
Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory = 50331648 (49152K bytes)
avail memory = 47026176 (45924K bytes)
...
Probing for devices on the ISA bus:
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.16>
SB16 Error: Invalid DMA channel 1/-1
sbxvi0 not found
sbmidi0 at 0x330 drq 3 on isa
<SoundBlaster MPU-401>
opl0 at 0x388 on isa
opl0: <Yamaha OPL-3 FM>
changing root device to st0s1a
Then, I rebooted with -c in CLI mode. (For some reason,
visual mode won't let me change a DRQ either FROM or TO 0) I unset
the sbmidi0 DRQ to -1 and set the sbxvi0 DRQ to 3. I issued a
"list" command to confirm the change, but when I booted into it
the SB16 still showed the same error above (Invalid DMA channel 1/-1)
and sbxvi0 was still not found.
Logged in as root, I tried:
# cat audio.au > /dev/audio
PCM device 0 not installed
bash: /dev/audio0: Device not configured
(/dev/audio is linked to /dev/audio0, which is supposed to be
the proper device. I tried ./MAKEDEV snd{1,2,3} and relinking,
but those didn't work either)
# playmidi midi.mid
< Music plays fine >
I then tried to run Luigi's pcm driver under pnp...
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All
rights reserved.
FreeBSD 2.2.6-RELEASE #0: Mon Apr 27 02:29:18 EDT 1998
root@stratos.net:/usr/src/sys/compile/ZZTOPS
CPU: Pentium (149.69-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x52c Stepping=12
Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory = 50331648 (49152K bytes)
avail memory = 47087616 (45984K bytes)
Probing for PnP devices:
CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff
pcm2 (SB16pnp <SB16 PnP> sn 0xffffffff) at 0x220 irq 5 drq 1
flags 0x13 id 0
CSN 2 Vendor ID: ADP1520 [0x20159004] Serial 0x529d3368
Probing for devices on the ISA bus:
...
pcm1 not found at 0xffffffff
...
I have no idea what CSN2 is, nor pcm1.
In any case:
# playmidi midi.mid
open /dev/sequencer: Device not configured
( I tried relinking /dev/sequencer to /dev/sequencer{1,2,3},
since the pcm's were being assigned numbers higher than 0,
but none of them worked.)
# cat audio.au > /dev/audio1
< SOUND! >
[Unfortunately...]
WARNING: rdintr but read DMA inactive!
WARNING: rdintr but read DMA inactive!
WARNING: rdintr but read DMA inactive!
WARNING: rdintr but read DMA inactive!
I'm sorry about this long post, but what is going on here?
I've been at this for a while, and I have run out of ideas. Just
to reemphasize, this is not a SoundBlaster Wannabe or near-Compatable.
This is the Real Deal, but doesn't seem to want to play ball.
Any help would be greatly appreciated.
-Rob
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806202304.TAA00269>
