|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
From 8f8fb5044e90f60e065c5bbceba21aab2986edd5 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
From: Kay Sievers <kay@vrfy.org>
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
Date: Thu, 12 Jun 2014 14:59:53 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
Subject: [PATCH] udev: assign group "input" to all input devices
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
(cherry picked from commit 3dff3e00e044e2d53c76fa842b9a4759d4a50e69)
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
NEWS | 6 ++++++
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
README | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
rules/50-udev-default.rules | 1 +
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
3 files changed, 8 insertions(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
diff --git a/NEWS b/NEWS
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
index 4f3c5222..318f3d49 100644
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
--- a/NEWS
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+++ b/NEWS
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
@@ -1,5 +1,11 @@
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
systemd System and Service Manager
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+CHANGES WITH 215:
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+ * A new system group "input" is introduced, all input
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+ device nodes get this group assigned. This is useful for
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+ system-level software to get access to input devices. It
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+ complements what is already done for "audio" and "video".
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
CHANGES WITH 214:
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
* As an experimental feature, udev now tries to lock the
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
diff --git a/README b/README
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
index 529c6e19..de159feb 100644
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
--- a/README
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+++ b/README
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
@@ -168,7 +168,7 @@ USERS AND GROUPS:
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
even in the very early boot stages, where no other databases
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
and network are available:
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
- tty, dialout, kmem, video, audio, lp, cdrom, tape, disk
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+ audio, cdrom, dialout, disk, input, kmem, lp, tape, tty, video
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
During runtime, the journal daemon requires the
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
"systemd-journal" system group to exist. New journal files will
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
index 122d07c9..1ecd47a2 100644
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
--- a/rules/50-udev-default.rules
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+++ b/rules/50-udev-default.rules
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
@@ -23,6 +23,7 @@ KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP=
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+SUBSYSTEM=="input", GROUP="input"
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
SUBSYSTEM=="input", KERNEL=="js[0-9]*", MODE="0664"
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
SUBSYSTEM=="video4linux", GROUP="video"
|