Skip to main content

A client-server application for remotely sharing USB devices with usbip

Project description

CI Coverage PyPI License

usb-remote

Client-server software to share USB devices over the network.

Source https://github.com/epics-containers/usb-remote
PyPI uvx usb-remote --version
Docker docker run ghcr.io/epics-containers/usb-remote:latest
Documentation https://epics-containers.github.io/usb-remote
Releases https://github.com/epics-containers/usb-remote/releases

Overview

usb-remote allows USB devices to be easily shared over a network using the Linux usbip service.

A usb-remote server runs on a machine with physical USB devices attached and shares its devices to clients. Clients can connect to multiple servers to access and control their USB devices as if they were locally connected.

Comparison to Digi's AnyWhereUSB

usb-remote is a FOSS alternative to commercial USB-over-Ethernet solutions like Digi's AnyWhereUSB.

Advantages of Digi's AnyWhereUSB:

  • Commercial product with support and warranty
  • Dedicated hardware servers for USB device sharing
  • Excellent security features controlling access to USB devices

Advantages of usb-remote:

  • Good support for UVC isochronous Webcams that do not work with AnyWhereUSB
  • Very simple to setup and use in trusted network environments
  • Free and open source software (FOSS)
  • The server runs on standard hardware such as a $55 Raspberry Pi

Installation

See the Server Setup and Client Setup guides for installation instructions.

Example Client Commands

# List devices on all configured servers
usb-remote list

# List devices on a specific server
usb-remote list --host raspberrypi1

# Attach a device my description substring
# (scans all servers, fails on multiple matches)
usb-remote attach --desc "Camera"

# Attach first matching device across servers
usb-remote attach --desc "Camera" --first

# Attach a device based on serial number - recommended to guarantee unique match
usb-remote attach --serial=1272D8DF

# Detach a device
usb-remote detach --serial=1272D8DF

# Find devices on the 1-4 bus of a specific server, using a glob pattern
usb-remote list --host raspberrypi1 --bus '1-4-*'

Search Arguments:

  • --desc TEXT : substring or glob pattern to match device description
  • --serial TEXT : glob pattern to match device serial number
  • --bus TEXT : glob pattern to match USB bus ID (e.g. 1-4.3)
  • --host TEXT : search a single server by hostname or IP address

Architecture

See the Architecture Reference for full details.

See https://epics-containers.github.io/usb-remote for more detailed documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usb_remote-2.2.2.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usb_remote-2.2.2-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

Details for the file usb_remote-2.2.2.tar.gz.

File metadata

  • Download URL: usb_remote-2.2.2.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for usb_remote-2.2.2.tar.gz
Algorithm Hash digest
SHA256 f3a0c93b8176b1c4a44857b1cb8201c0bdbc34cccfc59133de6de6fd45e665d9
MD5 1e3f5c6eeaf9865bb6b58af7faa261d6
BLAKE2b-256 32c4b3b62cb4d23319c08a89865aef14d228b454af6a6f57a84ac1f6ce665e99

See more details on using hashes here.

File details

Details for the file usb_remote-2.2.2-py3-none-any.whl.

File metadata

  • Download URL: usb_remote-2.2.2-py3-none-any.whl
  • Upload date:
  • Size: 29.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for usb_remote-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 133cb0ac9e6ac5f4d6d6fc836d4bd9a37e3f34aa6fda99759be7fbb325109b4b
MD5 8e2082f1087a9900335d0a3ce350bde4
BLAKE2b-256 d316e907f269ba24e3d48b0c093cea624aef670125dded50e088ce13cda25e61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page