Xorg (latest from ports) and no mouse movement

Vladimir Kondratyev vladimir at kondratyev.su
Wed Dec 16 16:10:12 UTC 2020


On 16.12.2020 16:55, Matthias Apitz wrote:
> El día miércoles, diciembre 16, 2020 a las 02:55:44p. m. +0300, Vladimir Kondratyev escribió:
> 
>> On 16.12.2020 14:28, Matthias Apitz wrote:
>>> El día jueves, diciembre 10, 2020 a las 09:03:02p. m. +0300, Vladimir Kondratyev escribió:
>>>
>>>>> In /etc/sysctl.conf I have for cyapa TP
>>>>>
>>>>> debug.cyapa_enable_tapclick=3
>>>>> debug.cyapa_tapclick_max_ticks=20
>>>>>
>>>>> 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"
>>
> 
> Now tapping works. But with some problems:
> 
> - I can tap on a desktop icon and the app, for example xterm, starts
>   fine;
> 
> - I can double tap some word to 'cut' it, it is shown inversed, but can't paste
>   the word as input;

3-finger tap is typical gesture for emulating a middle button click.

> 
> - I can click in the title bar of a window, the mouse pointer gets shown
>   as a cross, but I can't move the window around;

Use tap-and-drag
https://wayland.freedesktop.org/libinput/doc/latest/tapping.html or
click-and-drag gestures.

> I haven't yet applied your additional patch.

If you would apply the patch add it would work correctly, you would get
another one option to do a middle button click called "softbuttons":
https://wayland.freedesktop.org/libinput/doc/latest/clickpad-softbuttons.html

> Should this applied on top
> of the already applied patch?

No it should be applied on top of the vanilla cyapa.c

> I rerun evemu and attaching its output of one click and one tap.
> 
> The value for value for kern.evdev.rcpt_mask was now set to 12 before
> starting Xorg.
> 
> Thanks
> 
> 	matthias
> 
> 
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
> 



More information about the freebsd-x11 mailing list