1 What: /config/usb-gadget/gadget/functions/mass_storage.name
7 =========== ==============================================
8 stall Set to permit function to halt bulk endpoints.
9 Disabled on some USB devices known not to work
10 correctly. You should set it to true.
11 num_buffers Number of pipeline buffers. Valid numbers
12 are 2..4. Available only if
13 CONFIG_USB_GADGET_DEBUG_FILES is set.
14 =========== ==============================================
16 What: /config/usb-gadget/gadget/functions/mass_storage.name/lun.name
22 =========== ==============================================
23 file The path to the backing file for the LUN.
24 Required if LUN is not marked as removable.
25 ro Flag specifying access to the LUN shall be
26 read-only. This is implied if CD-ROM emulation
27 is enabled as well as when it was impossible
28 to open "filename" in R/W mode.
29 removable Flag specifying that LUN shall be indicated as
31 cdrom Flag specifying that LUN shall be reported as
33 nofua Flag specifying that FUA flag
35 =========== ==============================================