Skip to content
Snippets Groups Projects
Commit 317d35c6 authored by Matthieu Herrb's avatar Matthieu Herrb
Browse files

[wip/openni-sensor] add an udev rules file with MS kinect ids.

The one provided by Primesense only includes the Primesense
device. Add Microsoft Kinects ids too.
parent 32045e90
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
COMMIT= 7a39cd
PKG_VERSION= 20101214.${COMMIT}
PKGREVISION= 1
COMMENT= Primesense OpenNI Sensor Engine
CATEGORIES = hardware image
LICENSE = gnu-lgpl-v3
......@@ -74,7 +75,7 @@ do-install:
${INSTALL} ${WRKDIR}/lib/$$file ${PREFIX}/lib ; \
${PREFIX}/bin/niReg -r ${PREFIX}/lib/$$file ${OPENNI_SHARE}; \
done
${INSTALL_DATA} ${WRKSRC}/Platform/Linux-x86/Install/${UDEV_RULES} \
${INSTALL_DATA} ${FILESDIR}/${UDEV_RULES} \
${PREFIX}/etc/udev/rules.d
include ../../wip/openni/depend.mk
......
# make primesense device mount with writing permissions (default is read only for unknown devices)
ATTRS{idProduct}=="0200",ATTRS{idVendor}=="1d27",MODE="666",GROUP="users"
ATTRS{idProduct}=="0300",ATTRS{idVendor}=="1d27",MODE="666",GROUP="users"
ATTRS{idProduct}=="0400",ATTRS{idVendor}=="1d27",MODE="666",GROUP="users"
ATTRS{idProduct}=="0500",ATTRS{idVendor}=="1d27",MODE="666",GROUP="users"
ATTRS{idProduct}=="0600",ATTRS{idVendor}=="1d27",MODE="666",GROUP="users"
ATTRS{idProduct}=="02ae",ATTRS{idVendor}=="045e",MODE="666",GROUP="users"
ATTRS{idProduct}=="02ad",ATTRS{idVendor}=="045e",MODE="666",GROUP="users"
ATTRS{idProduct}=="02b0",ATTRS{idVendor}=="045e",MODE="666",GROUP="users"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment