summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Haag2016-05-16 18:52:46 +0200
committerChristoph Haag2016-05-16 18:52:46 +0200
commit9b918719184bdaac0d6d5d37ee8f16f452dc7b99 (patch)
treeaec081db48f23e8f485383c7da5c602bc9492cd3
parenta4cd9228e548d207643f3a0fd72e0513aa573614 (diff)
downloadaur-9b918719184bdaac0d6d5d37ee8f16f452dc7b99.tar.gz
update rules
http://www.vronlinux.com/articles/adventures-with-openvr-and-the-vive-on-linux.8#7
-rw-r--r--.SRCINFO4
-rw-r--r--83-vive.rules7
-rw-r--r--PKGBUILD4
3 files changed, 9 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c2de86a5cdc..25477e7648a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = vive-udev
pkgdesc = Udev rule for the Vive for the group "plugdev"
pkgver = 1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/OpenHMD/OpenHMD/commit/c29c99712d6f67a3921cb531a0c74f5f5109cb0f
install = vive-udev.install
arch = any
license = custom
source = 83-vive.rules
- sha256sums = 156d93b59942d89c3838f3ae2f45bd832226d19e1f7f04797f9cb640a09a3124
+ sha256sums = 2c1b95772e652fa738b60462bdf2276ddb4536c29e70fcd96fc8865a2fe7a790
pkgname = vive-udev
diff --git a/83-vive.rules b/83-vive.rules
index 5e8e4fcd70b..cb701349d86 100644
--- a/83-vive.rules
+++ b/83-vive.rules
@@ -1,2 +1,5 @@
-SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
-SUBSYSTEM=="usb", ATTR{idVendor}=="28de", MODE="0666", GROUP="plugdev"
+#SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
+#SUBSYSTEM=="usb", ATTR{idVendor}=="28de", MODE="0666", GROUP="plugdev"
+
+KERNEL=="hidraw*", ATTRS{idVendor}=="0bb4", MODE="0666"
+KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0666"
diff --git a/PKGBUILD b/PKGBUILD
index 961ec0e93ef..b8478b9a7e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=vive-udev
pkgver=1
-pkgrel=1
+pkgrel=2
pkgdesc="Udev rule for the Vive for the group \"plugdev\""
arch=('any')
url="https://github.com/OpenHMD/OpenHMD/commit/c29c99712d6f67a3921cb531a0c74f5f5109cb0f"
license=('custom')
source=('83-vive.rules')
-sha256sums=('156d93b59942d89c3838f3ae2f45bd832226d19e1f7f04797f9cb640a09a3124')
+sha256sums=('2c1b95772e652fa738b60462bdf2276ddb4536c29e70fcd96fc8865a2fe7a790')
install='vive-udev.install'
package() {