summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@gmail.com>2006-08-11 16:40:20 +0200
committerKay Sievers <kay.sievers@suse.de>2006-08-11 16:40:20 +0200
commite37938510a4de28cfe06dc1223e99d88294919e0 (patch)
tree72799b140c3ca4a49f58a82598b1c7dda9ebb423
parenteb1f908a2b40beefbc376878a4ff4d6d3e0db44c (diff)
add joystick support to persistent input rules
-rw-r--r--etc/udev/rules.d/60-persistent-input.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/udev/rules.d/60-persistent-input.rules b/etc/udev/rules.d/60-persistent-input.rules
index c177e1f19c..21f23f71c2 100644
--- a/etc/udev/rules.d/60-persistent-input.rules
+++ b/etc/udev/rules.d/60-persistent-input.rules
@@ -12,6 +12,7 @@ DRIVER=="pcspkr", ENV{ID_CLASS}="spkr"
DRIVER=="atkbd", ENV{ID_CLASS}="kbd"
DRIVER=="psmouse", ENV{ID_CLASS}="mouse"
SYSFS{name}=="*dvb*|*DVB*|* IR *", ENV{ID_CLASS}="ir"
+SYSFS{modalias}=="input:*-*a[068],*|input:*-*a*,[68],*m*", SYSFS{modalias}!="input:*-*k*14A,*r*", ENV{ID_CLASS}="joystick"
ENV{ID_SERIAL}=="", ENV{ID_SERIAL}="noserial"