summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"