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