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