usbip.8 1.6 KB
Newer Older
1 2 3 4 5
.TH USBIP "8" "February 2009" "usbip" "System Administration Utilities"
.SH NAME
usbip \- manage USB/IP devices
.SH SYNOPSIS
.B usbip
6
[\fIoptions\fR] <\fIcommand\fR> <\fIargs\fR>
7 8

.SH DESCRIPTION
9 10 11
On a USB/IP server, devices can be listed, bound, and unbound using
this program.  On a USB/IP client, devices exported by USB/IP servers
can be listed, attached and detached.
12 13 14

.SH OPTIONS
.HP
15
\fB\-\-debug\fR
16
.IP
17 18 19 20 21 22 23 24 25
Print debugging information.
.PP

.HP
\fB\-\-log\fR
.IP
Log to syslog.
.PP

26 27 28 29 30 31
.HP
\fB\-\-tcp-port PORT\fR
.IP
Connect to PORT on remote host (used for attach and list --remote).
.PP

32 33 34 35 36
.SH COMMANDS
.HP
\fBversion\fR
.IP
Show version and exit.
37 38 39
.PP

.HP
40
\fBhelp\fR [\fIcommand\fR]
41
.IP
42 43
Print the program help message, or help on a specific command, and
then exit.
44 45 46
.PP

.HP
47
\fBattach\fR \-\-remote=<\fIhost\fR> \-\-busid=<\fIbus_id\fR>
48 49 50 51 52 53
.IP
Attach a remote USB device.
.PP

.HP
\fBdetach\fR \-\-port=<\fIport\fR>
54 55 56 57 58
.IP
Detach an imported USB device.
.PP

.HP
59
\fBbind\fR \-\-busid=<\fIbusid\fR>
60
.IP
61
Make a device exportable.
62 63 64
.PP

.HP
65
\fBunbind\fR \-\-busid=<\fIbusid\fR>
66
.IP
67
Stop exporting a device so it can be used by a local driver.
68 69 70
.PP

.HP
71
\fBlist\fR \-\-remote=<\fIhost\fR>
72
.IP
73
List USB devices exported by a remote host.
74 75 76
.PP

.HP
77
\fBlist\fR \-\-local
78
.IP
79
List local USB devices.
80 81
.PP

82

83 84
.SH EXAMPLES

85
    client:# usbip list --remote=server
86 87
        - List exportable usb devices on the server.

88
    client:# usbip attach --remote=server --busid=1-2
89 90
        - Connect the remote USB device.

91
    client:# usbip detach --port=0
92 93 94
        - Detach the usb device.

.SH "SEE ALSO"
95
\fBusbipd\fP\fB(8)\fB\fP