On 12/22/12 19:20, Remco wrote:
> Beni wrote:
> 
>> Hello everyone,
>>
>> Please forgive my newbie question but I tried for hours to figure this
>> out and it's still unsolved.
>>
>> I tied to use my Samson meteor USB mic with OpenBSD. When I attach it,
>> dmesg tells me that it found an new audio device. The /dev/audioctl1 and
>> /dev/mixer1 both work for the device.
>>
>> Now when I try to play white noise on the integrated headphone port with
>>
>> cat /dev/urandom > /dev/audio1
>>
>> I get
>>
>> cat: stdout: Input/output error
>>
>> and the following messages in dmesg:
>>
>> ehci0: Error opening low/full speed isoc endpoint.
>> A low/full speed device is attached to a USB2 hub, and transaction
>> translations are not yet supported.
>> Reattach the device to the root hub instead.
>> uaudio_chan_open: error creating pipe: err=INVAL endpt=0x01
>>
>> My microphone is attached to the root hub of the machine, so I don't
>> really get what's this all about.
>>
> 
> Are you absolutely sure ? You can deduct that from your dmesg or check/post 
> your USB topology using usbdevs(8).
> 
> I'm able to connect a working USB audio to device not only to a USB 2.0 root 
> hub directly, but also to an USB 1.x hub connected to an USB 2.0 root hub.
> 

Thanks for the tip, usbdevs tells me that I'm probably out of luck
because it looks like Intel built a hub into my box on top of the root
hub. It looks like it's not possible to attach something to the root hub
directly:

addr 1: EHCI root hub, Intel
 addr 2: Rate Matching Hub, Intel
  addr 3: Samson Meteor Mic, Samson Technologies
addr 1: EHCI root hub, Intel
 addr 2: Rate Matching Hub, Intel
  addr 3: USB2.0 Hub, Genesys Logic
   addr 4: Optical USB Mouse, Logitech
  addr 5: daskeyboard, Holtek


