From owner-freebsd-x11@freebsd.org Wed Dec 16 16:40:37 2020 Return-Path: Delivered-To: freebsd-x11@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 5A0AD4C11FB for ; Wed, 16 Dec 2020 16:40:37 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cx18N1Y32z3Nc6 for ; Wed, 16 Dec 2020 16:40:35 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 3b9d32c5; Wed, 16 Dec 2020 16:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=4b5urwOA ycInal/dUOK+azthU8g=; b=tygqCcRpC2703Xi/e6uQgTnpUemhz5Bcd9pqoHu9 Xqq6BvDyhEsi+7+mjq79m/3Oo0I/EEZ/6fSIpjnhpX/9d4sMzT8aGVQsXX9Kn9Nb /fjschx6UFyGvpWNssDd3s3sXdFF3PN6FjsZ7Pi20ev8yuxbjVHyGUSb2LnSFLaP wDfPkCaH+9dE3vO5DwiyfpyldNlQ+uFqo3xxgmesojT8evg+ugW6VA3VeWBAHOP2 sAOWekjly7IKQlUvoi1yYfbaWg7NnNGRWRq0T3YehzGkoMGrtOnwXakP7RwIO4h9 EY41uLJvWEYEo5/doYaaty8rrTJUEfnkNodLzY9lc9Bdbg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=AS tGeBazwWKPJvLUMBuHwP7HkWj1GFT8zXkl+eb0kr15n+hmgbuOGkR3H+vU/6qUFP akpL6s+69/R3be7DJU4eohhJ+6HLyZUGnlMyBHyYAUnvV8+p6ortRzYYAlqQopJw w7Bq3JezI89Sb18pnhEqrCV15K6r+yoIkrwb6tD8a8+5ZPMwu1vs+g9/kp3DdHAo fDwvMz/8tEy/TjQzDT59LRunUlvSLZMW06SbAA3Xpq76QaF52q/NhhIr3VT8Gyht xobhD+yyGU3mrhTFXO6OYGxDI6VLobyjgkkixL1gM+U8JsLFDTMfHGJhs3HtPfIq GBTPr5/mjSdR5RocUVBA== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 05fe2d4e (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Wed, 16 Dec 2020 16:40:26 +0000 (UTC) Date: Wed, 16 Dec 2020 17:39:31 +0100 From: Michael Gmelin To: Matthias Apitz Cc: freebsd-x11@freebsd.org Subject: Re: Xorg (latest from ports) and no mouse movement Message-ID: <20201216173931.4eda0517@bsd64.grem.de> In-Reply-To: References: <20201205115850.GA4689@c720-r342378> <56a68baa-fec7-6610-5d24-6159b75927ab@kondratyev.su> <20201205144428.GA7042@c720-r342378> <5cad48e4-2414-1581-f79d-5b2d4d0b6619@kondratyev.su> <1f745bc6-8315-3825-d3c4-8b04cd63a88c@kondratyev.su> <4dafd8bb-14fa-dee9-353f-625f8479af95@kondratyev.su> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Cx18N1Y32z3Nc6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=tygqCcRp; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; SPAMHAUS_ZRD(0.00)[213.239.217.29:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[213.239.217.29:from]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 16:40:37 -0000 On Wed, 16 Dec 2020 14:55:44 +0100 Matthias Apitz wrote: > El d=C3=ADa mi=C3=A9rcoles, diciembre 16, 2020 a las 02:55:44p. m. +0300, > Vladimir Kondratyev escribi=C3=B3: >=20 > > On 16.12.2020 14:28, Matthias Apitz wrote: =20 > > > El d=C3=ADa jueves, diciembre 10, 2020 a las 09:03:02p. m. +0300, > > > Vladimir Kondratyev escribi=C3=B3:=20 > > >>> In /etc/sysctl.conf I have for cyapa TP > > >>> > > >>> debug.cyapa_enable_tapclick=3D3 > > >>> debug.cyapa_tapclick_max_ticks=3D20 > > >>> > > >>> Maybe this could be related. > > >>> =20 > > >> What types of press did you try? Taps or clicks? =20 > > >=20 > > > Only short taps. > > > =20 > > AFAIK, libinput disables taps by default. Try to add following > > snippet to your xorg.conf: =20 >=20 > I do not have (and never had on this laptop) any xorg.conf file. I > added the options to an existing file: >=20 > # diff /usr/local/share/X11/xorg.conf.d/40-libinput.conf* >=20 > 37,39d36 > < Option "Tapping" "on" > < Option "NaturalScrolling" "on" > < Option "ClickMethod" "clickfinger" > > =20 Hi Matthias, Instead of modifying the X config file that came from the package or adding your own custom xorg config files, you can use `xinput` to modify these properties while X is running and, once you're happy, automate that for startup in your ~/.xinitrc (I do this with all my customizations, so that all configuration stays in my home directory). You can list available devices using xinput, example: $ xinput =E2=8E=A1 Virtual core pointer id=3D2 [master p= ointer (3)] =E2=8E=9C =E2=86=B3 Virtual core XTEST pointer id=3D4 [= slave pointer (2)] =E2=8E=9C =E2=86=B3 System mouse id=3D6 [= slave pointer (2)] =E2=8E=9C =E2=86=B3 SynPS/2 Synaptics TouchPad id=3D9 [= slave pointer (2)] =E2=8E=9C =E2=86=B3 TPPS/2 IBM TrackPoint id=3D10 [= slave pointer (2)] =E2=8E=A3 Virtual core keyboard id=3D3 [master k= eyboard (2)] =E2=86=B3 Virtual core XTEST keyboard id=3D5 [slave k= eyboard (3)] =E2=86=B3 System keyboard multiplexer id=3D7 [slave k= eyboard (3)] =E2=86=B3 AT keyboard id=3D8 [slave k= eyboard (3)] In my case, the device is"SynPS/2 Synaptics TouchPad". Using this, I can the drill into available properties: $ xinput list-props "SynPS/2 Synaptics TouchPad" Device 'SynPS/2 Synaptics TouchPad': Device Enabled (138): 1 Coordinate Transformation Matrix (139): 1.000000, 0.000000, 0.00000= 0, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Tapping Enabled (293): 0 libinput Tapping Enabled Default (294): 0 libinput Tapping Drag Enabled (295): 1 libinput Tapping Drag Enabled Default (296): 1 libinput Tapping Drag Lock Enabled (297): 0 libinput Tapping Drag Lock Enabled Default (298): 0 libinput Tapping Button Mapping Enabled (299): 1, 0 libinput Tapping Button Mapping Default (300): 1, 0 libinput Natural Scrolling Enabled (261): 0 libinput Natural Scrolling Enabled Default (262): 0 libinput Disable While Typing Enabled (301): 0 libinput Disable While Typing Enabled Default (302): 1 libinput Scroll Methods Available (263): 1, 1, 0 libinput Scroll Method Enabled (264): 1, 0, 0 libinput Scroll Method Enabled Default (265): 1, 0, 0 libinput Click Methods Available (303): 1, 1 libinput Click Method Enabled (304): 1, 0 libinput Click Method Enabled Default (305): 1, 0 libinput Middle Emulation Enabled (268): 1 libinput Middle Emulation Enabled Default (269): 0 libinput Accel Speed (270): 0.000000 libinput Accel Speed Default (271): 0.000000 libinput Left Handed Enabled (275): 0 libinput Left Handed Enabled Default (276): 0 libinput Send Events Modes Available (277): 1, 1 libinput Send Events Mode Enabled (278): 0, 0 libinput Send Events Mode Enabled Default (279): 0, 0 Device Node (280): "/dev/input/event3" Device Product ID (281): 2, 7 libinput Drag Lock Buttons (282): libinput Horizontal Scroll Enabled (283): 1 On my touchpad, using the command $ xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1 enables tapping on my touchpad. To make this change permanent, I then add the following lines to my ~/.xinitrc file (obviously before starting the window manager, probably nearby potentially existing calls to configure keymap with setxkbmap): device=3D"SynPS/2 Synaptics TouchPad" xinput set-prop "$device" "libinput Tapping Enabled" 1 # for those who like "natural" scrolling: xinput set-prop "$device" "libinput Natural Scrolling Enabled" 1 # etc. You'll need to replace "SynPS/2 Synaptics TouchPad" with the correct device name you determined using xinput above ("Cyapa something"). Cheers, Michael --=20 Michael Gmelin