3.9.36. usbgadget - Create USB Gadget multifunction device

3.9.36.1. Usage

usbgadget [-adADS]

3.9.36.2. Synopsis

Enable / disable a USB composite gadget on the USB device interface.

3.9.36.3. Options

-a Create CDC ACM function
-A <desc> Create Android Fastboot function. If ‘desc’ is not provided, try to use ‘global.fastboot.partitions’ variable.
-b include registered barebox update handlers (fastboot specific)
-D <desc> Create DFU function. If ‘desc’ is not provided, try to use ‘global.usbgadget.dfu_function’ variable.
-S <desc> Create USB Mass Storage function. If ‘desc’ is not provided,fallback directly to ‘global.system.partitions’ variable.
-d Disable the currently running gadget