aboutsummaryrefslogtreecommitdiff
path: root/example-cdc-gnu-linux/README
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-06-27 15:45:04 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2017-06-27 15:46:04 +0900
commitd142cbbea3d40ef6b196c434298237c63204cd1a (patch)
tree5c38a4905a94350edc857cab4a499276529b717b /example-cdc-gnu-linux/README
parentf011d643e99a847f3c537ccfa9967858b4f8a5fc (diff)
Added CDC-ACM sample of USBIP.
Diffstat (limited to 'example-cdc-gnu-linux/README')
-rw-r--r--example-cdc-gnu-linux/README35
1 files changed, 35 insertions, 0 deletions
diff --git a/example-cdc-gnu-linux/README b/example-cdc-gnu-linux/README
new file mode 100644
index 0000000..34d21bc
--- /dev/null
+++ b/example-cdc-gnu-linux/README
@@ -0,0 +1,35 @@
+(1) preparation as root
+
+Don't run ModemManager
+
+# systemctl stop ModemManager
+
+Install USBIP host module
+# modprobe vhci_hcd
+
+
+(2) Run sample program of USBIP server
+
+$ ./sample
+
+
+(3) Use the USB device as root
+
+Attach the Chopstx application program (USBIP device) to USBIP host.
+
+# usbip attach -r 127.0.0.1 -b 1-1
+
+
+(4) Connect CDC-ACM device
+
+$ cu -l /dev/ttyACM0
+
+Then, you see the message from Chopstx. As you type lines, it echos.
+
+Type RET, ~ then . , you can terminate the session.
+
+
+(5) Detach the USBIP device as root
+
+# usbip detach -p 0
+