brintos

brintos / linux-shallow public Read only

0
0
Text · 2.5 KiB · 1f26e4a Raw
138 lines · plain
1.TH USBIP "8" "February 2009" "usbip" "System Administration Utilities"2.SH NAME3usbip \- manage USB/IP devices4.SH SYNOPSIS5.B usbip6[\fIoptions\fR] <\fIcommand\fR> <\fIargs\fR>7 8.SH DESCRIPTION9On a USB/IP server, devices can be listed, bound, and unbound using10this program.  On a USB/IP client, devices exported by USB/IP servers11can be listed, attached and detached.12 13.SH OPTIONS14.HP15\fB\-\-debug\fR16.IP17Print debugging information.18.PP19 20.HP21\fB\-\-log\fR22.IP23Log to syslog.24.PP25 26.HP27\fB\-\-tcp-port PORT\fR28.IP29Connect to PORT on remote host (used for attach and list --remote).30.PP31 32.SH COMMANDS33.HP34\fBversion\fR35.IP36Show version and exit.37.PP38 39.HP40\fBhelp\fR [\fIcommand\fR]41.IP42Print the program help message, or help on a specific command, and43then exit.44.PP45 46.HP47\fBattach\fR \-\-remote=<\fIhost\fR> \-\-busid=<\fIbus_id\fR>48.IP49Attach a remote USB device.50.PP51 52.HP53\fBattach\fR \-\-remote=<\fIhost\fR> \-\-device=<\fIdev_id\fR>54.IP55Attach a remote USB gadget.56Only used when the remote usbipd is in device mode.57.PP58 59.HP60\fBdetach\fR \-\-port=<\fIport\fR>61.IP62Detach an imported USB device/gadget.63.PP64 65.HP66\fBbind\fR \-\-busid=<\fIbusid\fR>67.IP68Make a device exportable.69.PP70 71.HP72\fBunbind\fR \-\-busid=<\fIbusid\fR>73.IP74Stop exporting a device so it can be used by a local driver.75.PP76 77.HP78\fBlist\fR \-\-remote=<\fIhost\fR>79.IP80List USB devices exported by a remote host.81.PP82 83.HP84\fBlist\fR \-\-device85.IP86List USB gadgets of local usbip-vudc.87Only used when the local usbipd is in device mode.88Note that this can not list usbip-vudc USB gadgets of the remote device mode usbipd.89.PP90 91.HP92\fBlist\fR \-\-local93.IP94List local USB devices.95.PP96 97.HP98\fBport\fR99.IP100List imported devices/gadgets.101.PP102 103 104.SH EXAMPLES105 106    client:# usbip list --remote=server107        - List devices exported by remote server.108 109    client:# modprobe vhci-hcd110 111    client:# usbip attach --remote=server --busid=1-2112        - Connect the remote USB device.113 114    client:# usbip port115        - List imported devices/gadgets.116 117    client:# usbip detach --port=0118        - Detach the usb device.119 120The following example shows the usage of device mode121 122    server:# usbip list --device123        - List gadgets exported by local usbipd server.124 125    client:# modprobe vhci-hcd126 127    client:# usbip attach --remote=server --device=usbip-vudc.0128        - Connect the remote USB gadget.129 130    client:# usbip port131        - List imported devices/gadgets.132 133    client:# usbip detach --port=0134        - Detach the usb gadget.135 136.SH "SEE ALSO"137\fBusbipd\fP\fB(8)\fB\fP138