summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-12-23 01:14:19 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2014-12-23 23:08:23 +0100
commit60329a9d9fc58b1a4c8a6244592f731839c2e8d7 (patch)
tree67a844e34ff7d84118f8de33b62d41609319fce4 /rules
parenthwdb: Microsoft Wireless Laser Mouse 8000 DPI data (diff)
downloadsystemd-60329a9d9fc58b1a4c8a6244592f731839c2e8d7.tar.xz
systemd-60329a9d9fc58b1a4c8a6244592f731839c2e8d7.zip
hwdb: add rule and first entry for PS/2 mice
https://bugs.freedesktop.org/show_bug.cgi?id=87037
Diffstat (limited to 'rules')
-rw-r--r--rules/70-mouse.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/70-mouse.rules b/rules/70-mouse.rules
index 0e359e83f1..3ea743aff9 100644
--- a/rules/70-mouse.rules
+++ b/rules/70-mouse.rules
@@ -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"