.. index:: usbgadget (command) .. _command_usbgadget: usbgadget - Create USB Gadget multifunction device ================================================== Usage ^^^^^ ``usbgadget [-adADS]`` Synopsis ^^^^^^^^ :: Enable / disable a USB composite gadget on the USB device interface. Options ^^^^^^^ -a Create CDC ACM function -A \ 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-\' partitions) -D \ Create DFU function. If 'desc' is not provided, try to use 'global.usbgadget.dfu\_function' variable. -S \ Create USB Mass Storage function. If 'desc' is not provided, fall back directly to 'global.system.partitions' variable. -d Disable the currently running gadget .. generated from: ./commands/usbgadget.c .. command function: do_usbgadget