cupola icon indicating copy to clipboard operation
cupola copied to clipboard

Cupola on Linux: udev rule

Open jjsmclaughlin opened this issue 10 years ago • 0 comments

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.

jjsmclaughlin avatar Jun 02 '14 09:06 jjsmclaughlin