.. 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,fallback directly to 'global.system.partitions' variable. -d Disable the currently running gadget .. generated from: /ptx/work/WORK_EIHEI/sha/backup/barebox/barebox-maintainer-utils/barebox/commands/usbgadget.c .. command function: do_usbgadget