Author: Petter Reinholdtsen <pere@hungry.com>
Last-Update: Fri, 03 May 2024 00:08:20 +0200
Bug-Debian: https://bugs.debian.org/1070262
Description: msi-keyboard: Adjust udev access rights from 'everyone' to 'console user
 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.

--- 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"
