chiark / gitweb /
sysctl: move property handling to shared/
[elogind.git] / rules / 70-mouse.rules
index 0e359e83f1a24d9940b14be629c10b7bf06e166e..3ea743aff988b9b77cca770e5a06f2627b27e944 100644 (file)
@@ -11,5 +11,8 @@ KERNELS=="input*", ENV{ID_BUS}=="usb", \
 KERNELS=="input*", ENV{ID_BUS}=="bluetooth", \
         IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
         GOTO="mouse_end"
+DRIVERS=="psmouse", SUBSYSTEMS=="serio", \
+        IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \
+        GOTO="mouse_end"
 
 LABEL="mouse_end"