Add a quirk for the Dell Precision 5680 pressurepad (#2158075)
Resolves: rhbz#2158075
This commit is contained in:
parent
085556a060
commit
8d403142cb
39
0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch
Normal file
39
0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
From 5414d1395dec138d3daa39db886cc40bc3eae736 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Charles Wang <charles.goodix@gmail.com>
|
||||||
|
Date: Wed, 11 Jan 2023 17:16:13 +0800
|
||||||
|
Subject: [PATCH] quirks: add quirks for Dell Precision5680 Touchpad
|
||||||
|
|
||||||
|
This touchpad is a pressure pad and needs the pressure
|
||||||
|
handling disable.
|
||||||
|
|
||||||
|
Fixes https://gitlab.freedesktop.org/libinput/libinput/-/issues/849
|
||||||
|
|
||||||
|
Signed-off-by: Charles Wang <charles.goodix@gmail.com>
|
||||||
|
|
||||||
|
Cherry-pick adjusted to work with the AttrEventCodeDisable quirk
|
||||||
|
(cherry picked from commit 29a49e968e67eb7bf6d63c9f93b06ee983772018)
|
||||||
|
(cherry picked from commit 6420178b5fdb5f9c5f353556703ae151891297fd)
|
||||||
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
|
---
|
||||||
|
quirks/50-system-dell.quirks | 8 ++++++++
|
||||||
|
1 file changed, 8 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/quirks/50-system-dell.quirks b/quirks/50-system-dell.quirks
|
||||||
|
index 9bc3e357..cbd1fbcb 100644
|
||||||
|
--- a/quirks/50-system-dell.quirks
|
||||||
|
+++ b/quirks/50-system-dell.quirks
|
||||||
|
@@ -108,3 +108,11 @@ MatchBus=usb
|
||||||
|
MatchVendor=0x2575
|
||||||
|
MatchProduct=0x0204
|
||||||
|
ModelDellCanvasTotem=1
|
||||||
|
+
|
||||||
|
+# This is a true pressurepad so disable pressure for contact size
|
||||||
|
+# https://gitlab.freedesktop.org/libinput/libinput/-/issues/849
|
||||||
|
+[Dell Precision5680 Touchpad]
|
||||||
|
+MatchBus=i2c
|
||||||
|
+MatchVendor=0x27C6
|
||||||
|
+MatchProduct=0x0F60
|
||||||
|
+AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE;
|
||||||
|
--
|
||||||
|
2.39.0
|
||||||
|
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: libinput
|
Name: libinput
|
||||||
Version: 1.19.3
|
Version: 1.19.3
|
||||||
Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||||
Summary: Input device library
|
Summary: Input device library
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -19,6 +19,7 @@ Source0: http://www.freedesktop.org/software/libinput/libinput-%{version}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Patch0001: 0001-evdev-strip-the-device-name-of-format-directives.patch
|
Patch0001: 0001-evdev-strip-the-device-name-of-format-directives.patch
|
||||||
|
Patch0002: 0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch
|
||||||
|
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -148,6 +149,9 @@ pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python3')
|
|||||||
%{_mandir}/man1/libinput-test-suite.1*
|
%{_mandir}/man1/libinput-test-suite.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 19 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.19.3-3
|
||||||
|
- Add a quirk for the Dell Precision 5680 pressurepad (#2158075)
|
||||||
|
|
||||||
* Wed May 04 2022 Peter Hutterer <peter.hutterer@redhat.com> - 1.19.3-2
|
* Wed May 04 2022 Peter Hutterer <peter.hutterer@redhat.com> - 1.19.3-2
|
||||||
- CVE-2022-1215: fix a format string vulnerability (#2076816)
|
- CVE-2022-1215: fix a format string vulnerability (#2076816)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user