diff --git a/content/docs/other/dongles-over-ip/_index.md b/content/docs/other/dongles-over-ip/_index.md index ce02964..01693d4 100644 --- a/content/docs/other/dongles-over-ip/_index.md +++ b/content/docs/other/dongles-over-ip/_index.md @@ -19,10 +19,10 @@ This setup uses USB-over-IP to let you plug your Watchman dongles (the ones that ### Dongle host setup -1. Install `usbip` and `python3` on dongle host. On debian/raspbian it's `apt install usbip python3`. +1. Install `usbip` and `python3` on dongle host. On Debian/Raspbian it's `apt install usbip python3`. 2. Put the `usbip-bind` script (from below) on the dongle host, (e.g. into `/root`) `sudo wget https://gist.github.com/galister/2fbd23cfaff8ba4839efa13184e4e197/raw/13b0b2fd6dee609169b6a98b302f6a6ac5c2d307/usbip-bind -O /root/usbip-bind; sudo chmod +x /root/usbip-bind` -3. Set up `usbip-bind bind` to run on startup. On Raspbian: `echo '/root/usbip-bind bind' | sudo tee -a /etc/rc.local` +3. Set up `usbip-bind bind` to run on startup. On Debian/Raspbian: `echo '/root/usbip-bind bind' | sudo tee -a /etc/rc.local` 4. With your dongles plugged in, run `sudo /root/usbip-bind bind`, to bind them for the first time ### Main PC setup: @@ -30,16 +30,7 @@ This setup uses USB-over-IP to let you plug your Watchman dongles (the ones that 1. Download `usbdongle` and put it somewhere safe: `wget https://gist.github.com/galister/2fbd23cfaff8ba4839efa13184e4e197/raw/13b0b2fd6dee609169b6a98b302f6a6ac5c2d307/usbdongle; chmod +x usbdongle` 2. Edit `usbdongle` and set the `DONGLE_HOST` variable to the IP or hostname of your dongle host. (run `ip addr` on dongle host to find out) -3. Optional: If you don't want to enter your sudo password for `usbdongle` every time, run this as a single multi-line command (as your non-root user!): - -```bash -echo "$USER ALL=(root) NOPASSWD: /usr/sbin/usbip detach * -$USER ALL=(root) NOPASSWD: /usr/sbin/usbip attach * -$USER ALL=(root) NOPASSWD: /usr/sbin/usbip list * -$USER ALL=(root) NOPASSWD: /sbin/modprobe vhci-hcd" | sudo tee -a /etc/sudoers -``` - -4. Run `usbdongle` before starting SteamVR/Monado (or on startup/login) +3. Run `usbdongle` before starting SteamVR/Monado (or on startup/login) ### Things to watch out for