1 .TH USBIP "8" "February 2009" "usbip" "System Administration Utilities"
3 usbip \- manage USB/IP devices
6 [\fIoptions\fR] <\fIcommand\fR> <\fIargs\fR>
9 On a USB/IP server, devices can be listed, bound, and unbound using
10 this program. On a USB/IP client, devices exported by USB/IP servers
11 can be listed, attached and detached.
17 Print debugging information.
27 \fB\-\-tcp-port PORT\fR
29 Connect to PORT on remote host (used for attach and list --remote).
36 Show version and exit.
40 \fBhelp\fR [\fIcommand\fR]
42 Print the program help message, or help on a specific command, and
47 \fBattach\fR \-\-remote=<\fIhost\fR> \-\-busid=<\fIbus_id\fR>
49 Attach a remote USB device.
53 \fBattach\fR \-\-remote=<\fIhost\fR> \-\-device=<\fIdev_id\fR>
55 Attach a remote USB gadget.
56 Only used when the remote usbipd is in device mode.
60 \fBdetach\fR \-\-port=<\fIport\fR>
62 Detach an imported USB device/gadget.
66 \fBbind\fR \-\-busid=<\fIbusid\fR>
68 Make a device exportable.
72 \fBunbind\fR \-\-busid=<\fIbusid\fR>
74 Stop exporting a device so it can be used by a local driver.
78 \fBlist\fR \-\-remote=<\fIhost\fR>
80 List USB devices exported by a remote host.
86 List USB gadgets of local usbip-vudc.
87 Only used when the local usbipd is in device mode.
88 Note that this can not list usbip-vudc USB gadgets of the remote device mode usbipd.
94 List local USB devices.
100 List imported devices/gadgets.
106 client:# usbip list --remote=server
107 - List devices exported by remote server.
109 client:# modprobe vhci-hcd
111 client:# usbip attach --remote=server --busid=1-2
112 - Connect the remote USB device.
115 - List imported devices/gadgets.
117 client:# usbip detach --port=0
118 - Detach the usb device.
120 The following example shows the usage of device mode
122 server:# usbip list --device
123 - List gadgets exported by local usbipd server.
125 client:# modprobe vhci-hcd
127 client:# usbip attach --remote=server --device=usbip-vudc.0
128 - Connect the remote USB gadget.
131 - List imported devices/gadgets.
133 client:# usbip detach --port=0
134 - Detach the usb gadget.
137 \fBusbipd\fP\fB(8)\fB\fP