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