sysfs-platform-usbip-vudc 1.1 KB

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