summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-14 21:38:36 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:16 -0700
commit1782087e4f80fd1d8c4d8bd9a6edeed27414426e (patch)
tree228f6fabfaf5f666422fa9ed526c3bbc499469c7 /etc
parentb6864b4bf1945d6b950a77e96fd68e9952bbeb02 (diff)
[PATCH] added input device rules to udev.rules and udev.rules.devfs
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/udev.rules8
-rw-r--r--etc/udev/udev.rules.devfs8
2 files changed, 16 insertions, 0 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index a2279976fe..1f3ef07242 100644
--- a/etc/udev/udev.rules
+++ b/etc/udev/udev.rules
@@ -63,3 +63,11 @@ KERNEL="midi[CD0-9]*", NAME="snd/%k"
KERNEL="timer", NAME="snd/%k"
KERNEL="seq", NAME="snd/%k"
+# input devices
+KERNEL="mice", NAME="input/%k"
+KERNEL="keyboard", NAME="input/%k"
+KERNEL="mouse*", NAME="input/%k"
+KERNEL="event*", NAME="input/%k"
+KERNEL="js*", NAME="input/%k"
+KERNEL="ts*", NAME="input/%k"
+
diff --git a/etc/udev/udev.rules.devfs b/etc/udev/udev.rules.devfs
index bc3f26c1cc..026e9465b1 100644
--- a/etc/udev/udev.rules.devfs
+++ b/etc/udev/udev.rules.devfs
@@ -69,3 +69,11 @@ KERNEL="midi[CD0-9]*", NAME="snd/%k"
KERNEL="timer", NAME="snd/%k"
KERNEL="seq", NAME="snd/%k"
+# input devices
+KERNEL="mice", NAME="input/%k"
+KERNEL="keyboard", NAME="input/%k"
+KERNEL="mouse*", NAME="input/%k"
+KERNEL="event*", NAME="input/%k"
+KERNEL="js*", NAME="input/%k"
+KERNEL="ts*", NAME="input/%k"
+