Add quirk for the Mayabay pressurepad (#2219812)

Resolves: rhbz#2219812
This commit is contained in:
Peter Hutterer 2023-07-06 11:48:10 +10:00
parent 8d403142cb
commit e74ca92b29
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From 6dc3b6ace421ab7862a30074a5842cc99637b171 Mon Sep 17 00:00:00 2001
From: Marge Yang <marge.yang@synaptics.corp-partner.google.com>
Date: Wed, 8 Feb 2023 01:24:53 -0500
Subject: [PATCH] quirks: Dell Mayabay (Pressure Pad).
Signed-off-by: Marge Yang <marge.yang@synaptics.corp-partner.google.com>
(cherry picked from commit 74415b13fb72c457e5439c974f59e1b0d08a27ed)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
quirks/50-system-dell.quirks | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/quirks/50-system-dell.quirks b/quirks/50-system-dell.quirks
index cbd1fbcb..0fb43aac 100644
--- a/quirks/50-system-dell.quirks
+++ b/quirks/50-system-dell.quirks
@@ -116,3 +116,9 @@ MatchBus=i2c
MatchVendor=0x27C6
MatchProduct=0x0F60
AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE;
+
+[Dell Mayabay Touchpad]
+MatchBus=i2c
+MatchVendor=0x06CB
+MatchProduct=0xCFA0
+AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE;
--
2.41.0

View File

@ -5,7 +5,7 @@
Name: libinput Name: libinput
Version: 1.19.3 Version: 1.19.3
Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} Release: 4%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
Summary: Input device library Summary: Input device library
License: MIT License: MIT
@ -20,6 +20,7 @@ Source0: http://www.freedesktop.org/software/libinput/libinput-%{version}
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 Patch0002: 0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch
Patch0003: 0001-quirks-Dell-Mayabay-Pressure-Pad.patch
BuildRequires: git-core BuildRequires: git-core
BuildRequires: gcc BuildRequires: gcc
@ -149,6 +150,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 Jul 06 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.19.3-4
- Add quirk for the Mayabay pressurepad (#2219245, #2219812)
* Thu Jan 19 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.19.3-3 * Thu Jan 19 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.19.3-3
- Add a quirk for the Dell Precision 5680 pressurepad (#2158075) - Add a quirk for the Dell Precision 5680 pressurepad (#2158075)