Hi misc@,
after a couple of hours of messing around with my systems...
The problem is that I "found" a 
Creative USB Sound Blaster Audigy 2 NX
in my closet and thought, let's give it a try with my favorite OS.

I shouldn't have done than...
Okay the dmesg reports (after plugging in) (full dmesg at end):
(exactly the same with newest snapshot)

uaudio0 at uhub2 port 1 configuration 1 interface 0: Creative Technology Ltd SB 
Audigy 2 NX, rev 1.10/1.00, addr 2
uaudio_add_selector: NOT IMPLEMENTED
uaudio_add_selector: NOT IMPLEMENTED
uaudio_add_selector: NOT IMPLEMENTED
uaudio0: audio rev 1.00, 28 mixer controls
audio1 at uaudio0


What does the uaudio_add_selector mean ? (Sorry can't read sourc good enough)
Anyway looks like it should work, doesn't it?

It doesn't
# cat > /dev/audio1
/dev/audio1: Permission denied.


I couldn't find anything about this error (exept wrong permisson).
Tried as root and user with chmod 666 , 777 , and any combinaton of those.

I unmuted EVERYTHING in "mixerctl" (output at the end as well).
NOTE: I CAN'T turn on "ext[0-9]*" Stuff, it gives
# mixerctl -f /dev/mixer1 ext17-enable=on
ext17-enable: off -> off

What I DID figure out is perhaps the problem, but I need a solution.

While doing "cat > /dev/audio0"
I get from "audioctl -f /dev/audioctl -a"
...
mode=play
...

After killing the cat ;)
...
mode=
...

While "cat < /dev/audio0"
...
mode=record
...

SAME with audio1, but I'm NEVER able to get a "play" (see error on top).

Of course I changed the symlinks /dev/{audio,sound,mixer,audioctl} and also
tried to "just play music" with various tools.


Next thing I tried was to rip the primary sound device out of the box, SAME
thing again! Only that audio1 moved to audio0

I did a reinstall with the latest snapshot (on another machine) SAME thing, I
did a /dev/MAKEDEV audio ... SAME thing.



I don't know where to go now, is it just simply and plain unsupported ?

