0001 What: /sys/devices/platform/usbip-vudc.%d/dev_desc
0002 Date: April 2016
0003 KernelVersion: 4.6
0004 Contact: Krzysztof Opasiak <k.opasiak@samsung.com>
0005 Description:
0006 This file allows to read device descriptor of
0007 gadget driver which is currently bound to this
0008 controller. It is possible to read this file
0009 only if gadget driver is bound, otherwise error
0010 is returned.
0011
0012 What: /sys/devices/platform/usbip-vudc.%d/usbip_status
0013 Date: April 2016
0014 KernelVersion: 4.6
0015 Contact: Krzysztof Opasiak <k.opasiak@samsung.com>
0016 Description:
0017 Current status of the device.
0018 Allowed values:
0019
0020 == ==========================================
0021 1 Device is available and can be exported
0022 2 Device is currently exported
0023 3 Fatal error occurred during communication
0024 with peer
0025 == ==========================================
0026
0027 What: /sys/devices/platform/usbip-vudc.%d/usbip_sockfd
0028 Date: April 2016
0029 KernelVersion: 4.6
0030 Contact: Krzysztof Opasiak <k.opasiak@samsung.com>
0031 Description:
0032 This file allows to export usb device to
0033 connection peer. It is done by writing to this
0034 file socket fd (as a string for example "8")
0035 associated with a connection to remote peer who
0036 would like to use this device. It is possible to
0037 close the connection by writing -1 instead of
0038 socked fd.