From 0b8ce4d0bd27b385f17168f8b107f65937aaa110 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Jan 2014 11:32:53 +0100 Subject: [PATCH] rpi-base: also use video group for input devices. --- srcpkgs/rpi-base/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/rpi-base/template b/srcpkgs/rpi-base/template index c5ffea3b60d..da3b56cc3a0 100644 --- a/srcpkgs/rpi-base/template +++ b/srcpkgs/rpi-base/template @@ -1,6 +1,6 @@ # Template file for 'rpi-base' pkgname=rpi-base -version=1.2 +version=1.3 revision=1 homepage="http://www.voidlinux.eu" short_desc="Void Linux RaspberryPi base files" @@ -28,6 +28,8 @@ do_install() { echo snd-bcm2835 > ${DESTDIR}/usr/lib/modules-load.d/snd_bcm2835.conf # Fix permissions for the vchiq device. vmkdir usr/lib/udev/rules.d - echo 'SUBSYSTEM=="vchiq", GROUP="video", MODE="0660"' > \ + echo 'SUBSYSTEM=="vchiq|input", GROUP="video", MODE="0660"' > \ + ${DESTDIR}/usr/lib/udev/rules.d/71-raspberrypi.rules + echo 'KERNEL=="mouse*|mice|event*", GROUP="video", MODE="0770"' >> \ ${DESTDIR}/usr/lib/udev/rules.d/71-raspberrypi.rules }