Okay complete dmesg:
--------------------------------------------------------------------------------
OpenBSD 3.7-current (GENERIC) #0: Fri Jul 22 00:45:13 CEST 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(TM) XP 2600+ ("AuthenticAMD" 686-class, 512KB L2 cache) 1.92 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: FID
real mem  = 1073307648 (1048152K)
avail mem = 972824576 (950024K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(2d) BIOS, date 09/02/04, BIOS32 rev. 0 @ 0xf1930
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x2012
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1f10/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C586 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xf400 0xd0000/0x6000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8235 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia GeForce4 Ti 4400" rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
rl0 at pci0 dev 11 function 0 "Realtek 8139" rev 0x10: irq 9 address 
00:05:5d:2c:89:51
rlphy0 at rl0 phy 0: RTL internal phy
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD600BB-00CAA1>
wd0: 16-sector PIO, LBA, 57241MB, 117231408 sectors
wd1 at pciide0 channel 0 drive 1: <WDC WD600BB-00CAA1>
wd1: 16-sector PIO, LBA, 57241MB, 117231408 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PIONEER, DVD-ROM DVD-106, 1.22> SCSI0 5/cdrom 
removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4082B, A201> SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
eap0 at pci0 dev 19 function 0 "Ensoniq AudioPCI97" rev 0x08: irq 9
ac97: codec id 0x43525913 (Cirrus Logic CS4297A rev 3)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
audio0 at eap0
midi0 at eap0: <AudioPCI MIDI UART>
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
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: 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
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask fd6d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhub4 at uhub3 port 2
uhub4: Standard Microsystems product 0xa700, class 9/0, rev 2.00/0.00, addr 2
uhub4: 3 ports with 3 removable, bus powered, multiple transaction translators
uhub5 at uhub0 port 1
uhub5: Lite-On Technology USB 1.1 2port downstream low power hub, class 9/0, 
rev 1.10/1.00, addr 2
uhub5: 3 ports with 2 removable, bus powered
uhidev0 at uhub5 port 1 configuration 1 interface 0
uhidev0: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 
1 ), rev 1.10/1.00, addr 3, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub5 port 1 configuration 1 interface 1
uhidev1: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 
1 ), rev 1.10/1.00, addr 3, iclass 3/0
uhidev1: 3 report ids
uhid0 at uhidev1 reportid 3: input=3, output=0, feature=0
umass0 at uhub3 port 4 configuration 1 interface 0
umass0: Generic USB Storage Device, rev 2.00/1.00, addr 3
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets
sd0 at scsibus2 targ 1 lun 0: <GENERIC, USB Storage-CFC, 010K> SCSI0 0/direct 
removable
sd0: drive offline
sd1 at scsibus2 targ 1 lun 1: <GENERIC, USB Storage-CFC, 010K> SCSI0 0/direct 
removable
sd1: drive offline
sd2 at scsibus2 targ 1 lun 2: <GENERIC, USB Storage-MMC, 010K> SCSI0 0/direct 
removable
sd2: drive offline
sd3 at scsibus2 targ 1 lun 3: <GENERIC, USB Storage-MSC, 010K> SCSI0 0/direct 
removable
sd3: drive offline
uhidev2 at uhub1 port 1 configuration 1 interface 0
uhidev2: Logitech USB-PS/2 Optical Mouse, rev 2.00/13.20, addr 2, iclass 3/1
ums0 at uhidev2: 4 buttons and Z dir.
wsmouse0 at ums0 mux 0
wd0: no disk label
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
dkcsum: read of sd0 failed (0)
dkcsum: read of sd1 failed (0)
dkcsum: read of sd2 failed (0)
dkcsum: read of sd3 failed (0)
root on wd1a
rootdev=0x10 rrootdev=0x310 rawdev=0x312
uaudio0 at uhub2 port 1 configuration 1 interface 0: Creative Technology Ltd SB 
Audigy 2 NX, rev 1.10/1.00, addr 2
uaudio_add_selector: NOT IMPLEMENTED
uaudio_add_selector: NOT IMPLEMENTED
uaudio_add_selector: NOT IMPLEMENTED
uaudio0: audio rev 1.00, 28 mixer controls
audio1 at uaudio0
wsdisplay0: screen 1 deleted
wsdisplay0: screen 1 added (80x50, vt100 emulation)
wsdisplay0: screen 2 deleted
wsdisplay0: screen 2 added (80x50, vt100 emulation)
wsdisplay0: screen 3 deleted
wsdisplay0: screen 3 added (80x50, vt100 emulation)
wsdisplay0: screen 5 deleted
wsdisplay0: screen 5 added (80x50, vt100 emulation)
--------------------------------------------------------------------------------



audioctl -f /dev/audioctl1 -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=1
fullduplex=1
blocksize=8400
hiwat=7
lowat=1
monitor_gain=0
mode=
play.rate=8000
play.channels=2
play.precision=8
play.encoding=mulaw
play.gain=127
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=65536
record.rate=32000
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
--------------------------------------------------------------------------------

mixerctl -f /dev/mixer1 -a 

--------------------------------------------------------------------------------

outputs.mute=on
outputs.fea6-i4-mute=on
outputs.master=255,255
outputs.fea6-i4-master=255,255
outputs.mute=on
outputs.fea8-i7-mute=on
outputs.master=254,254
outputs.fea8-i7-master=254,254
outputs.master=223
outputs.fea11-i17-maste=223
outputs.master=223
outputs.fea12-i7-master=223
outputs.master=223
outputs.fea13-i4-master=223
ext17-enable=off
outputs.mute=on
outputs.fea18-i16-mute=on
outputs.master=222
outputs.fea18-i16-maste=222
ext21-enable=off
outputs.mute=on
outputs.fea22-i29-mute=on
ext23-enable=off
ext27-enable=off
outputs.mute=on
outputs.fea28-i23-mute=on
outputs.mute=on
outputs.fea30-i31-mute=on

--------------------------------------------------------------------------------


Thanks !
ahb

Reply via email to