brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · fc03280 Raw
42 lines · plain
1What:		/config/usb-gadget/gadget/functions/mass_storage.name2Date:		Oct 20133KernelVersion:	3.134Description:5		The attributes:6 7		===========	==============================================8		stall		Set to permit function to halt bulk endpoints.9				Disabled on some USB devices known not to work10				correctly. You should set it to true.11		num_buffers	Number of pipeline buffers. Valid numbers12				are 2..4. Available only if13				CONFIG_USB_GADGET_DEBUG_FILES is set.14		===========	==============================================15 16What:		/config/usb-gadget/gadget/functions/mass_storage.name/lun.name17Date:		Oct 201318KernelVersion:	3.1319Description:20		The attributes:21 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 be26				read-only. This is implied if CD-ROM emulation27				is enabled as well as when it was impossible28				to open "filename" in R/W mode.29		removable	Flag specifying that LUN shall be indicated as30				being removable.31		cdrom		Flag specifying that LUN shall be reported as32				being a CD-ROM.33		nofua		Flag specifying that FUA flag34				in SCSI WRITE(10,12)35		forced_eject	This write-only file is useful only when36				the function is active. It causes the backing37				file to be forcibly detached from the LUN,38				regardless of whether the host has allowed it.39				Any non-zero number of bytes written will40				result in ejection.41		============	==============================================42