Raspberry PI 2B/3 and USB audio

Brian Scott bscott at bunyatech.com.au
Thu Nov 29 03:46:54 UTC 2018


On 28/11/18 10:40 pm, Hans Petter Selasky wrote:
> 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

Also, further to my previous email, when I removed the adapter to test
elsewhere I started getting:

Nov 29 14:01:51 time kernel: ugen0.6: <Generic USB Audio> at usbus0
(disconnected)
Nov 29 14:01:51 time kernel: uaudio0: at uhub1, port 4, addr 6
(disconnected)
Nov 29 14:01:51 time kernel: pcm0: unregister: mixer busy
Nov 29 14:01:51 time kernel: pcm0: Waiting for sound application to exit!
Nov 29 14:01:54 time kernel: pcm0: unregister: mixer busy
Nov 29 14:01:54 time kernel: pcm0: Waiting for sound application to exit!
Nov 29 14:01:56 time kernel: pcm0: unregister: mixer busy
Nov 29 14:01:56 time kernel: pcm0: Waiting for sound application to exit!
Nov 29 14:01:57 time kernel: pcm0: unregister: mixer busy
Nov 29 14:01:57 time kernel: pcm0: Waiting for sound application to exit!
Nov 29 14:02:00 time kernel: pcm0: unregister: mixer busy
Nov 29 14:02:00 time kernel: pcm0: Waiting for sound application to exit!
Nov 29 14:02:02 time kernel: pcm0: unregister: mixer busy
Nov 29 14:02:02 time kernel: pcm0: Waiting for sound application to exit!

The USB connected keyboard and mouse are frozen.

Cheers,

Brian



More information about the freebsd-arm mailing list