summaryrefslogtreecommitdiff
path: root/etc/udev/debian/persistent-input.rules
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev/debian/persistent-input.rules')
-rw-r--r--etc/udev/debian/persistent-input.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/udev/debian/persistent-input.rules b/etc/udev/debian/persistent-input.rules
index 339a365048..293971266e 100644
--- a/etc/udev/debian/persistent-input.rules
+++ b/etc/udev/debian/persistent-input.rules
@@ -10,6 +10,14 @@ BUS=="usb", SYSFS{bInterfaceClass}=="03", SYSFS{bInterfaceProtocol}=="01", \
BUS=="usb", SYSFS{bInterfaceClass}=="03", SYSFS{bInterfaceProtocol}=="02", \
ENV{ID_CLASS}="mouse"
+# other devices
+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"
+
+ENV{ID_SERIAL}=="", ENV{ID_SERIAL}="noserial"
+
# by-id links, generic and for the event devices
KERNEL=="mouse*", \
ENV{ID_BUS}=="?*", ENV{ID_SERIAL}=="?*", ENV{ID_CLASS}=="?*", \