configfs-usb-gadget-mass-storage 1.0 KB

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