Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Jeffrey Walton Newsgroups: linux.debian.user Subject: Re: touchpad buttons sometimes stop working for several seconds Date: Thu, 16 Nov 2023 18:10:02 +0100 Message-ID: References: X-Original-To: debian-user@lists.debian.org X-Mailbox-Line: From debian-user-request@lists.debian.org Thu Nov 16 17:02:57 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.209 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Gm-Message-State: AOJu0YwRIJcqOhsw3mtU+6X73ZyOnRenmFo3foZMnfnP5jaiuRDCTq1l oVlfwIi7X/8DDakyHi86xwbfAOC5/rD4pDhtRvp6XVDsDgA= X-Google-SMTP-Source: AGHT+IESRwMAip3P0MfZBer8FGts4JMnpgcfz1aA2I39lE2tkmj8xiR9FERkTbd2/ZCWcGDa0fwA2eYJl3OCY+E7LMQ= X-Received: by 2002:a05:6820:29b:b0:584:1457:a52a with SMTP id q27-20020a056820029b00b005841457a52amr17554852ood.3.1700154153739; Thu, 16 Nov 2023 09:02:33 -0800 (PST) MIME-Version: 1.0 Reply-To: noloader@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/805342 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAH8yC8kjmQ0bZz9TggwHhGz0YyBkb7h+6=gxHfww6HUjbXRTsQ@mail.gmail.com Approved: robomod@news.nic.it Lines: 77 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 16 Nov 2023 12:02:22 -0500 X-Original-Message-ID: X-Original-References: <20231031175320.GA26501@qaa.vinc17.org> Xref: csiph.com linux.debian.user:263597 On Tue, Oct 31, 2023 at 2:02=E2=80=AFPM Vincent Lefevre 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), valu= e 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.000= 000, 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): > 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 . Jeff