Re: Question about f_uac1 gadget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 8, 2023 at 11:24 PM Noah Causin <n0manletter@xxxxxxxxx> wrote:
>
> Hi Ruslan,
>
> I can't seem to get the f_uac1 to work with more than 2 channels. I'm
> able to setup f_uac2 with 8 channels.
>
> I've tried a 5.1 and 7.1 setup (c_chmask=63 or 255, c_srate=44100,
> c_ssize=2) but I get a urb 0 error on the connected Linux laptop and the
> gnome sound-test freezes when testing a channel, no errors on the gadget
> device. My usb controller is a DWC3 on a RockPro64 board.
>
> usb 3-2: USB disconnect, device number 9
> usb 3-2: new high-speed USB device number 10 using xhci_hcd
> usb 3-2: New USB device found, idVendor=1d6b, idProduct=0104, bcdDevice=
> 1.00
> usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 3-2: Product: audioproduct
> usb 3-2: Manufacturer: audiomanufacturer
> usb 3-2: SerialNumber: audioserial
> usb 3-2: cannot submit urb 0, error -90: internal error

Hmmm.. I also can reproduce this issue, it seems that's some bug in the
host USB audio driver. At least I see that it tries to send packets with size
bigger than the endpoint's max packet size.

I reproduced it on my Debian laptop with (kernel v6.1) and can't reproduce
on older Ubuntu with kernel v5.4.

BTW Noah what is the kernel version on your laptop where you see
this issue?

Thanks,
Ruslan




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux