From 60329a9d9fc58b1a4c8a6244592f731839c2e8d7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 23 Dec 2014 10:14:19 +1000 Subject: hwdb: add rule and first entry for PS/2 mice https://bugs.freedesktop.org/show_bug.cgi?id=87037 --- rules/70-mouse.rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rules') 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" -- cgit v1.2.3-54-g00ecf