On 04/01/2023 23:26, Alan Stern wrote:
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.
Yes, I'm testing the patch v3 and will be sent out soon.
Chanh Ng