Re: Question about f_uac1 gadget

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

 



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

Noah

On 3/6/23 21:41, Ruslan Bilovol wrote:
On Mon, Mar 6, 2023 at 7:24 PM Noah Causin <n0manletter@xxxxxxxxx> wrote:

Hi,

I was wondering if the f_uac1 gadget supports more than two channels of
audio.

Yes it does, see channel mask configfs configuration options for
capture/playback
in the documentation for UAC1 function:
https://www.kernel.org/doc/Documentation/ABI/testing/configfs-usb-gadget-uac1

Regards,
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