Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cupola on Linux: udev rule #1

Open
jjsmclaughlin opened this issue Jun 2, 2014 · 0 comments
Open

Cupola on Linux: udev rule #1

jjsmclaughlin opened this issue Jun 2, 2014 · 0 comments

Comments

@jjsmclaughlin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant