^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /config/usb-gadget/gadget/functions/mass_storage.name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 3.13
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) The attributes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) =========== ==============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) stall Set to permit function to halt bulk endpoints.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Disabled on some USB devices known not to work
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) correctly. You should set it to true.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) num_buffers Number of pipeline buffers. Valid numbers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) are 2..4. Available only if
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) CONFIG_USB_GADGET_DEBUG_FILES is set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) =========== ==============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) What: /config/usb-gadget/gadget/functions/mass_storage.name/lun.name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) KernelVersion: 3.13
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) The attributes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) =========== ==============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) file The path to the backing file for the LUN.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Required if LUN is not marked as removable.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) ro Flag specifying access to the LUN shall be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) read-only. This is implied if CD-ROM emulation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) is enabled as well as when it was impossible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) to open "filename" in R/W mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) removable Flag specifying that LUN shall be indicated as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) being removable.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) cdrom Flag specifying that LUN shall be reported as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) being a CD-ROM.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) nofua Flag specifying that FUA flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) in SCSI WRITE(10,12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) =========== ==============================================