On Sat, 27 Mar 2010 05:05:49 +0000 Jacob Meuser <jake...@sdf.lonestar.org> wrote:
> On Fri, Mar 26, 2010 at 06:03:47PM -0700, J.C. Roberts wrote: > > > One of the (supposedly) working ISA devices I have here is an old > > Creative SoundBlaster card, but I can't seem to get it working. > > > # AUCAT_DEBUG=4 SIO_DEBUG=4 aucat -l > > man sb. look for "duplex". > The sb(4) man pages mentions a (potentially optional) "configuration file" but gives no further details about it? --I think this needs to get documented. > does `aucat -l -m play` work? > no joy. # aucat -l -m play aucat: <default>: can't open device BIOS PNP detects and configures the card properly (no jumpers). The label on the card reads: FCC ID: IBACT-SB32PNP49 Model#: CT3620 The output of audioctl shows: config=SB_16 Should the above show up as SB_32 ? For fun, I grabbed second, slightly different (older), Creative SoundBlaster ISA card and gave it a try. The results were the same. The card comes up properly (IRQ & DRQ) but aucat and midicat have issues. The label on the second card reads: FCC ID: IBACT-SB16MCD Model#: CT750 If you need me to test them, I've also got a SB-AWE64, SB-ViBRA, ESS, and a few other ISA based audio cards around. It's not like I actually *use* these cards at all (for anything but testing), and I wonder how many (if any) people are still using ISA audio cards? jcr **************************************************************************** # AUCAT_DEBUG=4 SIO_DEBUG=4 aucat -l -m play sio_open_aucat: trying 0 -> 0.default sio_open_aucat: connect: No such file or directory sun_setpar: 0: trying pars = 48000/16/6 sun_setpar: couldn't set linear encoding aucat: <default>: can't open device **************************************************************************** # audioctl name=SoundBlaster version=4.12 config=SB_16 encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8,slinear_le:16,ulinear_le:16,slinear_be:16*,ulinear_be:16* properties=mmap,independent full_duplex=0 fullduplex=0 blocksize=200 hiwat=163 lowat=1 output_muted=0 monitor_gain=0 mode= play.rate=8000 play.sample_rate=8000 play.channels=1 play.precision=8 play.encoding=mulaw play.gain=128 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=0 play.samples=0 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=0 play.active=0 play.buffer_size=32768 play.block_size=200 play.errors=0 record.rate=8000 record.sample_rate=8000 record.channels=1 record.precision=8 record.encoding=mulaw record.gain=0 record.balance=32 record.port=0x1 record.avail_ports=0x7 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 record.block_size=400 record.errors=0 **************************************************************************** # mixerctl -v outputs.master=128,128 volume inputs.fmsynth=128,128 volume inputs.fmsynth.mute=off [ off on ] inputs.fmsynth.swap=off [ off on ] inputs.cd=128,128 volume inputs.cd.mute=off [ off on ] inputs.cd.swap=off [ off on ] outputs.cd.mute=off [ off on ] inputs.dac=128,128 volume inputs.mic=0 volume inputs.mic.mute=off [ off on ] inputs.mic.swap=off [ off on ] outputs.mic.mute=off [ off on ] inputs.line=0,0 volume inputs.line.mute=off [ off on ] inputs.line.swap=off [ off on ] outputs.line.mute=off [ off on ] record.source=mic { mic cd line fmsynth } equalization.treble=128,128 treble equalization.bass=128,128 bass inputs.pc_speaker=128 volume inputs.input=128,128 volume outputs.output=128,128 volume inputs.agc=off [ off on ] **************************************************************************** dmesg OpenBSD 4.7-current (GENERIC) #561: Wed Mar 24 20:41:50 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium (P54C) ("GenuineIntel" 586-class) 133 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8 real mem = 133791744 (127MB) avail mem = 120848384 (115MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/08/96, BIOS32 rev. 0 @ 0xfbcf0 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x638 pcibios0: PCI BIOS has 4 Interrupt Routing table entries pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc0000/0x8000 0xc8000/0x2800 cpu0 at mainbus0: (uniprocessor) cpu0: F00F bug workaround installed pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82437FX" rev 0x02 pcib0 at pci0 dev 7 function 0 "Intel 82371FB ISA" rev 0x02 pciide0 at pci0 dev 7 function 1 "Intel 82371FB IDE" rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility pciide0: channel 0 disabled (no drives) pciide0: channel 1 disabled (no drives) vga1 at pci0 dev 10 function 0 "S3 86C968-0" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ahc0 at pci0 dev 11 function 0 "Adaptec AHA-2940" rev 0x03: irq 10 scsibus0 at ahc0: 8 targets, initiator 7 sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST32430N, 0510> SCSI2 0/direct fixed sd0: 2049MB, 512 bytes/sec, 4197405 sec total cd0 at scsibus0 targ 4 lun 0: <TOSHIBA, CD-ROM XM-3701TA, 0236> SCSI2 5/cdrom removable isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 ep0: irq 10 already in use sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v4.12 midi0 at sb0: <SB MIDI UART> audio0 at sb0 opl0 at sb0: model OPL3 midi1 at opl0: <SB Yamaha OPL3> pcppi0 at isa0 port 0x61 midi2 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec isapnp0 at isa0 port 0x279: read port 0x203 ep1 at isapnp0 "3Com 3C509B EtherLink III, TCM5095, PNP80F7, " port 0x210/16 irq 9: address 00:a0:24:b5:96:ae, utp (default utp) biomask fd45 netmask ff45 ttymask ffdf vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root ahc0: target 0 synchronous at 10.0MHz, offset = 0xf root on sd0a swap on sd0b dump on sd0b