Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | .TH USBIP "8" "February 2009" "usbip" "System Administration Utilities" |
| 2 | .SH NAME |
| 3 | usbip \- manage USB/IP devices |
| 4 | .SH SYNOPSIS |
| 5 | .B usbip |
| 6 | [\fIoptions\fR] <\fIcommand\fR> <\fIargs\fR> |
| 7 | |
| 8 | .SH DESCRIPTION |
| 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. |
| 12 | |
| 13 | .SH OPTIONS |
| 14 | .HP |
| 15 | \fB\-\-debug\fR |
| 16 | .IP |
| 17 | Print debugging information. |
| 18 | .PP |
| 19 | |
| 20 | .HP |
| 21 | \fB\-\-log\fR |
| 22 | .IP |
| 23 | Log to syslog. |
| 24 | .PP |
| 25 | |
| 26 | .HP |
| 27 | \fB\-\-tcp-port PORT\fR |
| 28 | .IP |
| 29 | Connect to PORT on remote host (used for attach and list --remote). |
| 30 | .PP |
| 31 | |
| 32 | .SH COMMANDS |
| 33 | .HP |
| 34 | \fBversion\fR |
| 35 | .IP |
| 36 | Show version and exit. |
| 37 | .PP |
| 38 | |
| 39 | .HP |
| 40 | \fBhelp\fR [\fIcommand\fR] |
| 41 | .IP |
| 42 | Print the program help message, or help on a specific command, and |
| 43 | then exit. |
| 44 | .PP |
| 45 | |
| 46 | .HP |
| 47 | \fBattach\fR \-\-remote=<\fIhost\fR> \-\-busid=<\fIbus_id\fR> |
| 48 | .IP |
| 49 | Attach a remote USB device. |
| 50 | .PP |
| 51 | |
| 52 | .HP |
| 53 | \fBdetach\fR \-\-port=<\fIport\fR> |
| 54 | .IP |
| 55 | Detach an imported USB device. |
| 56 | .PP |
| 57 | |
| 58 | .HP |
| 59 | \fBbind\fR \-\-busid=<\fIbusid\fR> |
| 60 | .IP |
| 61 | Make a device exportable. |
| 62 | .PP |
| 63 | |
| 64 | .HP |
| 65 | \fBunbind\fR \-\-busid=<\fIbusid\fR> |
| 66 | .IP |
| 67 | Stop exporting a device so it can be used by a local driver. |
| 68 | .PP |
| 69 | |
| 70 | .HP |
| 71 | \fBlist\fR \-\-remote=<\fIhost\fR> |
| 72 | .IP |
| 73 | List USB devices exported by a remote host. |
| 74 | .PP |
| 75 | |
| 76 | .HP |
| 77 | \fBlist\fR \-\-local |
| 78 | .IP |
| 79 | List local USB devices. |
| 80 | .PP |
| 81 | |
| 82 | |
| 83 | .SH EXAMPLES |
| 84 | |
| 85 | client:# usbip list --remote=server |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 86 | - List devices exported by remote server. |
| 87 | |
| 88 | client:# modprobe vhci-hcd |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 89 | |
| 90 | client:# usbip attach --remote=server --busid=1-2 |
| 91 | - Connect the remote USB device. |
| 92 | |
| 93 | client:# usbip detach --port=0 |
| 94 | - Detach the usb device. |
| 95 | |
| 96 | .SH "SEE ALSO" |
| 97 | \fBusbipd\fP\fB(8)\fB\fP |