| 1 |
What: /sys/devices/platform/usbip-vudc.%d/dev_desc |
| 2 |
Date: April 2016 |
| 3 |
KernelVersion: 4.6 |
| 4 |
Contact: Krzysztof Opasiak <[email protected]> |
| 5 |
Description: |
| 6 |
This file allows to read device descriptor of |
| 7 |
gadget driver which is currently bound to this |
| 8 |
controller. It is possible to read this file |
| 9 |
only if gadget driver is bound, otherwise error |
| 10 |
is returned. |
| 11 |
|
| 12 |
What: /sys/devices/platform/usbip-vudc.%d/usbip_status |
| 13 |
Date: April 2016 |
| 14 |
KernelVersion: 4.6 |
| 15 |
Contact: Krzysztof Opasiak <[email protected]> |
| 16 |
Description: |
| 17 |
Current status of the device. |
| 18 |
Allowed values: |
| 19 |
|
| 20 |
== ========================================== |
| 21 |
1 Device is available and can be exported |
| 22 |
2 Device is currently exported |
| 23 |
3 Fatal error occurred during communication |
| 24 |
with peer |
| 25 |
== ========================================== |
| 26 |
|
| 27 |
What: /sys/devices/platform/usbip-vudc.%d/usbip_sockfd |
| 28 |
Date: April 2016 |
| 29 |
KernelVersion: 4.6 |
| 30 |
Contact: Krzysztof Opasiak <[email protected]> |
| 31 |
Description: |
| 32 |
This file allows to export usb device to |
| 33 |
connection peer. It is done by writing to this |
| 34 |
file socket fd (as a string for example "8") |
| 35 |
associated with a connection to remote peer who |
| 36 |
would like to use this device. It is possible to |
| 37 |
close the connection by writing -1 instead of |
| 38 |
socked fd. |