Date: Wed, 16 Dec 2020 17:42:33 -0800 From: Kevin Oberman <rkoberman@gmail.com> To: Michael Gmelin <freebsd@grem.de> Cc: Matthias Apitz <guru@unixarea.de>, "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org> Subject: Re: Xorg (latest from ports) and no mouse movement Message-ID: <CAN6yY1uE3BDyfYKPx0EvTkD87M5vitL3JC%2B2jEXs3v6opE5txw@mail.gmail.com> In-Reply-To: <20201216173931.4eda0517@bsd64.grem.de> References: <20201205115850.GA4689@c720-r342378> <56a68baa-fec7-6610-5d24-6159b75927ab@kondratyev.su> <20201205144428.GA7042@c720-r342378> <d01e5270-77b0-5bf1-6af4-7cd75d5029ca@kondratyev.su> <u4tmdt.qkvl4m.2wallm-qmf@ms-10.1blu.de> <5cad48e4-2414-1581-f79d-5b2d4d0b6619@kondratyev.su> <X9IWYJvIfAjdU348@c720-r368166.fritz.box> <1f745bc6-8315-3825-d3c4-8b04cd63a88c@kondratyev.su> <X9nva3MXXq4Crg7g@c720-r368166.fritz.box> <4dafd8bb-14fa-dee9-353f-625f8479af95@kondratyev.su> <X9oR4L636FPw9gva@c720-r368166.fritz.box> <20201216173931.4eda0517@bsd64.grem.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 16, 2020 at 8:40 AM Michael Gmelin <freebsd@grem.de> wrote: > > > On Wed, 16 Dec 2020 14:55:44 +0100 > Matthias Apitz <guru@unixarea.de> wrote: > > > El d=C3=ADa mi=C3=A9rcoles, diciembre 16, 2020 a las 02:55:44p. m. +030= 0, > > Vladimir Kondratyev escribi=C3=B3: > > > > > On 16.12.2020 14:28, Matthias Apitz wrote: > > > > El d=C3=ADa jueves, diciembre 10, 2020 a las 09:03:02p. m. +0300, > > > > Vladimir Kondratyev escribi=C3=B3: > > > >>> 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. > > > >>> > > > >> What types of press did you try? Taps or clicks? > > > > > > > > Only short taps. > > > > > > > AFAIK, libinput disables taps by default. Try to add following > > > snippet to your xorg.conf: > > > > I do not have (and never had on this laptop) any xorg.conf file. I > > added the options to an existing file: > > > > # diff /usr/local/share/X11/xorg.conf.d/40-libinput.conf* > > > > 37,39d36 > > < Option "Tapping" "on" > > < Option "NaturalScrolling" "on" > > < Option "ClickMethod" "clickfinger" > > > > > 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= pointer > (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= keyboard > (2)] > =E2=86=B3 Virtual core XTEST keyboard id=3D5 [slave = keyboard > (3)] > =E2=86=B3 System keyboard multiplexer id=3D7 [slave = keyboard > (3)] > =E2=86=B3 AT keyboard id=3D8 [slave = keyboard > (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.000000, 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): <no items> > 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 > > -- > Michael Gmelin > Interesting! Thanks, Michael. On my system the properties all seem to match those in the Linux Syn/PS2 as described in the synaptics(4) man page. It lacks "Tapping Enabled" and tapping is enabled by defining "Synaptics Tap Action" bit mapped boolean. If you plan to play around with these settings, I suggest reading that man page which is available at http://manpages.ubuntu.com/manpages/cosmic/man4/synaptics.4.html -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uE3BDyfYKPx0EvTkD87M5vitL3JC%2B2jEXs3v6opE5txw>