* The touchpad's right button become no function after update to 5.4 kernel
* The INPUT_PROP_BUTTONPAD property is set by 5.4 kernel, so that libinput regard it as clickpad.
* Add a model quirk to unset the bit can make touchpad's right button works normally.
[Test Case]
* 1. Boot into Ubuntu
2. Identify touchpad input device number,
can be obtained in $HOME/.local/share/xorg/Xorg.0.log
3. $ udevadm info /sys/class/input/inputX
check PROP environment variable, it is 5 if INPUT_PROP_BUTTONPAD property is set
4. And the touchpad right button become no function
5. After update the libevdev with disable_property API and libinput10 with model quirk
6. reboot
7. The input device PROP is still 5, but touchpad right button is workable
* For libinput, add model quirk for the platform to disable INPUT_PROP_BUTTONPAD bit.
Only disable the INPUT_PROP_BUTTONPAD for specified model, and it doesn't issue any
IO command to kernel, so the behavior should be the same as previous kernel when
INPUT_PROP_BUTTONPAD is not set
[Impact]
* The touchpad's right button become no function after update to 5.4 kernel
* The INPUT_PROP_ BUTTONPAD property is set by 5.4 kernel, so that libinput regard it as clickpad.
* Add a model quirk to unset the bit can make touchpad's right button works normally.
[Test Case]
* 1. Boot into Ubuntu local/share/ xorg/Xorg. 0.log input/inputX BUTTONPAD property is set
2. Identify touchpad input device number,
can be obtained in $HOME/.
3. $ udevadm info /sys/class/
check PROP environment variable, it is 5 if INPUT_PROP_
4. And the touchpad right button become no function
5. After update the libevdev with disable_property API and libinput10 with model quirk
6. reboot
7. The input device PROP is still 5, but touchpad right button is workable
[Where problems could occur]
* For libevdev2 package, backport the upstream commit: /gitlab. freedesktop. org/libevdev/ libevdev/ -/commit/ 4226c7801b4ea1b 0c7d1eaac47ca24 ece8f24809
https:/
The API is not originally exist in the system, so it will only be utilized by our model quirk.
* For libinput, add model quirk for the platform to disable INPUT_PROP_ BUTTONPAD bit. BUTTONPAD for specified model, and it doesn't issue any PROP_BUTTONPAD is not set
Only disable the INPUT_PROP_
IO command to kernel, so the behavior should be the same as previous kernel when
INPUT_
[Other Info]
* A public bug is reported /www.dell. com/community/ Linux-Developer -Systems/ Touchpad- right-click- button- not-working- with-Ubuntu- 20-04-on/ td-p/7636831
https:/