Skip to content

Cupola on Linux: udev rule #1

@jjsmclaughlin

Description

@jjsmclaughlin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions