Package: msi-keyboard
Version: 1.1-2
Tags: patch

The current udev role grant access to the device for everyone when the
hardware is inserted.  I believe a better approach is to only grant
access to the console user using the 'uaccess' tag.  Here is a patch to
adjust the access role.

diff --git a/99-msi.rules b/99-msi.rules
index 81d21ba..1946dca 100644
--- a/99-msi.rules
+++ b/99-msi.rules
@@ -1 +1 @@
-SUBSYSTEM=="usb", ATTRS{idVendor}=="1770", ATTRS{idProduct}=="ff00", 
MODE="0666"
+SUBSYSTEM=="usb", ATTRS{idVendor}=="1770", ATTRS{idProduct}=="ff00", 
TAG+="uaccess"

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to