snippetbashTip
usbip — Use USB devices remotely. More information: <https://manned.org/usbip>.
Viewed 0 times
commanddevicesusbipremotelyuseclimoreusb
linux
Problem
How to use the
usbip command: Use USB devices remotely. More information: <https://manned.org/usbip>.Solution
usbip — Use USB devices remotely. More information: <https://manned.org/usbip>.List all local USB devices and their bus ID's:
usbip list {{[-l|--local]}}Start a
usbip daemon on the server:systemctl start usbipdBind 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-hcdAttach 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 portDetach from a device:
sudo usbip detach {{[-p|--port]}} {{port}}Unbind a device:
usbip unbind {{[-b|--busid]}} {{bus_id}}Code Snippets
List all local USB devices and their bus ID's
usbip list {{[-l|--local]}}Start a `usbip` daemon on the server
systemctl start usbipdBind 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-hcdAttach 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}}Context
tldr-pages: linux/usbip
Revisions (0)
No revisions yet.