* [gentoo-commits] proj/gamerlay:master commit in: media-libs/openni-sensor/, media-libs/openni-sensor/files/
@ 2012-03-08 15:41 Marcel Unbehaun
0 siblings, 0 replies; only message in thread
From: Marcel Unbehaun @ 2012-03-08 15:41 UTC (permalink / raw
To: gentoo-commits
commit: 39c2848f51c640f65546f6564eda713ddcdcfd79
Author: Marcel Unbehaun <marcel <AT> frostworx <DOT> de>
AuthorDate: Thu Mar 8 15:44:08 2012 +0000
Commit: Marcel Unbehaun <frostworks <AT> gmx <DOT> de>
CommitDate: Thu Mar 8 15:44:08 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=39c2848f
[media-libs/openni-sensor] updated openni-sensor-9999.ebuild
---
.../openni-sensor/files/55-primesense-usb.rules | 21 ++++++++++++++++++++
media-libs/openni-sensor/openni-sensor-9999.ebuild | 2 +-
2 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/media-libs/openni-sensor/files/55-primesense-usb.rules b/media-libs/openni-sensor/files/55-primesense-usb.rules
new file mode 100644
index 0000000..3e0b6d3
--- /dev/null
+++ b/media-libs/openni-sensor/files/55-primesense-usb.rules
@@ -0,0 +1,21 @@
+# Let Primesense devices mount with world write permissions and proper owners and groups.
+# Additionally, you can change the mode to 0660 and make device users members of the video and audio group.
+# Put this file in /etc/udev/rules.d.
+
+# Primesense Devices
+SUBSYSTEM=="usb", ATTR{idProduct}=="0200", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
+SUBSYSTEM=="usb", ATTR{idProduct}=="0300", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
+SUBSYSTEM=="usb", ATTR{idProduct}=="0400", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
+SUBSYSTEM=="usb", ATTR{idProduct}=="0500", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
+SUBSYSTEM=="usb", ATTR{idProduct}=="0600", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
+SUBSYSTEM=="usb", ATTR{idProduct}=="0601", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
+
+# Kinect Video Device
+SUBSYSTEM=="usb", ATTR{idProduct}=="02ae", ATTR{idVendor}=="045e", MODE:="0666", OWNER:="root", GROUP:="video"
+
+# Kinect Audio Device
+SUBSYSTEM=="usb", ATTR{idProduct}=="02ad", ATTR{idVendor}=="045e", MODE:="0666", OWNER:="root", GROUP:="audio"
+
+# Kinect Motor Device
+SUBSYSTEM=="usb", ATTR{idProduct}=="02b0", ATTR{idVendor}=="045e", MODE:="0666", OWNER:="root", GROUP:="video"
+
diff --git a/media-libs/openni-sensor/openni-sensor-9999.ebuild b/media-libs/openni-sensor/openni-sensor-9999.ebuild
index 323caf0..a45abdb 100644
--- a/media-libs/openni-sensor/openni-sensor-9999.ebuild
+++ b/media-libs/openni-sensor/openni-sensor-9999.ebuild
@@ -56,7 +56,7 @@ src_install() {
dodir ${serverlogdir}
insinto /etc/udev/rules.d
- doins Install/55-primesense-usb.rules || die
+ doins ${FILESDIR}/55-primesense-usb.rules || die
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-08 15:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 15:41 [gentoo-commits] proj/gamerlay:master commit in: media-libs/openni-sensor/, media-libs/openni-sensor/files/ Marcel Unbehaun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox