On Thu, 31 Jul 2014 12:55:47 +0200
Alexandre Ratchov wrote:
> On Thu, Jul 31, 2014 at 12:48:35AM +0200, Erwin Geerdink wrote:
> > Hi,
> >
> > I'm considering the following usb interfaces for my audio setup:
> >
> > E-MU 0204 usb
> > E-MU Tracker Pre
> > Presonus Audiobox usb
> > Alesis IO|2 Express
> >
> > Recording will be done on a Windows machine, however it would be
> > nice if I can use it for audio playback from an OpenBSD machine as
> > well. I found the envy(4) and emu(4) man pages but I'm still not
> > sure whether playback would work with any of these devices.
> >
> > Anyone experiences or suggestions?
> >
>
> Hi,
>
> These devices are handled by the uaudio driver, assuming they are
> USB class compliant (driverless ones are likely to be).
>
> Unfortunately, on OpenBSD, USB1.1 devices using isochronous
> transfers don't work behind USB 2.0 hubs yet. In other words USB1.1
> audio cards are unlikely work on modern machines. I'd suggest you
> to test the cards if possible (just plug it try to play a simple
> .wav file).
>
> Another option, would be to get a old USB1.1 adapter and attach the
> USB1.1 card on it.
For the records, the Alesis io2 Express appears to work fine under
OpenBSD. The device has 2 channels, for each channel line out,
line in and mic in are working properly (I did not test the insert
jack and midi connections, but the latter do appear in dmesg). Headphone
out works great too, but the mono/stereo switch does not have any
effect. The monitor mix knob (direct/usb) also functions correctly.
So far I'm very happy with this usb soundcard under OpenBSD, big thanks
to the devs!
dmesg and audioctl output is attached below. There are no mixerctl
variables.
$dmesg
OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug 8 00:20:21 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8034123776 (7661MB)
avail mem = 7811473408 (7449MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (53 entries)
bios0: vendor Award Software International, Inc. version "F4" date
10/19/2012 bios0: Gigabyte Technology Co., Ltd. GA-78LMT-USB3
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP MSDM HPET MCFG TAMG APIC SSDT
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3)
USB5(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4)
PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD FX(tm)-8320 Eight-Core Processor , 33750.19 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,
CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,
LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,
XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache,
2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries
fully associative cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD FX(tm)-8320 Eight-Core Processor , 3515.55 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,
CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,
LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,
XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache,
2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries
fully associative cpu1: smt 0, core 3, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD FX(tm)-8320 Eight-Core Processor , 3515.55 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,
CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,
LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,
XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache,
2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fu