Skip to content

Instantly share code, notes, and snippets.

@tomclegg
Created February 8, 2015 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomclegg/20881cba486a8af09018 to your computer and use it in GitHub Desktop.
Save tomclegg/20881cba486a8af09018 to your computer and use it in GitHub Desktop.

server

modprobe usbip-host
usbipd &
usbip list -l
#Local USB devices
#=================
# - busid 5-2 (1235:8016)
#         5-2:1.0 -> snd-usb-audio
#         5-2:1.1 -> snd-usb-audio
#         5-2:1.2 -> snd-usb-audio
#         5-2:1.3 -> unknown
usbip bind --busid 5-2

client

apt-get install usbip
usbip list --remote 10.0.1.20
usbip attach --host 10.0.1.20 --busid 5-2
arecord --format cd --file-type raw | hd | head
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment