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