Re: The "bus for gadgets" is preventing the use of multiple UDCs

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

 



On Wed, Jan 04, 2023 at 06:07:23PM +0200, Heikki Krogerus wrote:
> Hi,
> 
> Before the introduction of this bus it was possible to use configfs
> with multiple device controllers:
> 
>         echo "dwc3.1.auto" > usb_gadget/g1/UDC
>         echo "dwc3.2.auto" > usb_gadget/g2/UDC
> 
> But now only one UDC can be assigned. When I try to assign the second
> UDC for g2, I get this error:
> 
>         Error: Driver 'configfs-gadget' is already registered, aborting...
>         UDC core: g2: driver registration failed: -16

Two separate patches have been submitted to fix this.  See:

https://lore.kernel.org/linux-usb/20221213220354.628013-1-Frank.Li@xxxxxxx/
https://lore.kernel.org/linux-usb/20221221091317.19380-1-chanh@xxxxxxxxxxxxxxxxxxxxxx/

So far, neither of them has been merged.

Alan Stern



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

  Powered by Linux