> As long as there's no USB 2.0 hub requiring transaction translation (TT) in 
> between I expect it to work. (so the USB 1.x hub connected to an USB 2.0 hub 
> requiring TT connected to an USB 2.0 root hub won't work)
> 
> I'm not sure it's possible that your USB 2.0 root hub requires TT, in which 
> case I fear that you're out of luck. Though if such a thing exists someone 
> might be able to point that out by checking what USB host controller chips(s) 
> your computer has.
> 
>> The full relevant part of dmesg output:
>>
> 
> To most people only the full dmesg is relevant. (your partial dmesg is 
> missing 
> vital information about your host controller(s) and available USB buses)
> 

Ok, since I'm probably stuck now anyway this wont make a difference. But
just in case, here is my full dmesg:

OpenBSD 5.2 (GENERIC.MP) #368: Wed Aug  1 10:04:49 MDT 2012
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8483815424 (8090MB)
avail mem = 8235606016 (7854MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb170 (52 entries)
bios0: vendor Intel Corp. version "BLH6710H.86A.0146.2011.1222.1415"
date 12/22/2011
bios0: Intel Corporation DH67CF
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC SSDT MCFG HPET
acpi0: wakeup devices PS2K(S3) PS2M(S3) UAR1(S3) P0P1(S4) P0P2(S4)
P0P3(S4) P0P4(S4) GBE_(S4) BR20(S3) EUSB(S3) USBE(S3) PEX0(S4) BR21(S4)
PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) PEX6(S4) PEX7(S4) SLPB(S0)
PWRB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3293.02 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,AVX,NXE,LONG,LAHF
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.52 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,AVX,NXE,LONG,LAHF
cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.52 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,AVX,NXE,LONG,LAHF
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.52 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,AVX,NXE,LONG,LAHF
cpu3: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus -1 (P0P2)
acpiprt3 at acpi0: bus -1 (P0P3)
acpiprt4 at acpi0: bus -1 (P0P4)
acpiprt5 at acpi0: bus 1 (PEX0)
acpiprt6 at acpi0: bus -1 (BR21)
acpiprt7 at acpi0: bus 2 (PEX1)
acpiprt8 at acpi0: bus -1 (PEX2)
acpiprt9 at acpi0: bus -1 (PEX3)
acpiprt10 at acpi0: bus -1 (PEX4)
acpiprt11 at acpi0: bus -1 (PEX5)
acpiprt12 at acpi0: bus -1 (PEX6)
acpiprt13 at acpi0: bus -1 (PEX7)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpicpu2 at acpi0: C3, C2, C1, PSS
acpicpu3 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
cpu0: Enhanced SpeedStep 3293 MHz: speeds: 3300, 3100, 2900, 2700, 2500,
2300, 2100, 1900, 1700, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 2000" rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1: apic 0 int 16
drm0 at inteldrm0
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel 82579V" rev 0x05: msi, address
4c:72:b9:31:0c:c3
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
azalia0: codecs: Realtek/0x0892, Intel/0x2805, using Realtek/0x0892
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi
pci2 at ppb1 bus 2
"NEC xHCI" rev 0x03 at pci2 dev 0 function 0 not configured
ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel H67 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi,
AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, Samsung SSD 840, DXT0> SCSI3
0/direct fixed naa.500253855000e5de
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic
0 int 18
iic0 at ichiic0
iic0: addr 0x2d 00=05 01=01 02=42 03=0a 04=0a 05=01 06=01 07=3c 08=00
09=4d 0b=01 20=02 21=01 22=43 23=43 24=4c 25=4f 26=52 27=4d 28=4d 29=4d
2a=7b 2b=a6 31=00 33=4d 34=02 35=5a 36=00 38=00 39=c1 3a=02 3b=01 3c=24
3d=46 3f=00 40=4d 42=4d 43=4d 44=25 45=00 46=00 47=00 48=01 4e=01 50=18
51=80 52=00 53=4b 54=00 55=50 56=05 57=fe words 00=05ff 01=01ff 02=42ff
03=0aff 04=0aff 05=01ff 06=01ff 07=3cff
iic0: addr 0x4b 40=14 words 00=ffff 01=ffff 02=ffff 03=ffff 04=ffff
05=ffff 06=ffff 07=ffff
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-10600
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
spkr0 at pcppi0
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub4 at uhub3 port 7 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 3
uhidev0 at uhub4 port 1 configuration 1 interface 0 "Logitech Optical
USB Mouse" rev 2.00/3.40 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub3 port 8 configuration 1 interface 0 "Holtek daskeyboard"
rev 1.10/3.90 addr 5
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub3 port 8 configuration 1 interface 1 "Holtek daskeyboard"
rev 1.10/3.90 addr 5
uhidev2: iclass 3/1, 2 report ids
uhid0 at uhidev2 reportid 1: input=6, output=0, feature=0
uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (6c15e4959b9b15bf.a) swap on sd0b dump on sd0b
wsmouse0 detached
ums0 detached
uhidev0 detached
uhidev0 at uhub4 port 1 configuration 1 interface 0 "Logitech Optical
USB Mouse" rev 2.00/3.40 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev0 detached
uhidev0 at uhub4 port 1 configuration 1 interface 0 "Logitech Optical
USB Mouse" rev 2.00/3.40 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uaudio0 at uhub2 port 1 configuration 1 interface 0 "Samson Technologies
Samson Meteor Mic" rev 1.10/1.00 addr 3
uaudio0: audio rev 1.00, 7 mixer controls
audio1 at uaudio0
uhidev3 at uhub2 port 1 configuration 1 interface 3 "Samson Technologies
Samson Meteor Mic" rev 1.10/1.00 addr 3
uhidev3: iclass 3/0, 2 report ids
uhid2 at uhidev3 reportid 1: input=15, output=15, feature=0
uhid3 at uhidev3 reportid 2: input=1, output=0, feature=0


Thank you for your help,

Beni

Reply via email to