Raspberry PI 2B/3 and USB audio
Hans Petter Selasky
hps at selasky.org
Wed Nov 28 11:41:22 UTC 2018
On 11/28/18 11:28 AM, Brian Scott wrote:
> On 28/11/18 9:22 pm, Hans Petter Selasky wrote:
>> On 11/28/18 11:13 AM, Brian Scott wrote:
>>> On 28/11/18 7:45 pm, Hans Petter Selasky wrote:
>>>> On 11/28/18 1:46 AM, Brian Scott wrote:
>>>>> On 27/11/18 6:38 pm, Hans Petter Selasky wrote:
>>>>>> On 11/26/18 8:47 PM, Herbert J. Skuhra wrote:
>>>>>>> Well, this USB sound card works perfectly fine on my desktop PC
>>>>>>> running FreeBSD (amd64).
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> There is a problem in the DWC OTG USB controller driver that it
>>>>>> cannot
>>>>>> handle the big data payload 24-bit 48KHz sampling requires.
>>>>>> Unfortunately your device has only one sample size selection.
>>>>>>
>>>>>> If you buy a USB sound device marked as "HIGH SPEED USB" it should
>>>>>> work. Yours is "spd=FULL".
>>>>>>
>>>>>> --HPS
>>>>> Just an additional data point,
>>>>>
>>>>> This one also sounds like junk but is high speed:
>>>>>
>>>>> ugen0.6: <Generic USB Audio> at usbus0, cfg=0 md=HOST spd=HIGH
>>>>> (480Mbps) pwr=ON (100mA)
>>>>>
>>>>> bLength = 0x0012
>>>>> bDescriptorType = 0x0001
>>>>> bcdUSB = 0x0200
>>>>> bDeviceClass = 0x0000 <Probed by interface class>
>>>>> bDeviceSubClass = 0x0000
>>>>> bDeviceProtocol = 0x0000
>>>>> bMaxPacketSize0 = 0x0040
>>>>> idVendor = 0x0bda
>>>>> idProduct = 0x4040
>>>>> bcdDevice = 0x0000
>>>>> iManufacturer = 0x0003 <Generic>
>>>>> iProduct = 0x0001 <USB Audio>
>>>>> iSerialNumber = 0x0002 <201405280001>
>>>>> bNumConfigurations = 0x0001
>>>>>
Hi,
Can you also dump the device descriptors?
usbconfig -d 0.6 dump_curr_config_desc
And can you capture with usbdump some traffic while doing playback?
usbdump -i usbus0 -f 6 -s 65536 -vvv > ~/log.txt
And this device works fine using a regular PC with FreeBSD installed?
--HPS
More information about the freebsd-arm
mailing list