Bug 44766 - libinput: Не работает ПКМ на тачпаде ноутбука ICL-Si1516
Summary: libinput: Не работает ПКМ на тачпаде ноутбука ICL-Si1516
Status: ASSIGNED
Alias: None
Product: Sisyphus
Classification: Development
Component: libinput (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Ajrat Makhmutov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 46625 51497
  Show dependency tree
 
Reported: 2022-12-29 11:55 MSK by Aleksandr Sysoev
Modified: 2024-09-18 19:21 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandr Sysoev 2022-12-29 11:55:14 MSK
Воспроизводится на alt-server-10
Версия пакета: 1.21.0-alt0.99

После обновления пакета до указанной версии перестаёт работать ПКМ на тачпаде ноутбука ICL-Si1516. 
Доп: на workstation-k 10.1 и workstation 10 ошибка не воспроизводится. 

Вывод  libinput debug-events --grab /dev/input/event15 
-event15  DEVICE_ADDED            ALPS0001:00 0911:5288 Touchpad    seat0 default group1  cap:pg  size 91x60mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
 event15  POINTER_BUTTON          +0.000s	BTN_LEFT (272) pressed, seat count: 1
 event15  POINTER_BUTTON          +0.119s	BTN_LEFT (272) released, seat count: 0
 event15  GESTURE_HOLD_BEGIN      +5.686s	1
 event15  POINTER_MOTION          +5.699s	  0.00/  0.11 ( +0.00/ +1.00)
 event15  GESTURE_HOLD_END        +5.719s	1

При нажвтии ПКМ вывод остаётся пустым. Реагирует только на нажатие ЛКМ и на касания/перемещения по тачпаду.
Comment 1 Savelev Pavel 2024-07-17 17:04:58 MSK
Версия пакета с ошибкой: libinput-1.26.1-alt1

Стенды с ошибкой:
kworkstation-10.3-x86-64, обновлённый до Сизиф.
education-10.2-x86-64-kde, обновлённый до Сизиф.
server-10.2-x86-64, обновлённый до Сизиф.

В данной версии пакета ошибка воспроизводится в сессии Wayland на Workstation K 10.3 и Education 10.2 KDE. Не воспроизводится на сессии Xorg на этих платформах. Так же воспроизводится на server-10.2-x86-64, обновлённом до Сизиф. В P10 (libinput-1.25.0-alt0.99) и P11 (libinput-1.25.0-alt1.1) ошибка на данных платформах не воспроизводится.
Вывод # libinput debug-events при нажатии ПКМ тачпада - пустой.
Comment 2 Yuri N. Sedunov 2024-07-17 18:23:04 MSK
Автору этого коммита придется еще залесть в libinput и разобраться в проблеме.
------------------------------------------------------
commit 106b61e21676a6ea8120702fd47e45a96d7875d3
Author: Airat Makhmutov <rautyrauty@gmail.com>
Date:   Wed Nov 29 12:17:47 2023 +0000

    quirks: touchpad quirk for Graviton N15i-K2
    
    The generic quirk introduced in commit d1f274c7 ("quirks: add a
    more generic match for the 5288 Synaptics clickpad") affects the
    touchpad (with physical buttons) present in the Graviton N15i-K2.

diff --git a/quirks/50-system-graviton.quirks b/quirks/50-system-graviton.quirks
new file mode 100644
index 00000000..6a71bc18
--- /dev/null
+++ b/quirks/50-system-graviton.quirks
@@ -0,0 +1,6 @@
+# Touchpad is not a clickpad but INPUT_PROP_BUTTONPAD is set
+[Synaptics ALPS0001:00 0911:5288 Touchpad]
+MatchUdevType=touchpad
+MatchName=ALPS0001:00 0911:5288 Touchpad
+AttrInputProp=-INPUT_PROP_BUTTONPAD
---------------------------------------------------------------------

Поскольку в дальнейшем этот quirk был переопределен только для гравитонов. И в этом, вероятно, проблема.

-----------------------------------------------------------------------
commit 18d1d4fd75eac462eecd93cbee9a9aade3ce78a9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Feb 14 09:08:13 2024 +1000

    quirks: tighten the match for the Graviton N15i touchpad
    
    Other systems use the same touchpad but without physical buttons (e.g.
    SpeedMind M-BOOK) and obviously the various systems using the 5288
    touchpad, see commit d1f274c7.
    
    Let's tighten this quirk to just the Graviton only.
    
    Closes #970
    Fixes 8163b552be23ef3f4082775649bb12a3f6162df6
    Related !957

diff --git a/quirks/50-system-graviton.quirks b/quirks/50-system-graviton.quirks
index 6a71bc18..86b6fa5d 100644
--- a/quirks/50-system-graviton.quirks
+++ b/quirks/50-system-graviton.quirks
@@ -2,5 +2,6 @@
 [Synaptics ALPS0001:00 0911:5288 Touchpad]
 MatchUdevType=touchpad
 MatchName=ALPS0001:00 0911:5288 Touchpad
+MatchDMIModalias=dmi:*svn3LogicGroup:*:pnGravitonN15i-K2*:*
 AttrInputProp=-INPUT_PROP_BUTTONPAD
 AttrEventCode=+BTN_RIGHT

----------------------------------------------------------------------------
Comment 3 Pivkin Denis 2024-09-18 17:00:17 MSK
Версия libinput-1.25.0-alt0.99.x86_64 
На ноутбуке ICL RAYbook Si1512 не работает ПКМ на тачпаде
cat /sys/class/dmi/id/modalias :
dmi:bvnAmericanMegatrendsInc.:bvrCN23FV501:bd12/07/2021:br5.1:efr1.0:svnICL:pnDefaultstring:pvrDefaultstring:rvnICL:rnSi16:rvrDefaultstring:cvnICL:ct10:cvrDefaultstring:skuDefaultstring: