cupola
cupola copied to clipboard
Cupola on Linux: udev rule
Hi, just thought I'd mention that I got Cupola working very briefly on Linux.
The first thing you need to do is adjust the udev rule which Google suggest. In fact their rule doesn't work because the kernel usbhid driver grabs the Rift. You need to add a RUN directive to unbind it from usbhid. So the correct rule is:
SUBSYSTEM=="usb", ATTR{idVendor}=="2833", ATTRS{idProduct}=="0001", MODE="0664", GROUP="plugdev", RUN+="/bin/sh -c 'echo -n $id:1.0 >/sys/bus/usb/drivers/usbhid/unbind'"
Note also that you wont necessarily have the "plugdev" group on your system. If not, change that part of the rule to any group your user is a member of.