not really a showcase, but I wanted to get some Hyperion leds hanging off my access point.
I noticed my net gear r8000 with dd-wrt support sharing its USB points over the network with usbip.
A quick test with the adalight arduino sketch seems to work great.
Hyperiond is running on a ubuntu 16 virtual machine with the adalight protocol talking to /dev/ttyUSB0
Usbip was setup on the r8000 with the physical usb device to be shared over the network:
Code
root@r8000:~# usbip list -l
- busid 2-1 (0403:6001)
Future Technology Devices International, Ltd : FT232 Serial (UART) IC (0403:6001)
root@r8000:~# usbip bind -b 2-1
usbip: info: bind device on busid 2-1: complete
Usbip was setup on the ubuntu box to bind the remote device that's plugged into the r8000.
Code
apt-get install linux-cloud-tools-generic linux-tools-common linux-tools-generic
root@ubuntu:~# usbip list -r r8000
usbip: error: failed to open /usr/share/hwdata//usb.ids
Exportable USB devices
======================
- r8000
2-1: unknown vendor : unknown product (0403:6001)
: /sys/devices/pci0000:00/0000:00:0b.0/usb2/2-1
: (Defined at Interface level) (00/00/00)
root@ubuntu:~# modprobe vhci-hcd
root@ubuntu:~# usbip attach -r r8000.home -b 2-1
root@ubuntu:~# dmesg | tail -5
[ 179.588246] usbcore: registered new interface driver ftdi_sio
[ 179.588246] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 179.588446] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
[ 179.588446] usb 2-1: Detected FT232RL
[ 179.591686] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
Alles anzeigen
Hope this is of some use to someone - if anyone's interested I can provide more specific details.