diff options
author | Christoph Haag | 2017-02-22 02:15:53 +0100 |
---|---|---|
committer | Christoph Haag | 2017-02-22 02:16:25 +0100 |
commit | 4498758b23d35acaf7f4680b9f7505c5da58c839 (patch) | |
tree | ffc5bb9c5d149faf0bb1e2e28faa147c915f2f97 | |
parent | 39396159a69800d1105f47d1515cb728fe080e88 (diff) | |
download | aur-4498758b23d35acaf7f4680b9f7505c5da58c839.tar.gz |
use valve's rules
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | 83-vive.rules | 14 | ||||
-rw-r--r-- | PKGBUILD | 4 |
3 files changed, 18 insertions, 4 deletions
@@ -6,8 +6,8 @@ pkgbase = vive-udev install = vive-udev.install arch = any license = custom - source = https://raw.githubusercontent.com/lubosz/OSVR-Vive-Libre/master/config/83-vive.rules - sha256sums = SKIP + source = 83-vive.rules + sha256sums = d7e20ae0001153eeddbff8e9815de774a5167251d26387b9011888876f3cf263 pkgname = vive-udev diff --git a/83-vive.rules b/83-vive.rules new file mode 100644 index 000000000000..ab38087ab85d --- /dev/null +++ b/83-vive.rules @@ -0,0 +1,14 @@ +# HTC Vive HID Sensor naming and permissioning +KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="2c87", TAG+="uaccess" +KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2101", TAG+="uaccess" +KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2000", TAG+="uaccess" +KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1043", TAG+="uaccess" +KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2050", TAG+="uaccess" +KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2011", TAG+="uaccess" +KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2012", TAG+="uaccess" +SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="2c87", TAG+="uaccess" +# HTC Camera USB Node +SUBSYSTEM=="usb", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8328", TAG+="uaccess" +# HTC Mass Storage Node +SUBSYSTEM=="usb", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8200", TAG+="uaccess" +SUBSYSTEM=="usb", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8a12", TAG+="uaccess" @@ -7,8 +7,8 @@ pkgdesc="Udev rule for the Vive for the group \"plugdev\"" arch=('any') url="https://github.com/lubosz/OSVR-Vive-Libre/" license=('custom') -source=('https://raw.githubusercontent.com/lubosz/OSVR-Vive-Libre/master/config/83-vive.rules') -sha256sums=('SKIP') +source=('83-vive.rules') +sha256sums=('d7e20ae0001153eeddbff8e9815de774a5167251d26387b9011888876f3cf263') install='vive-udev.install' package() { |