blob: 81fcfb45491382ea315484bc8feffbcf5f9b7138 [file] [log] [blame]
Krzysztof Opasiakf945c542016-04-27 19:59:21 +02001What: /sys/devices/platform/usbip-vudc.%d/dev_desc
2Date: April 2016
3KernelVersion: 4.6
4Contact: Krzysztof Opasiak <k.opasiak@samsung.com>
5Description:
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
12What: /sys/devices/platform/usbip-vudc.%d/usbip_status
13Date: April 2016
14KernelVersion: 4.6
15Contact: Krzysztof Opasiak <k.opasiak@samsung.com>
16Description:
17 Current status of the device.
18 Allowed values:
19 1 - Device is available and can be exported
20 2 - Device is currently exported
21 3 - Fatal error occurred during communication
22 with peer
23
24What: /sys/devices/platform/usbip-vudc.%d/usbip_sockfd
25Date: April 2016
26KernelVersion: 4.6
27Contact: Krzysztof Opasiak <k.opasiak@samsung.com>
28Description:
29 This file allows to export usb device to
30 connection peer. It is done by writing to this
31 file socket fd (as a string for example "8")
32 associated with a connection to remote peer who
33 would like to use this device. It is possible to
34 close the connection by writing -1 instead of
35 socked fd.