mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
While the man page usbipd.8 already informs the user on which kernel module has to be used on server side, the man page usbip.8 does not provide any equivalent information on client side. Also, it could be hard for a newbie to identify the proper usbip client kernel module, due to the name "vhci-hcd" that has no immediate assonance with usbip. Add in usbip.8 the command to add the module vhci-hcd, similarly as it's already present in usbipd.8 for usbip-host. While there, rephrase the description of the command "usbip list --remote=server". Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Acked-by: Shuah Khan <skhan@linuxfoundation.org> -- v1->v2: rephrase the description of command "usbip list ..." fix a typo in commit message Link: https://lore.kernel.org/r/2da8fc9e34440c1fa5f9007baaa3921767cdec50.1593090874.git.borneo.antonio@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
97 lines
1.6 KiB
Groff
97 lines
1.6 KiB
Groff
.TH USBIP "8" "February 2009" "usbip" "System Administration Utilities"
|
|
.SH NAME
|
|
usbip \- manage USB/IP devices
|
|
.SH SYNOPSIS
|
|
.B usbip
|
|
[\fIoptions\fR] <\fIcommand\fR> <\fIargs\fR>
|
|
|
|
.SH DESCRIPTION
|
|
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.
|
|
|
|
.SH OPTIONS
|
|
.HP
|
|
\fB\-\-debug\fR
|
|
.IP
|
|
Print debugging information.
|
|
.PP
|
|
|
|
.HP
|
|
\fB\-\-log\fR
|
|
.IP
|
|
Log to syslog.
|
|
.PP
|
|
|
|
.HP
|
|
\fB\-\-tcp-port PORT\fR
|
|
.IP
|
|
Connect to PORT on remote host (used for attach and list --remote).
|
|
.PP
|
|
|
|
.SH COMMANDS
|
|
.HP
|
|
\fBversion\fR
|
|
.IP
|
|
Show version and exit.
|
|
.PP
|
|
|
|
.HP
|
|
\fBhelp\fR [\fIcommand\fR]
|
|
.IP
|
|
Print the program help message, or help on a specific command, and
|
|
then exit.
|
|
.PP
|
|
|
|
.HP
|
|
\fBattach\fR \-\-remote=<\fIhost\fR> \-\-busid=<\fIbus_id\fR>
|
|
.IP
|
|
Attach a remote USB device.
|
|
.PP
|
|
|
|
.HP
|
|
\fBdetach\fR \-\-port=<\fIport\fR>
|
|
.IP
|
|
Detach an imported USB device.
|
|
.PP
|
|
|
|
.HP
|
|
\fBbind\fR \-\-busid=<\fIbusid\fR>
|
|
.IP
|
|
Make a device exportable.
|
|
.PP
|
|
|
|
.HP
|
|
\fBunbind\fR \-\-busid=<\fIbusid\fR>
|
|
.IP
|
|
Stop exporting a device so it can be used by a local driver.
|
|
.PP
|
|
|
|
.HP
|
|
\fBlist\fR \-\-remote=<\fIhost\fR>
|
|
.IP
|
|
List USB devices exported by a remote host.
|
|
.PP
|
|
|
|
.HP
|
|
\fBlist\fR \-\-local
|
|
.IP
|
|
List local USB devices.
|
|
.PP
|
|
|
|
|
|
.SH EXAMPLES
|
|
|
|
client:# usbip list --remote=server
|
|
- List devices exported by remote server.
|
|
|
|
client:# modprobe vhci-hcd
|
|
|
|
client:# usbip attach --remote=server --busid=1-2
|
|
- Connect the remote USB device.
|
|
|
|
client:# usbip detach --port=0
|
|
- Detach the usb device.
|
|
|
|
.SH "SEE ALSO"
|
|
\fBusbipd\fP\fB(8)\fB\fP
|