I just installed OpenBSD for the first time last week:  version 4.1 (I
installed it on Oct 30), GENERIC kernel.

Everything worked, except for some issues with my USB external sound
card (M-Audio Audiophile USB).

I can play mono out of it, but I can't seem to get stereo.
Unfortunately, there are no mixer controls available.

My question:  is there a way to get uaudio to configure a mixer for
it, so I can play more with the settings?

Here's all relevant piece of dmesg (full dmesg below):

uaudio0 at uhub0 port 1 configuration 1 interface 1: M-Audio
Audiophile USB (tm), rev 1.00/1.01, addr 2
uaudio0: ignored audio interface with 2 endpoints
uaudio0: ignored audio interface with 2 endpoints
uaudio0: ignored audio interface with 2 endpoints
uaudio0: ignored audio interface with 2 endpoints
uaudio0: ignored setting with type 8193 format
uaudio0: audio rev 1.00, 0 mixer controls
audio1 at uaudio0

(I configured /dev/audio, /dev/audioctl, /dev/mixer to point to
/dev/audio1, /dev/audioctl1, /dev/mixer1, respectively:  see below).

"mixerctl -a" gives me nothing (as to be expected, since no mixer
controls are configured).  See below for "audioctl -a" output.

I've read the man pages for uaudio, audio, mixer, audioctl, and
mixerctl, and I've also read the OpenBSD FAQ for multimedia, all of
which has helped me get this far, but I'm stumped now.  Am I missing
something obvious, or not-so-obvious?

TIA,

-- Scott

DMESG:

OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 498 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 200830976 (196124K)
avail mem = 175579136 (171464K)
using 2482 buffers containing 10166272 bytes (9928K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 11/30/99, BIOS32 rev. 0 @
0xf0000, SMBIOS rev. 2.3 @ 0xfa25e (59 entries)
bios0: Compaq Armada    E500
apm0 at bios0: Power Management spec V1.2 (BIOS managing devices)
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
apm0: flags 130102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x1200
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf51e0/224 (12 entries)
pcibios0: PCI Exclusive IRQs: 11
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0x10000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mobility 1" rev 0x64
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cbb0 at pci0 dev 4 function 0 "TI PCI1225 CardBus" rev 0x01: irq 11
cbb1 at pci0 dev 4 function 1 "TI PCI1225 CardBus" rev 0x01: irq 11
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <IBM-DARA-206000>
wd0: 16-sector PIO, LBA, 5729MB, 11733120 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <COMPAQ, CD-224E, 9.0B> SCSI0 5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x03: SMI
iic0 at piixpm0
maestro0 at pci0 dev 8 function 0 "ESS Maestro 2E" rev 0x10: irq 11
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at maestro0
"AT&T/Lucent LTMODEM" rev 0x01 at pci0 dev 9 function 0 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
isadma0 at isa0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 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
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ef6d netmask ef6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ep1 at pcmcia0 function 0 "3Com, Megahertz 574B, B" port 0xa000/32:
address 00:01:03:81:66:d5
tqphy0 at ep1 phy 0: 78Q2120 10/100 PHY, rev. 10
ohci0 at cardbus1 dev 0 function 0 "NEC USB" rev 0x43: irq 11, version 1.0
usb1 at ohci0: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci1 at cardbus1 dev 0 function 1 "NEC USB" rev 0x43: irq 11, version 1.0
ohci_intr: sc->sc_hcca == NULL
uaudio0 at uhub0 port 1 configuration 1 interface 1: M-Audio
Audiophile USB (tm), rev 1.00/1.01, addr 2
uaudio0: ignored audio interface with 2 endpoints
uaudio0: ignored audio interface with 2 endpoints
uaudio0: ignored audio interface with 2 endpoints
uaudio0: ignored audio interface with 2 endpoints
uaudio0: ignored setting with type 8193 format
uaudio0: audio rev 1.00, 0 mixer controls
audio1 at uaudio0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
usb2 at ohci1: USB revision 1.0
uhub2 at usb2
uhub2: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at cardbus1 dev 0 function 2 "NEC USB" rev 0x04: irq 11
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: NEC EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 5 ports with 5 removable, self powered

# audioctl -a

name=USB audio
version=
config=uaudio
encodings=ulinear:8*,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16*
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=12240
hiwat=5
lowat=1
monitor_gain=0
mode=
play.rate=8000
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=12240
play.samples=1212464
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=8000
record.channels=2
record.precision=16
record.encoding=slinear_le
record.gain=127
record.balance=32
record.port=0x0
record.avail_ports=0x0
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.errors=0

# ls -l /dev/audio* /dev/audioctl* /dev/mixer* /dev/sound*

lrwxr-xr-x  1 root  wheel         6 Nov  8 08:56 /dev/audio -> audio1
crw-rw-rw-  1 root  wheel   42, 128 Nov  8 08:40 /dev/audio0
crw-rw-rw-  1 root  wheel   42, 129 Nov  8 09:02 /dev/audio1
lrwxr-xr-x  1 root  wheel         9 Nov  8 08:56 /dev/audioctl -> audioctl1
crw-rw-rw-  1 root  wheel   42, 192 Nov  5 02:04 /dev/audioctl0
crw-rw-rw-  1 root  wheel   42, 193 Nov  8 08:55 /dev/audioctl1
lrwxr-xr-x  1 root  wheel         6 Nov  8 08:58 /dev/mixer -> mixer1
crw-rw-rw-  1 root  wheel   42,  16 Nov  5 02:04 /dev/mixer0
crw-rw-rw-  1 root  wheel   42,  17 Nov  8 08:55 /dev/mixer1
lrwxr-xr-x  1 root  wheel         6 Nov  8 08:57 /dev/sound -> sound1
crw-rw-rw-  1 root  wheel   42,   0 Nov  8 08:42 /dev/sound0
crw-rw-rw-  1 root  wheel   42,   1 Nov  8 09:03 /dev/sound1
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to