summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-12-23 10:14:19 +1000
committerAnthony G. Basile <blueness@gentoo.org>2014-12-29 11:42:46 -0500
commitfd378a76805167518319b95312d31ea1adbf81d8 (patch)
tree2db95297e6503f3a3b76edbfd09f68963a32e9a1 /rules
parent8c72ad47729f002dcb2a910c0be082b33b9d784f (diff)
hwdb: add rule and first entry for PS/2 mice
https://bugs.freedesktop.org/show_bug.cgi?id=87037 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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"