3.9.39. usbgadget - Create USB Gadget multifunction device

3.9.39.1. Usage

usbgadget [-adADS]

3.9.39.2. Synopsis

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

3.9.39.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,exported as ‘bbu-<update_handler_name>’ partitions)

-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