Re: [meta-arago][scarthgap][PATCH] udev-aragoconf: remove legacy usb rules

Randolph Sapp <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
On Wed Nov 19, 2025 at 12:21 AM CST, Siddharth Vadapalli wrote:
> On Tue, 2025-11-18 at 15:56 -0600, [email protected] wrote:
>> From: Randolph Sapp <[email protected]>
>> 
>> These rules do not match the current structure of the USB DEVPATH and
>> are not actually fired.
>> 
>> They were initially cited as being help scripts, but I think users
>> should attempt to gracefully bring down the gadget interface on their
>> own instead of relying on a script that will attempt to reload it post
>> mode change.
>> 
>> Signed-off-by: Randolph Sapp <[email protected]>
>
> Additionally, 'configfs' is used for configuring USB Gadget drivers using
> the libcomposite driver. The Gadget Zero 'g_zero' and other USB Gadgets
> should be enabled via 'configfs' as documented at:
> https://docs.kernel.org/usb/gadget_configfs.html
>
> Loading individual Gadget drivers via 'modprobe' is deprecated in favor of
> the above.
>
> Reviewed-by: Siddharth Vadapalli <[email protected]>
>
> Regards,
> Siddharth.

Thanks for the review Siddharth. Could you or someone familiar with the current
USB tooling update the documentation for the DWC3 [1]? I'm not sure if it was
never correctly imported from the processor wiki or what, but it appears there a
sections missing and the content present appears disjointed.

A lot of it can be reduced to links to the upstream DWC3 docs [2] and linked
gadget configfs. At the moment the only thing that even mentions gadget configfs
is the AM62_DWC3 document, and it only does so because of a kconfig code
snippet.

[1] https://github.com/TexasInstruments/processor-sdk-doc/blob/master/source/linux/Foundational_Components/Kernel/Kernel_Drivers/USB/DWC3.rst
[2] https://docs.kernel.org/driver-api/usb/dwc3.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.