Date: Sat, 9 Sep 2023 11:06:38 +0200 From: Matthias Apitz <guru@unixarea.de> To: freebsd-current@freebsd.org Cc: Vladimir Kondratyev <vladimir@kondratyev.su>, Vladimir Kondratyev <wulf@freebsd.org> Subject: Re: Acer C720 Chromebook Cypress Trackpad Message-ID: <ZPw1niUJbh3pwN%2BW@c720-r368166> In-Reply-To: <ZPrq7Ed29EMQSgDq@pureos>
index | next in thread | previous in thread | raw e-mail
Please don't use what I said in my yesterday posting (attached below only
as reference). Loading the kmod chromebook_platform.ko makes the mouse
pointer jumping without any reason back and for to other places when
Xorg is running.
I observed and do use now:
- the cyapa EVDEV patches from December 2020, I've got from Vladimir
at that time, are in head;
- I use in ~/.xinitrc:
device="Cypress APA I2C Trackpad"
xinput set-prop "$device" "libinput Tapping Enabled" 1
xinput set-prop "$device" "libinput Natural Scrolling Enabled" 1
xinput set-prop "$device" "libinput Middle Emulation Enabled" 0
and in /etc/sysctl.conf
# Cypress Trackpad:
kern.evdev.rcpt_mask=3
debug.cyapa_enable_tapclick=3
debug.cyapa_tapclick_max_ticks=20
This gives the Trackpad working as described in cyapa(4), esp. with
this layout for taps (not clicks!):
Trackpad layout
2/3 1/3
+--------------------+------------+
| | Middle |
| | Button |
| Left | |
| Button +------------+
| | Right |
| | Button |
+--------------------+............|
| Thumb/Button Area | 15%
+---------------------------------+
In the past (December 2020) exactly this configuration gave another
layout:
+------------------------------------+
| |
| main area |
| |
| |
+------------------------------------+
| button1 | button2 | button3 | ~10mm in high
+------------------------------------+
which also was in sync with the freedesktop.org documentation:
https://wayland.freedesktop.org/libinput/doc/latest/clickpad-softbuttons.html
Why this has changed? And is there any chance to get the old layout
back, as I'm used to it :-)
Thanks
matthias
El día viernes, septiembre 08, 2023 a las 11:35:40a. m. +0200, Matthias Apitz escribió:
>
> It seems that something has changed in cyapa.ko how the (not existing)
> three buttons of the trackpad are emulated. In FreeBSD 13.0-CURRENT r368166
> I used only the cyapa.ko module and some xinput commands in .xinitrc
> to get button1, button2 and button3 as shown in the small "grafic"
> below. This was not working anymore and it took me some hours of
> testing, until I got it working again with loading the additional kmod
> chromebook_platform.ko. Now the three buttons are there as expected.
>
> I add this here if someone runs into the same problem (or if someone has
> comments on this):
>
> ...
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZPw1niUJbh3pwN%2BW>
