~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/usb/usbip/doc/usbip.8

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 \fBattach\fR \-\-remote=<\fIhost\fR> \-\-device=<\fIdev_id\fR>
 54 .IP
 55 Attach a remote USB gadget.
 56 Only used when the remote usbipd is in device mode.
 57 .PP
 58 
 59 .HP
 60 \fBdetach\fR \-\-port=<\fIport\fR>
 61 .IP
 62 Detach an imported USB device/gadget.
 63 .PP
 64 
 65 .HP
 66 \fBbind\fR \-\-busid=<\fIbusid\fR>
 67 .IP
 68 Make a device exportable.
 69 .PP
 70 
 71 .HP
 72 \fBunbind\fR \-\-busid=<\fIbusid\fR>
 73 .IP
 74 Stop exporting a device so it can be used by a local driver.
 75 .PP
 76 
 77 .HP
 78 \fBlist\fR \-\-remote=<\fIhost\fR>
 79 .IP
 80 List USB devices exported by a remote host.
 81 .PP
 82 
 83 .HP
 84 \fBlist\fR \-\-device
 85 .IP
 86 List USB gadgets of local usbip-vudc.
 87 Only used when the local usbipd is in device mode.
 88 Note that this can not list usbip-vudc USB gadgets of the remote device mode usbipd.
 89 .PP
 90 
 91 .HP
 92 \fBlist\fR \-\-local
 93 .IP
 94 List local USB devices.
 95 .PP
 96 
 97 .HP
 98 \fBport\fR
 99 .IP
100 List imported devices/gadgets.
101 .PP
102 
103 
104 .SH EXAMPLES
105 
106     client:# usbip list --remote=server
107         - List devices exported by remote server.
108 
109     client:# modprobe vhci-hcd
110 
111     client:# usbip attach --remote=server --busid=1-2
112         - Connect the remote USB device.
113 
114     client:# usbip port
115         - List imported devices/gadgets.
116 
117     client:# usbip detach --port=0
118         - Detach the usb device.
119 
120 The following example shows the usage of device mode
121 
122     server:# usbip list --device
123         - List gadgets exported by local usbipd server.
124 
125     client:# modprobe vhci-hcd
126 
127     client:# usbip attach --remote=server --device=usbip-vudc.0
128         - Connect the remote USB gadget.
129 
130     client:# usbip port
131         - List imported devices/gadgets.
132 
133     client:# usbip detach --port=0
134         - Detach the usb gadget.
135 
136 .SH "SEE ALSO"
137 \fBusbipd\fP\fB(8)\fB\fP

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php