[PATCH v2 06/11] usbip: readme about user space URBs transmission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Addition to README regarding user space URBs transmission.

Signed-off-by: Nobuo Iwata <nobuo.iwata@xxxxxxxxxxxxxxx>
---
 tools/usb/usbip/README | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/tools/usb/usbip/README b/tools/usb/usbip/README
index 74f4afb..6b61da5 100644
--- a/tools/usb/usbip/README
+++ b/tools/usb/usbip/README
@@ -98,6 +98,28 @@ Application-side: a machine runs an application software uses remote USB device.
 	- Unbind usbip-host.ko from the device.
 
 
+[Userspace Transmission]
+
+In usage shown above, once USB devices are imported or exported, USP/IP drivers send and receive URBs in kernel space. The usbip_ux.ko kernel module alternates the route to user space by forwarding USBs through USB/IP utilities (ie. usbip, usbipd, usbipa). When userspace transmission enabled, usbip attach and connect will continue executing until usbip detach or disconnect is exeuted.
+
+    app:# insmod usbip-core.ko
+    app:# insmod usbip-ux.ko
+    app:# insmod vhci-hcd.ko
+
+    app:# usbipa -D
+
+    dev:# insmod usbip-core.ko
+    dev:# insmod usbip-ux.ko
+    dev:# insmod usbip-host.ko
+
+    dev:# usbip connect --remote <host> --busid <busid>
+	- Continue running.
+	- Until disconnect command is executed in other terminal window.
+
+    dev:# usbip disconnect --remote <host> --busid <busid>
+	- Stops transission, quits connect command and disconnect device.
+
+
 [Example]
 ---------------------------
 	DEVICE SIDE
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux