Re: Help with USB speakers

2013-12-13 Thread leonardz
Scan Next TrackItem(Local ): Usage, data= [ 0xb6 ] 182
Scan Previous TrackItem(Global): Report Count, data= [ 0x04 ] 4
Item(Main  ): Input, data= [ 0x06 ] 6Data Variable
Relative No_Wrap LinearPreferred_State
No_Null_Position Non_Volatile BitfieldItem(Global): Usage Page,
data= [ 0xff 0x07 ] 2047(null)
Item(Local ): Usage, data= [ 0x01 ] 1(null)
Item(Global): Report Size, data= [ 0x08 ] 8Item(Global): Report
Count, data= [ 0x0d ] 13Item(Main  ): Input, data= [ 0x06 ] 6
Data Variable Relative No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile BitfieldItem(Local
): Usage, data= [ 0x00 ] 0(null)
Item(Global): Report Count, data= [ 0x0f ] 15Item(Main  ): Output,
data= [ 0x02 ] 2Data Variable Absolute No_Wrap
LinearPreferred_State No_Null_Position
Non_Volatile BitfieldItem(Main  ): End Collection, data=none
Endpoint Descriptor:bLength 7bDescriptorType
5bEndpointAddress 0x87  EP 7 INbmAttributes3
Transfer TypeInterrupt  Synch Type   None
Usage Type   DatawMaxPacketSize 0x0010  1x 16 bytes
bInterval   1Device Status: 0x  (Bus Powered)
Len Zaifman

> From: re...@d-compu.dyndns.org
> To: leona...@sympatico.ca
> Subject: Re: Help with USB speakers
> Date: Fri, 13 Dec 2013 09:13:30 +0100
> CC: misc@openbsd.org
>
> leona...@sympatico.ca wrote:
>
> > I am running openbsd -current
> >  5.4 GENERIC.MP#171 amd64 on a lenovo X1C
> > I just received  some USB speakers with DAC and amplifier. The system can
> > see the speakers but I cannot get them to be used when playing music
> >
> > In messages I see:
> > Dec 12 17:09:16 genetraveller /bsd: uaudio0 at uhub3 port 3 configuration
> > 1 interface 0 "KEF KEF X300A Speaker" rev 1.10/1.07 addr 5Dec 12 17:09:16
> > genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
> > genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
> > genetraveller /bsd: uaudio0: no usable endpoint foundDec 12 17:09:16
> > genetraveller /bsd: uaudio0: audio descriptors make no sense, error=4Dec
> > 12 17:09:16 genetraveller /bsd: uhidev0 at uhub3 port 3 configuration 1
> > interface 2 "KEF KEF X300A Speaker" rev 1.10/1.07 addr 5Dec 12 17:09:16
> > genetraveller /bsd: uhidev0: iclass 3/0, 1 report idDec 12 17:09:16
> > genetraveller /bsd: uhid0 at uhidev0 reportid 1: input=15, output=15,
> > feature=0Dec 12 17:09:16 genetraveller /bsd: ugen0 at uhub3 port 3
> > configuration 1 "KEF KEF X300A Speaker" rev 1.10/1.07 addr 5
> >
> > Does anyone know how to debug this and get it working?
> > Thanks.
> > Len Zaifman
>
> If you use the lsusb command from the usbutils package on this device you
can
> check its USB descriptors.
> Look for:
>   AudioControl Interface Descriptor:
> bLength 9
> bDescriptorType36
> bDescriptorSubtype  1 (HEADER)
> bcdADC   1.00
>
> If bcdADC says something other than "1.00", I think you're out-of-luck.
> I suspect it reads "2.00". AFAICT "Universal Serial Bus Device Class
> Definition for Audio Devices Release 2.0" isn't supported by OpenBSD.
>
> Unless someone else has a better solution, quite likely the uaudio driver
will
> need somebody able to update it for your device to work.



Re: Help with USB speakers

2013-12-13 Thread Remco
leona...@sympatico.ca wrote:

> I am running openbsd -current
>  5.4 GENERIC.MP#171 amd64 on a lenovo X1C
> I just received  some USB speakers with DAC and amplifier. The system can
> see the speakers but I cannot get them to be used when playing music
> 
> In messages I see:
> Dec 12 17:09:16 genetraveller /bsd: uaudio0 at uhub3 port 3 configuration
> 1 interface 0 "KEF KEF X300A Speaker" rev 1.10/1.07 addr 5Dec 12 17:09:16
> genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
> genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
> genetraveller /bsd: uaudio0: no usable endpoint foundDec 12 17:09:16
> genetraveller /bsd: uaudio0: audio descriptors make no sense, error=4Dec
> 12 17:09:16 genetraveller /bsd: uhidev0 at uhub3 port 3 configuration 1
> interface 2 "KEF KEF X300A Speaker" rev 1.10/1.07 addr 5Dec 12 17:09:16
> genetraveller /bsd: uhidev0: iclass 3/0, 1 report idDec 12 17:09:16
> genetraveller /bsd: uhid0 at uhidev0 reportid 1: input=15, output=15,
> feature=0Dec 12 17:09:16 genetraveller /bsd: ugen0 at uhub3 port 3
> configuration 1 "KEF KEF X300A Speaker" rev 1.10/1.07 addr 5
> 
> Does anyone know how to debug this and get it working?
> Thanks.
> Len Zaifman

If you use the lsusb command from the usbutils package on this device you can 
check its USB descriptors.
Look for:
  AudioControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  1 (HEADER)
bcdADC   1.00
 
If bcdADC says something other than "1.00", I think you're out-of-luck.
I suspect it reads "2.00". AFAICT "Universal Serial Bus Device Class 
Definition for Audio Devices Release 2.0" isn't supported by OpenBSD.

Unless someone else has a better solution, quite likely the uaudio driver will 
need somebody able to update it for your device to work.



Help with USB speakers

2013-12-12 Thread leonardz
I am running openbsd -current
 5.4 GENERIC.MP#171 amd64 on a lenovo X1C
I just received  some USB speakers with DAC and amplifier. The system can see
the speakers but I cannot get them to be used when playing music

In messages I see:
Dec 12 17:09:16 genetraveller /bsd: uaudio0 at uhub3 port 3 configuration 1
interface 0 "KEF KEF X300A Speaker" rev 1.10/1.07 addr 5Dec 12 17:09:16
genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
genetraveller /bsd: uaudio0: no usable endpoint foundDec 12 17:09:16
genetraveller /bsd: uaudio0: audio descriptors make no sense, error=4Dec 12
17:09:16 genetraveller /bsd: uhidev0 at uhub3 port 3 configuration 1 interface
2 "KEF KEF X300A Speaker" rev 1.10/1.07 addr 5Dec 12 17:09:16 genetraveller
/bsd: uhidev0: iclass 3/0, 1 report idDec 12 17:09:16 genetraveller /bsd:
uhid0 at uhidev0 reportid 1: input=15, output=15, feature=0Dec 12 17:09:16
genetraveller /bsd: ugen0 at uhub3 port 3 configuration 1 "KEF KEF X300A
Speaker" rev 1.10/1.07 addr 5

Does anyone know how to debug this and get it working?
Thanks.
Len Zaifman