2024-09-09 08:52:07 +00:00
|
|
|
.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
|
2024-09-09 08:57:42 +00:00
|
|
|
.B usbip bind
|
2024-09-09 08:52:07 +00:00
|
|
|
before usbipd makes them available to other hosts.
|
|
|
|
|
|
|
|
The daemon accepts connections from USB/IP clients
|
2024-09-09 08:57:42 +00:00
|
|
|
on TCP port 3240 by default.
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
.SH OPTIONS
|
2024-09-09 08:57:42 +00:00
|
|
|
.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
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
.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
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
.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
|
|
|
|
|
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
.IP
|
|
|
|
Print the program help message and exit.
|
|
|
|
.PP
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
.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.
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
server:# usbip list --local
|
2024-09-09 08:52:07 +00:00
|
|
|
- List driver assignments for usb devices.
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
server:# usbip bind --busid=1-2
|
2024-09-09 08:52:07 +00:00
|
|
|
- Bind usbip-host.ko to the device of busid 1-2.
|
|
|
|
- A usb device 1-2 is now exportable to other hosts!
|
2024-09-09 08:57:42 +00:00
|
|
|
- Use 'usbip unbind --busid=1-2' when you want to shutdown exporting and use the device locally.
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
.SH "SEE ALSO"
|
2024-09-09 08:57:42 +00:00
|
|
|
\fBusbip\fP\fB(8)\fB\fP
|
2024-09-09 08:52:07 +00:00
|
|
|
|