systemd/SOURCES/0827-hwdb-Add-Lenovo-G580.patch

33 lines
966 B
Diff
Raw Permalink Normal View History

2024-11-12 10:48:44 +00:00
From 83e8a4e71e1a9e2c40875f08119390dc46fa7537 Mon Sep 17 00:00:00 2001
From: p-fpv <103542588+p-fpv@users.noreply.github.com>
Date: Mon, 31 Oct 2022 23:45:53 +0300
Subject: [PATCH] hwdb: Add Lenovo G580
Fixes #23066.
(cherry picked from commit f1c73e5b825ad55dbfe7fcd30f60a20975c26846)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index b91fd8f294..42e30256e3 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -622,6 +622,13 @@ evdev:name:MSFT0001:02 04F3:304B Touchpad:dmi:*svnLENOVO:*pvrLenovoLegionY9000X2
EVDEV_ABS_35=::31
EVDEV_ABS_36=::30
+# Lenovo g580
+evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnLENOVO:*pvrLenovoG580**
+ EVDEV_ABS_00=-170:2950:24
+ EVDEV_ABS_01=-591:700:25
+ EVDEV_ABS_35=-170:2950:24
+ EVDEV_ABS_36=-591:700:25
+
#########################################
# Microsoft
#########################################