Date: Thu, 29 Nov 2018 14:46:47 +1100 From: Brian Scott <bscott@bunyatech.com.au> To: Hans Petter Selasky <hps@selasky.org>, freebsd-arm@freebsd.org Subject: Re: Raspberry PI 2B/3 and USB audio Message-ID: <c5b8e442-b675-eb29-c880-f62282bc6719@bunyatech.com.au> In-Reply-To: <ed084844-2f24-fe91-ed33-f19b0cb82649@selasky.org> References: <87ftw96uq0.wl-herbert@gojira.at> <6beca923-ba25-3814-6bb2-f4cc2d7360d3@selasky.org> <875zx2hyey.wl-herbert@gojira.at> <87lg5fhcgz.wl-herbert@gojira.at> <87k1kzhb8j.wl-herbert@gojira.at> <9dda25f1-9b52-2a50-1b55-00cccee8ee98@selasky.org> <856136a7-c58f-dda0-d50c-f9da55e5eb88@bunyatech.com.au> <b5d07fe0-8b1a-9b59-3241-1bfe7f72b096@selasky.org> <eeca436f-a5b3-2017-9a8d-41c8365dd46b@bunyatech.com.au> <c08832bf-73a0-11aa-729e-bcd4f44cbb39@selasky.org> <7bee717d-70e5-5f09-d5c4-96c72ddbd2f9@bunyatech.com.au> <ed084844-2f24-fe91-ed33-f19b0cb82649@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c5b8e442-b675-eb29-c880-f62282bc6719>