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