usbipd.8 1.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
.TH USBIP "8" "February 2009" "usbip" "System Administration Utilities"
.SH NAME
usbipd \- USB/IP server daemon
.SH SYNOPSIS
.B usbipd
[\fIoptions\fR]

.SH DESCRIPTION
.B usbipd
provides USB/IP clients access to exported USB devices.

Devices have to explicitly be exported using
13
.B usbip bind
14 15 16
before usbipd makes them available to other hosts.

The daemon accepts connections from USB/IP clients
17
on TCP port 3240 by default.
18 19

.SH OPTIONS
20 21 22 23 24 25 26 27 28 29 30 31
.HP
\fB\-4\fR, \fB\-\-ipv4\fR
.IP
Bind to IPv4. Default is both.
.PP

.HP
\fB\-6\fR, \fB\-\-ipv6\fR
.IP
Bind to IPv6. Default is both.
.PP

32 33 34 35 36 37 38 39 40 41 42 43
.HP
\fB\-D\fR, \fB\-\-daemon\fR
.IP
Run as a daemon process.
.PP

.HP
\fB\-d\fR, \fB\-\-debug\fR
.IP
Print debugging information.
.PP

44 45 46 47 48 49 50 51 52 53 54 55 56
.HP
\fB\-PFILE\fR, \fB\-\-pid FILE\fR
.IP
Write process id to FILE.
.br
If no FILE specified, use /var/run/usbipd.pid
.PP

\fB\-tPORT\fR, \fB\-\-tcp\-port PORT\fR
.IP
Listen on TCP/IP port PORT.
.PP

57 58 59 60 61
\fB\-h\fR, \fB\-\-help\fR
.IP
Print the program help message and exit.
.PP

62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
.HP
\fB\-v\fR, \fB\-\-version\fR
.IP
Show version.
.PP

.SH LIMITATIONS

.B usbipd
offers no authentication or authorization for USB/IP. Any
USB/IP client can connect and use exported devices.

.SH EXAMPLES

    server:# modprobe usbip

    server:# usbipd -D
        - Start usbip daemon.

81
    server:# usbip list --local
82 83
        - List driver assignments for usb devices.

84
    server:# usbip bind --busid=1-2
85
        - Bind usbip-host.ko to the device of busid 1-2.
86
        - A usb device 1-2 is now exportable to other hosts!
87
        - Use 'usbip unbind --busid=1-2' when you want to shutdown exporting and use the device locally.
88 89

.SH "SEE ALSO"
90
\fBusbip\fP\fB(8)\fB\fP
91