From e74ca92b299beb8622f80920124ded7664339258 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 6 Jul 2023 11:48:10 +1000 Subject: [PATCH] Add quirk for the Mayabay pressurepad (#2219812) Resolves: rhbz#2219812 --- 0001-quirks-Dell-Mayabay-Pressure-Pad.patch | 28 +++++++++++++++++++++ libinput.spec | 6 ++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 0001-quirks-Dell-Mayabay-Pressure-Pad.patch diff --git a/0001-quirks-Dell-Mayabay-Pressure-Pad.patch b/0001-quirks-Dell-Mayabay-Pressure-Pad.patch new file mode 100644 index 0000000..d2f06c0 --- /dev/null +++ b/0001-quirks-Dell-Mayabay-Pressure-Pad.patch @@ -0,0 +1,28 @@ +From 6dc3b6ace421ab7862a30074a5842cc99637b171 Mon Sep 17 00:00:00 2001 +From: Marge Yang +Date: Wed, 8 Feb 2023 01:24:53 -0500 +Subject: [PATCH] quirks: Dell Mayabay (Pressure Pad). + +Signed-off-by: Marge Yang +(cherry picked from commit 74415b13fb72c457e5439c974f59e1b0d08a27ed) +Signed-off-by: Peter Hutterer +--- + 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 diff --git a/libinput.spec b/libinput.spec index ef828c2..54026f3 100644 --- a/libinput.spec +++ b/libinput.spec @@ -5,7 +5,7 @@ Name: libinput Version: 1.19.3 -Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 4%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} Summary: Input device library 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 Patch0002: 0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch +Patch0003: 0001-quirks-Dell-Mayabay-Pressure-Pad.patch BuildRequires: git-core BuildRequires: gcc @@ -149,6 +150,9 @@ pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python3') %{_mandir}/man1/libinput-test-suite.1* %changelog +* Thu Jul 06 2023 Peter Hutterer - 1.19.3-4 +- Add quirk for the Mayabay pressurepad (#2219245, #2219812) + * Thu Jan 19 2023 Peter Hutterer - 1.19.3-3 - Add a quirk for the Dell Precision 5680 pressurepad (#2158075)