162306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/mass_storage.name 262306a36Sopenharmony_ciDate: Oct 2013 362306a36Sopenharmony_ciKernelVersion: 3.13 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci The attributes: 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci =========== ============================================== 862306a36Sopenharmony_ci stall Set to permit function to halt bulk endpoints. 962306a36Sopenharmony_ci Disabled on some USB devices known not to work 1062306a36Sopenharmony_ci correctly. You should set it to true. 1162306a36Sopenharmony_ci num_buffers Number of pipeline buffers. Valid numbers 1262306a36Sopenharmony_ci are 2..4. Available only if 1362306a36Sopenharmony_ci CONFIG_USB_GADGET_DEBUG_FILES is set. 1462306a36Sopenharmony_ci =========== ============================================== 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/mass_storage.name/lun.name 1762306a36Sopenharmony_ciDate: Oct 2013 1862306a36Sopenharmony_ciKernelVersion: 3.13 1962306a36Sopenharmony_ciDescription: 2062306a36Sopenharmony_ci The attributes: 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci ============ ============================================== 2362306a36Sopenharmony_ci file The path to the backing file for the LUN. 2462306a36Sopenharmony_ci Required if LUN is not marked as removable. 2562306a36Sopenharmony_ci ro Flag specifying access to the LUN shall be 2662306a36Sopenharmony_ci read-only. This is implied if CD-ROM emulation 2762306a36Sopenharmony_ci is enabled as well as when it was impossible 2862306a36Sopenharmony_ci to open "filename" in R/W mode. 2962306a36Sopenharmony_ci removable Flag specifying that LUN shall be indicated as 3062306a36Sopenharmony_ci being removable. 3162306a36Sopenharmony_ci cdrom Flag specifying that LUN shall be reported as 3262306a36Sopenharmony_ci being a CD-ROM. 3362306a36Sopenharmony_ci nofua Flag specifying that FUA flag 3462306a36Sopenharmony_ci in SCSI WRITE(10,12) 3562306a36Sopenharmony_ci forced_eject This write-only file is useful only when 3662306a36Sopenharmony_ci the function is active. It causes the backing 3762306a36Sopenharmony_ci file to be forcibly detached from the LUN, 3862306a36Sopenharmony_ci regardless of whether the host has allowed it. 3962306a36Sopenharmony_ci Any non-zero number of bytes written will 4062306a36Sopenharmony_ci result in ejection. 4162306a36Sopenharmony_ci ============ ============================================== 42