summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-06-12 14:59:53 +0200
committerKay Sievers <kay@vrfy.org>2014-06-12 14:59:53 +0200
commit3dff3e00e044e2d53c76fa842b9a4759d4a50e69 (patch)
tree2ef25b0530204fda2e35a9736489eab4736e34ec
parentc54bed5d515771c21250b8e0c052cb6600e21d37 (diff)
udev: assign group "input" to all input devices
-rw-r--r--NEWS6
-rw-r--r--README2
-rw-r--r--rules/50-udev-default.rules1
3 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4f3c522243..318f3d4923 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,11 @@
systemd System and Service Manager
+CHANGES WITH 215:
+ * A new system group "input" is introduced, all input
+ device nodes get this group assigned. This is useful for
+ system-level software to get access to input devices. It
+ complements what is already done for "audio" and "video".
+
CHANGES WITH 214:
* As an experimental feature, udev now tries to lock the
diff --git a/README b/README
index 529c6e1930..de159febbb 100644
--- a/README
+++ b/README
@@ -168,7 +168,7 @@ USERS AND GROUPS:
even in the very early boot stages, where no other databases
and network are available:
- tty, dialout, kmem, video, audio, lp, cdrom, tape, disk
+ audio, cdrom, dialout, disk, input, kmem, lp, tape, tty, video
During runtime, the journal daemon requires the
"systemd-journal" system group to exist. New journal files will
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
index 122d07c9be..1ecd47a237 100644
--- a/rules/50-udev-default.rules
+++ b/rules/50-udev-default.rules
@@ -23,6 +23,7 @@ KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP=
SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"
+SUBSYSTEM=="input", GROUP="input"
SUBSYSTEM=="input", KERNEL=="js[0-9]*", MODE="0664"
SUBSYSTEM=="video4linux", GROUP="video"