3.9.40. usbgadget - Create USB Gadget multifunction device

3.9.40.1. Usage

usbgadget [-adADS]

3.9.40.2. Synopsis

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

3.9.40.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