From owner-freebsd-stable@freebsd.org Tue Oct 27 14:50:44 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2AD164506E1 for ; Tue, 27 Oct 2020 14:50:44 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CLF4g2jR7z3SCh for ; Tue, 27 Oct 2020 14:50:43 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: by mail-lj1-x232.google.com with SMTP id d24so2066260ljg.10 for ; Tue, 27 Oct 2020 07:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=cvj/K+v0Zwb7H7cd61V+uD8xpsm5vIih5kYpdY0rTzM=; b=R3Migmr9dVhNgH6xmCT0B1ttm3R9AlHZZjplc+4XcA7ORiXaYXouNUSKh6sSDjlXzh mLz6OAnZu58GBw10HjeNJY760tNGt26swMIhZAogdaF8hNznVY6a9DBYeTLrZmLMbSBB 9b+BVmZkORGQeNyr0D9/bbx6+yIFdUWbnRlUaZM/ShMvosLvY11j9Ea1ntIC0vnV9mqG iGyLPpqRaN8ZE/HPQ6lk3qQtQI3ZFonOWlBq+BrDJ0f5PLVFKNuVOdqsZHy517jB0U21 EH0LipJAcJPizpq+KtFn2NecLrgDxlyIEbX11cD0mwwLpirwZ7QvUUkim+iJKCuztF0k Jwog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cvj/K+v0Zwb7H7cd61V+uD8xpsm5vIih5kYpdY0rTzM=; b=cxehJtPPHnb8eVcVYPrpKJNMTc3ezkPMOEh6dqjjalXR+MRAFIE24TPIKWO9Ia36Cx KqMMyiI5+0Y7FvOtQhdHUlE1cG3mAN4LGQNUDlRm1aJzSDxoVuTk11S+/jJo+va8JT/l +F6dRNQgedBjQmT7e5VMzRoxq5gF557axZC/amxN3x+DUeQTZnrgpbWgoXlXBC7wuvXH 8W2LkM3s5LLlEZckl4DPJEp09VmLXkTT3yo6tZEJ/b1t0FgVVjNF5Xlt3L6k2aN9/xc+ qPaG9+9q/RrnMLp6Bde5PDKmtdjAb5SnI8gBoRdPZw5foSvp4NCwS8ucE3Fh850EJlKi Rb5g== X-Gm-Message-State: AOAM530F2fHPud8mTMcdFo016cXHeZ/qsxjueVMNsvKENrniDxgLGsNC 2qCS4cgcj2IkM7UXhbesBZyTz2FpwsJtGQ== X-Google-Smtp-Source: ABdhPJxJIfb1dDxOb7J7uEEpFxa7f7sR1V0n2dNGtCG9nQfqg9M2IXg7Z0hBvcl+JqQ32WvCf4GcnA== X-Received: by 2002:a2e:8599:: with SMTP id b25mr1196092lji.107.1603810241251; Tue, 27 Oct 2020 07:50:41 -0700 (PDT) Received: from laptop.domain ([86.57.155.118]) by smtp.gmail.com with ESMTPSA id i6sm203412lfo.270.2020.10.27.07.50.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 07:50:40 -0700 (PDT) Date: Tue, 27 Oct 2020 17:50:47 +0300 From: "Sergey V. Dyatko" To: freebsd-stable@freebsd.org Subject: Re: 12.2-RC2 synaptics "tap to click" Message-ID: <20201027175047.774427ea@laptop.domain> In-Reply-To: <921711d6-4cff-99ee-4c3a-13ccaa40237e@gmx.com> References: <52dda53f-2537-b3cd-be03-e7c147fddf56@gmx.com> <809b7e01-e288-5344-5a43-f9ff42baf457@gmx.com> <53d2c374-c198-b522-1d31-9e4d3afbbfcf@daemonic.se> <6292d1f1-e2c2-0e74-0841-36e6f739109f@gmx.com> <037670a9-3deb-3e49-d53e-ed12bb7acb96@daemonic.se> <6a873a86-2f36-b3e3-fe26-f2222797d37e@gmx.com> <921711d6-4cff-99ee-4c3a-13ccaa40237e@gmx.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4CLF4g2jR7z3SCh X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=R3Migmr9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sergeydyatko@gmail.com designates 2a00:1450:4864:20::232 as permitted sender) smtp.mailfrom=sergeydyatko@gmail.com X-Spamd-Result: default: False [-3.03 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.02)[-0.020]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.019]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::232:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2020 14:50:44 -0000 On Thu, 15 Oct 2020 08:20:25 -0600 David <2yt@gmx.com> wrote:=20 > On 2020-10-12 13:06, Niclas Zeising wrote: > > On 2020-10-12 20:49, David wrote: =20 > >> On 2020-10-12 12:08, Niclas Zeising wrote: =20 > >>> On 2020-10-12 19:02, David wrote: =20 > >>>> On 2020-10-12 10:43, Niclas Zeising wrote: =20 > >>>>> On 2020-10-12 17:08, David wrote: =20 > >>>>>> On 2020-10-12 08:15, Niclas Zeising wrote: =20 > >>>>>>> On 2020-10-11 18:55, 2yt@gmx.com wrote: =20 > >>>>>>>> On 2020-10-11 09:39, Mark Saad wrote: =20 > >>>>>>>>> 2yt > >>>>>>>>> =C2=A0=C2=A0 Can you provide us some details , what do you have= in your > >>>>>>>>> boot/loader.conf , etc/sysctl.conf > >>>>>>>>> and what do you have in your Xorg config ? =20 > >>>>>>>> > >>>>>>>> /etc/X/11/Xorg.conf does not exist. (auto generate on startup) As > >>>>>>>> far as > >>>>>>>> I know, the only synaptics related setting I have is in > >>>>>>>> /etc/boot.conf > >>>>>>>> > >>>>>>>> hw.psm.synaptics_support=3D"1" =20 > >>>>>>> > >>>>>>> This is the default on FreeBSD 12.2. > >>>>>>> =20 > >>>>>> > >>>>>> Thank you for letting me know. > >>>>>> =20 > >>>>>>>> > >>>>>>>> > >>>>>>>> Attached are the files you requested and the output of sysctl > >>>>>>>> hw.psm > >>>>>>>> =20 > >>>>>>>>> On Sun, Oct 11, 2020 at 11:29 AM <2yt@gmx.com> wrote: =20 > >>>>>>>>>> > >>>>>>>>>> I use a Thinkpad X1 Carbon 4th gen. After upgrading to 12.2 fr= om > >>>>>>>>>> 12.1, I > >>>>>>>>>> lost=C2=A0 "tap to click" which worked perfectly in past relea= ses. Is > >>>>>>>>>> this a > >>>>>>>>>> know feature change? Is there a new sysctl variable that needs > >>>>>>>>>> set? > >>>>>>>>>> > >>>>>>>>>> The other synaptics features are all working just fine. > >>>>>>>>>> > >>>>>>>>>> Thanks =20 > >>>>>>> > >>>>>>> Can you show what xinput --list-props for the trackpad? (list with > >>>>>>> xinput --list-devices and then check which device is the trackpad, > >>>>>>> then > >>>>>>> xinput --list-props id-of-trackpad). > >>>>>>> Regards =20 > >>>>>> > >>>>>> Thank you for the troubleshooting help. The output you requested d= oes > >>>>>> show "Tapping Enabled" set to 0. Is this the problem? > >>>>>> =20 > >>>>> > >>>>> It could be.=C2=A0 You could try just running something like > >>>>> `xinput --set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping > >>>>> Enabled'` > >>>>> and see if it helps. > >>>>> You can use the ID of the device instead of the name, but the ID mi= ght > >>>>> change if you for instance boot the machine with an additional > >>>>> keyboard > >>>>> or something.=C2=A0 If it works, you can put it in your .xinitrc eor > >>>>> .xsession, and it should take effect every time you start X. > >>>>> Regards =20 > >>>> > >>>> Yes, running `xinput --set-prop 10 'libinput Tapping Enabled' 1` did > >>>> resolve the problem. I will update .xinitrc as a workaround. > >>>> > >>>> Question: is this problem unique to my laptop? Are other Thinkpad us= ers > >>>> not experiencing this issue with 12.2? > >>>> > >>>> Thank you so much for helping me. I can't stand the clicking noise t= he > >>>> touchpad makes. =20 > >>> > >>> I don't know if others are experiencing this issue.=C2=A0 Myself, I'v= e had > >>> the xinput stuff (and some other things) in my .xinitrc for quite some > >>> time. > >>> Yours is the first report that I've seen about this. > >>> Regards =20 > >> > >> In the next day or so I will do a fresh install to confirm whether it = is > >> a bug in 12.2 or an update/ssd corruption issue. Will update you with > >> the results. > >> > >> Thanks again for the help! =20 > > > > There has been changes in how input devices are handled in FreeBSD xorg. > > =C2=A0Most of them should have been visible in 12.1 already, but it mi= ght be > > due to this. > > It is definitely not a bug, it might have been a default that changed > > with the various updates to xorg and friends, though. > > Regards =20 >=20 > Of course you are correct, it is not a bug, rather an undocumented > feature change. >=20 > I did a fresh install of 12.2-RC2 then installed xorg and > drm-fbsd12.0-kmod but X wouldn't start. I had to install from ports > drm-fbsd12.0-kmod for X to work. The "tap to click" did not work. >=20 > Perhaps we could update the wiki > https://wiki.freebsd.org/SynapticsTouchpad to include the the > instructions to enable/disable "tap to click". >=20 I have following xorg.conf section: Section "InputClass" Identifier "libinput touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "Tapping" "on" Driver "libinput" EndSection maybe there is a better solution, but this works in my case (13.0-CURRENT #2 r362468) -- wbr, Sergey