summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorCaibin Chen <tigersoldi@gmail.com>2015-12-13 22:27:55 -0800
committerPeter Hutterer <peter.hutterer@who-t.net>2016-01-11 10:11:32 +1000
commitb3f11180e337d6cd7fd997685b65e5ed48acc661 (patch)
tree858bc7c841ba42cb34f6da4149959c21fed97833 /udev
parenta340736e9b9399f630ff4b436930c1dee26cb803 (diff)
touchpad: fix DWT pairing for Macbook Pro 2015
Label internal keyboards through the udev hwdb and only pair the internal (usb) Apple touchpads with those keyboards labelled as such. https://bugs.freedesktop.org/show_bug.cgi?id=93367 Co-authored-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'udev')
-rw-r--r--udev/90-libinput-model-quirks.hwdb3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb
index 814ec40..baebcb3 100644
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-quirks.hwdb
@@ -34,6 +34,9 @@ libinput:touchpad:input:b0005v05ACp*
LIBINPUT_MODEL_APPLE_TOUCHPAD=1
LIBINPUT_ATTR_SIZE_HINT=104x75
+libinput:name:*Apple Inc. Apple Internal Keyboard*:dmi:*
+ LIBINPUT_MODEL_APPLE_INTERNAL_KEYBOARD=1
+
##########################################
# Elantech
##########################################