systemd/0877-hwdb-Fix-incorrect-touchpad-dimensions-on-Thinkpad-L.patch
Jan Macku 5e4e586032 systemd-252-41
Resolves: RHEL-36276,RHEL-45020,RHEL-50672,RHEL-5950
2024-08-16 09:00:42 +02:00

53 lines
1.6 KiB
Diff

From c288c8aa700a86a5d46fed73fbcf42871de02d99 Mon Sep 17 00:00:00 2001
From: taniishkaaa <109246904+taniishkaaa@users.noreply.github.com>
Date: Sat, 25 Mar 2023 16:11:07 +0530
Subject: [PATCH] hwdb: Fix incorrect touchpad dimensions on Thinkpad L14 Gen1
(#26937)
Closes #22793.
(cherry picked from commit ff155c81620bc4e1ccce27d4d5194707048d8143)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 7 +++++++
hwdb.d/70-touchpad.hwdb | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index 7a969a84b5..56cb3d3636 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -583,6 +583,13 @@ evdev:input:b0003v17EFp60B5*
EVDEV_ABS_35=::12
EVDEV_ABS_36=::11
+# Lenovo Thinkpad L14 Gen1 (AMD)
+evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO:*pvrThinkPadL14Gen1**
+ EVDEV_ABS_00=::44
+ EVDEV_ABS_01=::50
+ EVDEV_ABS_35=::44
+ EVDEV_ABS_36=::50
+
# Lenovo T460
evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*T460:*
EVDEV_ABS_00=1266:5677:44
diff --git a/hwdb.d/70-touchpad.hwdb b/hwdb.d/70-touchpad.hwdb
index 262bca3a19..a87b91ffd2 100644
--- a/hwdb.d/70-touchpad.hwdb
+++ b/hwdb.d/70-touchpad.hwdb
@@ -51,6 +51,13 @@ touchpad:usb:v05acp0265:*
touchpad:usb:v044ep1221:*
ID_INPUT_TOUCHPAD_INTEGRATION=external
+###########################################################
+# Lenovo
+###########################################################
+# Thinkpad L14 Gen1 (AMD)
+touchpad:usb:v06cbp0081:*
+ ID_INPUT_TOUCHPAD_INTEGRATION=internal
+
###########################################################
# Logitech
###########################################################