1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/usbip.md
Managor ae436c1b00
linux/*: add option placeholders (#16192)
* batch1

* batch2

* batch3

* batch4

* Update matchpathcon.md

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-04-19 21:21:53 +00:00

761 B

usbip

Use USB devices remotely. More information: https://usbip.sourceforge.net.

  • List all local USB devices and their bus ID's:

usbip list {{[-l|--local]}}

  • Start a usbip daemon on the server:

systemctl start usbipd

  • Bind a USB device to usbip on the server:

sudo usbip bind {{[-b|--busid]}} {{bus_id}}

  • Load the kernel module required by usbip on the client:

sudo modprobe vhci-hcd

  • Attach to the usbip device on the client (bus ID is the same as on the server):

sudo usbip attach {{[-r|--remote]}} {{ip_address}} {{[-b|--busid]}} {{bus_id}}

  • List attached devices:

usbip port

  • Detach from a device:

sudo usbip detach {{[-p|--port]}} {{port}}

  • Unbind a device:

usbip unbind {{[-b|--busid]}} {{bus_id}}