Skip to content

Instantly share code, notes, and snippets.

@rpavlik
Created November 23, 2015 19:42
Show Gist options
  • Save rpavlik/384e4d41e357a88428c5 to your computer and use it in GitHub Desktop.
Save rpavlik/384e4d41e357a88428c5 to your computer and use it in GitHub Desktop.
Sensics Linux UDEV rules
# udev file for USB interfaces on Sensics-based HMDs and emulated devices
###
# Section to permit access to HID streaming
###
# OSVR HDK (via HIDAPI/libusb)
SUBSYSTEM=="usb", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0b00", MODE="0660", GROUP="plugdev"
# OSVR HDK (via HIDAPI/hidraw)
KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0b00", MODE="0660", GROUP="plugdev"
###
# Section for the usb-serial interface: useful name, ignored by modemmanager
###
# OSVR HDK
SUBSYSTEM=="usb", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0b00", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="tty", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0b00", SYMLINK+="ttyUSB.OSVRHDK"
# Sensics zSight
SUBSYSTEM=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0515", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="tty", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0515", SYMLINK+="ttyUSB.zSight"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment