USBIP(8)
β¨ USBIP(8) β usbip π
Okay so, usbip is the manage-USB/IP-devices tool, and it is literally the thing you reach for to manage USB/IP devices π§.
π NAME
usbip β manage USB/IP devices π
π¦ SYNOPSIS
usbip [options] <command> <args>
πΈ DESCRIPTION
Okay bestie, listen up π. On a USB/IP server, you can list, bind, and unbind devices with this program. On a USB/IP client, you can list, attach, and detach devices that USB/IP servers are exporting. It's giving full control β¨.
π OPTIONS
--debugβ Prints debugging info π.--logβ Logs to syslog π.--tcp-port PORTβ Connects toPORTon the remote host. This is used forattachandlist --remoteπ.
π₯ COMMANDS
versionβ Shows the version and exits π.help [command]β Prints the program help message, or help for one specific command, then exits π«Ά.attach --remote=<host> --busid=<bus_id>β Attaches a remote USB device π¦.attach --remote=<host> --device=<dev_id>β Attaches a remote USB gadget. Only works when the remoteusbipdis in device mode π§.detach --port=<port>β Detaches an imported USB device/gadget π.bind --busid=<busid>β Makes a device exportable π.unbind --busid=<busid>β Stops exporting a device so a local driver can use it π.list --remote=<host>β Lists USB devices exported by a remote host π.list --deviceβ Lists USB gadgets of the localusbip-vudc. Only used when the localusbipdis in device mode. Heads up: this can NOT listusbip-vudcUSB gadgets of a remote device-modeusbipdπ ββοΈ.list --localβ Lists local USB devices πΈ.portβ Lists imported devices/gadgets β¨.
β οΈ Heads up:list --devicecan't see gadgets on a remote device-modeusbipd. Only the local one, periodt π.
π EXAMPLES
Okay, here's the basic vibe:
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 port
- List imported devices/gadgets.
client:# usbip detach --port=0
- Detach the usb device.
The following example shows how device mode works π§
server:# usbip list --device
- List gadgets exported by local usbipd server.
client:# modprobe vhci-hcd
client:# usbip attach --remote=server --device=usbip-vudc.0
- Connect the remote USB gadget.
client:# usbip port
- List imported devices/gadgets.
client:# usbip detach --port=0
- Detach the usb gadget.
π SEE ALSO
usbipd(8) β check it out, bestie π
Source: usbip, Sys Admin Utilities, February 2009 π Stay iconic, bestie πβ¨
π¦ where this page comes from
- alpine 3.23: linux-tools-doc 6.19.14-r0 Β· GPL-2.0-only
- alpine 3.24: linux-tools-doc 7.1.5-r0 Β· GPL-2.0-only
- arch rolling: usbip 7.3.1-1 Β· GPL-2.0-only
- debian bookworm: usbip 2.0+6.1.176-1 Β· GPL-2.0-only
- debian bookworm: usbip 2.0+6.1.187-1
- debian bookworm: usbip 2.0+6.1.190-1 Β· GPL-2.0-only
- debian trixie: usbip 2.0+6.12.107-1 Β· GPL-2.0-only
- debian trixie: usbip 2.0+6.12.111-1
- debian trixie: usbip 2.0+6.12.113-1 Β· GPL-2.0-only
- debian trixie: usbip 2.0+6.12.115-2 Β· GPL-2.0-only
- nixos 26.05: usbip-linux 7.3.1
- nixos 26.05: usbip-linux-xanmod 7.2.15
- nixos 26.05: usbip-linux-zen 7.2.14
- nixpkgs unstable: usbip-linux 7.3.1
- nixpkgs unstable: usbip-linux-xanmod 7.2.15
- nixpkgs unstable: usbip-linux-zen 7.2.14
- ubuntu jammy: linux-intel-iot-realtime-tools-common 5.15.0-1073.75
- ubuntu jammy: linux-intel-iotg-tools-common 5.15.0-1112.118
- ubuntu jammy: linux-intel-iotg-tools-common 5.15.0-1114.120
- ubuntu jammy: linux-nvidia-tegra-igx-tools-common 5.15.0-1018.18
- ubuntu jammy: linux-nvidia-tegra-tools-common 5.15.0-1030.30
- ubuntu jammy: linux-tools-common 5.15.0-198.208
- ubuntu jammy: linux-tools-common 5.15.0-202.212
- ubuntu jammy: linux-xilinx-zynqmp-tools-common 5.15.0-1053.57
- ubuntu noble: linux-tools-common 6.8.0-146.146
- ubuntu noble: linux-tools-common 6.8.0-147.147
- ubuntu noble: linux-tools-common 6.8.0-31.31
- ubuntu questing: linux-tools-common 6.17.0-41.41
- ubuntu questing: linux-tools-common 6.17.0-5.5
- ubuntu resolute: linux-tools-common 7.0.0-14.14
- ubuntu resolute: linux-tools-common 7.0.0-38.38
- ubuntu resolute: linux-tools-common 7.0.0-42.42
- ubuntu stonking: linux-tools-common 7.3.0-10.10
- ubuntu stonking: linux-tools-common 7.3.0-9.9
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms