generated from archlinux/template
added udev rules
This commit is contained in:
parent
2b09bde586
commit
371835764c
3
99-realsense-libusb.rules
Normal file
3
99-realsense-libusb.rules
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SUBSYSTEMS=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0a80", MODE="0666", GROUP="plugdev"
|
||||||
|
SUBSYSTEMS=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0a66", MODE="0666", GROUP="plugdev"
|
||||||
|
SUBSYSTEMS=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0aa5", MODE="0666", GROUP="plugdev"
|
8
PKGBUILD
8
PKGBUILD
@ -18,9 +18,13 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
||||||
cd $srcdir/$pkgname-$pkgver/
|
cd $srcdir/$pkgname-$pkgver/
|
||||||
install -m644 -d $pkgdir/usr/include/$pkgname/ $pkgdir/usr/lib/
|
mkdir -p $pkgdir/usr/include/$pkgname
|
||||||
|
mkdir -p $pkgdir/usr/lib/
|
||||||
cp -r lib/* $pkgdir/usr/lib/
|
cp -r lib/* $pkgdir/usr/lib/
|
||||||
cp -r include/$pkgname/* $pkgdir/usr/include/$pkgname
|
cp -r include/$pkgname/* $pkgdir/usr/include/$pkgname
|
||||||
|
getent group realsense || groupadd realsense
|
||||||
|
cp $scrdir/99-realsense-libusb.rules $pkgdir/etc/udev/rules.d/
|
||||||
|
echo "You need to make a uvcvideo patch ( see more on official git )"
|
||||||
|
echo "Don't forget to add user to realsense group"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user