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