Hyperion with usbip to dd-wrt

  • 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.


    Hope this is of some use to someone - if anyone's interested I can provide more specific details.

  • I just did some quick network traffic measurements on this setup.


    Setup:
    hyperion (not hyperion.ng) with 46 leds
    "type" : "adalight",
    "output" : "/dev/ttyUSB0",
    "rate" : 115200,
    smoothing disabled


    1) usbip configured but hyperiond NOT running - 0 bytes/sec
    2) hyperiond idle - 6K byte/sec
    3) hyperiond running rainbow swirl fast - 14K byte/sec


    I havent measured the latency, but rapidly changing the colours on the iphone app doesnt show any lag

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!