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

Siddharth Vadapalli <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
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.
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.