chiark / gitweb /
update Debian rules
[elogind.git] / etc / udev / debian / persistent-input.rules
index 339a365..2939712 100644 (file)
@@ -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}=="?*", \