Re: touchpad buttons sometimes stop working for several seconds
On Tue, Oct 31, 2023 at 2:02 PM Vincent Lefevre <vincent@vinc17.net> wrote:
>
> I have a new laptop. An issue I have is that the touchpad buttons
> often stop working for several seconds (under X11).
>
> This is visible even with evtest: when I click on any of the soft
> buttons, I normally get an event like
>
> Event: time 1698773368.142943, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
>
> But when the problem occurs, I do not get such an event.
>
> Any idea to fix this?
>
> The device is: VEN_04F3:00 04F3:311C
>
> $ xinput list-props 13
> Device 'VEN_04F3:00 04F3:311C Touchpad':
> Device Enabled (190): 1
> Coordinate Transformation Matrix (192): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
> libinput Tapping Enabled (353): 0
> libinput Tapping Enabled Default (354): 0
> libinput Tapping Drag Enabled (355): 1
> libinput Tapping Drag Enabled Default (356): 1
> libinput Tapping Drag Lock Enabled (357): 0
> libinput Tapping Drag Lock Enabled Default (358): 0
> libinput Tapping Button Mapping Enabled (359): 1, 0
> libinput Tapping Button Mapping Default (360): 1, 0
> libinput Natural Scrolling Enabled (332): 0
> libinput Natural Scrolling Enabled Default (333): 0
> libinput Disable While Typing Enabled (361): 1
> libinput Disable While Typing Enabled Default (362): 1
> libinput Scroll Methods Available (334): 1, 1, 0
> libinput Scroll Method Enabled (335): 1, 0, 0
> libinput Scroll Method Enabled Default (336): 1, 0, 0
> libinput Click Methods Available (363): 1, 1
> libinput Click Method Enabled (364): 1, 0
> libinput Click Method Enabled Default (365): 1, 0
> libinput Middle Emulation Enabled (366): 0
> libinput Middle Emulation Enabled Default (367): 0
> libinput Accel Speed (341): 0.000000
> libinput Accel Speed Default (342): 0.000000
> libinput Accel Profiles Available (343): 1, 1
> libinput Accel Profile Enabled (344): 1, 0
> libinput Accel Profile Enabled Default (345): 1, 0
> libinput Left Handed Enabled (346): 0
> libinput Left Handed Enabled Default (347): 0
> libinput Send Events Modes Available (313): 1, 1
> libinput Send Events Mode Enabled (314): 0, 0
> libinput Send Events Mode Enabled Default (315): 0, 0
> Device Node (316): "/dev/input/event14"
> Device Product ID (317): 1267, 12572
> libinput Drag Lock Buttons (348): <no items>
> libinput Horizontal Scroll Enabled (349): 1
> libinput Scrolling Pixel Distance (350): 15
> libinput Scrolling Pixel Distance Default (351): 15
> libinput High Resolution Wheel Scroll Enabled (352): 1
>
> The X input drivers:
>
> $ dpkg -l | grep xserver-xorg-input
> ii xserver-xorg-input-all 1:7.7+23 amd64 X.Org X server -- input driver metapackage
> ii xserver-xorg-input-libinput 1.2.1-1+b1 amd64 X.Org X server -- libinput input driver
> ii xserver-xorg-input-wacom 1.1.0-1 amd64 X.Org X server -- Wacom input driver
I believe there's a libinput-record that you can use to record events.
Later you can inspect the events and play them back. Also see
<https://manpages.debian.org/testing/libinput-tools/libinput-record.1.en.html>.
Jeff
Reply to: