From 1782087e4f80fd1d8c4d8bd9a6edeed27414426e Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Wed, 14 Jan 2004 21:38:36 -0800 Subject: [PATCH] [PATCH] added input device rules to udev.rules and udev.rules.devfs --- etc/udev/udev.rules | 8 ++++++++ etc/udev/udev.rules.devfs | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules index a2279976..1f3ef072 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 bc3f26c1..026e9465 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" + -- 2.39.5