From nobody Wed Apr 6 20:01:41 2022 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E79151A874CB for ; Wed, 6 Apr 2022 20:01:50 +0000 (UTC) (envelope-from jbo@insane.engineer) Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KYb4t3Xfcz4Ty4 for ; Wed, 6 Apr 2022 20:01:50 +0000 (UTC) (envelope-from jbo@insane.engineer) Date: Wed, 06 Apr 2022 20:01:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=insane.engineer; s=protonmail2; t=1649275308; bh=F3lM/zj81Fj0qr8MhEIeEZ6a7F2SoDArj6Yvfy4Xy64=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: From:To:Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=hH/Ac4ImS51XuxlVznuH1l705Hv1esM5TPFambzxo0+bMnkfWnjL9APtk642Ax8wK j1iRl7QFo+BEFbpo+CAUQkEQ5ARmhMV0DPHuIDvE1uwf4ziEcCa+w393+c1AYxHH1x xC6+sdQI4UvYSiheZ38vcLXnR8FXSCsP6FIryhFljAb/7+g1R602NYbZON/bI51dm7 aL626OiQIqFZz+bT+oZpH1TI9YZ2CL5/FbI6rFGASF4cs8XSD1klMW62iJbj5avjpO 1QYusz4Lev7vANieWJ+62DBbQc4BOwb9pIIUWR/5RMZ2Q0iWAQh+wgW8YupuCfPN65 M3tWlEqXuAHbg== To: "stable@freebsd.org" From: jbo@insane.engineer Reply-To: jbo@insane.engineer Subject: Touchpad not working properly after suspend-resume Message-ID: In-Reply-To: References: List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4KYb4t3Xfcz4Ty4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=insane.engineer header.s=protonmail2 header.b="hH/Ac4Im"; dmarc=pass (policy=none) header.from=insane.engineer; spf=pass (mx1.freebsd.org: domain of jbo@insane.engineer designates 185.70.43.23 as permitted sender) smtp.mailfrom=jbo@insane.engineer X-Spamd-Result: default: False [-4.00 / 15.00]; HAS_REPLYTO(0.00)[jbo@insane.engineer]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[insane.engineer:s=protonmail2]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.43.0/24]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[insane.engineer:+]; DMARC_POLICY_ALLOW(-0.50)[insane.engineer,none]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[stable]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.43.23:from]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello folks, I'm experiencing issues with the touchpad after resuming from suspend. System: - Lenovo ThinkPad X1 Carbon Gen9 - FreeBSD 13.1-STABLE (March 27 2022) After a regular boot, the touchpad is working as expected. If I then use zz= z(8) to suspend the system and resume afterwards, the touchpad is behaving = weirdly: - Regular cursor movements (one finger) are very, very laggy. It feels li= ke the system is updating the cursor's position only once ever 800ms (or th= ere about). - Anything multi-touch related such as two-finger scrolling is not workin= g at all. The keyboard and the trackpoint (joystick-thingy) continue to work as expec= ted after resuming from suspend. I'm using libinput as the input driver. Here's the relevant part of my Xorg= config: Section "InputClass" Identifier "libinput touchpad catchall" Driver "libinput" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "AccelSpeed" "0.5" Option "ClickMethod" "clickfinger" Option "DisableWhileTyping" "on" Option "HorizontalScrolling" "on" Option "LeftHanded" "off" Option "NaturalScrolling" "on" Option "ScrollMethod" "twofinger" Option "Tapping" "on" Option "TappingDrag" "on" Option "TappingDragLock" "off" EndSection Any idea how to track down the problem, what the problem could be or how to= fix this? I could not spot anything obviously in Xorg's log. Best regards, ~ Joel