Hi Jonathan,
would you mind to check what the kernel output looks like when
there are cursor jumps, that is, with the trackpoint, or the touchpad
in non-native mode? By "non-native mode", I refer to configurations
without the synaptics driver. (In such a configuration, the kernel-
internal driver converts the touchpad input into mouse events, and
report relative coordinates to X. If you configure the synaptics driver,
it issues a command which switches the input mode, and wsmouse will
report absolute coordinates, among other things).
wsmouse has a debugging interface, which can be used to enable event
logging. As root (or with a doas configuration for the wsconsctl command),
enter
# wsconsctl mouse0.param=257:1
and in an X terminal (you don't need root permissions here)
$ tail -f /var/log/messages
CAVEAT: when you are done with testing, please don't forget to disable
logging with
# wsconsctl mouse0.param=257:0
, otherwise wsmouse will flood your log file with messages.
A short diagonal movement should produce an output like:
Aug 11 13:05:00 ... /bsd: [wsmouse0-ev][0654] 6:2 7:-1 18:0
Aug 11 13:05:00 ... /bsd: [wsmouse0-ev][0654] 6:3 7:-2 18:0
Aug 11 13:05:00 ... /bsd: [wsmouse0-ev][0664] 6:3 7:-1 18:0
Aug 11 13:05:00 ... /bsd: [wsmouse0-ev][0674] 6:3 7:-1 18:0
Aug 11 13:05:00 ... /bsd: [wsmouse0-ev][0684] 6:4 7:-2 18:0
Aug 11 13:05:00 ... /bsd: [wsmouse0-ev][0684] 6:3 7:-1 18:0
The number pairs at the end of each line represent event types and
values. Type 6 is for relative X coordinates, 7 for relative Y coordinates.
(The number of events may vary, and all lines should end with "18:0".
Motion events from touchpads in native mode and from touchpanels have
type 8 and 9, with absolute coordinates.)
On 8/11/26 11:05, Jonathan Thornburg wrote:
>> Hi Ulf and Kihaguru,
>
>> it might be useful to start testing with a minimal setup. You could
>> delete or rename your xorg.conf, reboot the laptop, and disable ims and
>> pms in the kernel:
>>
>> At the boot prompt, enter
>> > boot -c
>> and at the UKC prompt:
>> UKC> disable ims
>> UKC> disable pms
>> UKC> quit
>> (The changes to the kernel configuration are temporary.)
>
> When I do this *every* touchpad movement causes the cursor to jump.
> However, typing does NOT cause the cursor to jump.
>
> If I restore my "original" xorg.conf,
> --- begin /etc/X11/xorg.conf ---
> Section "InputClass"
> Identifier "wsmouse touchpad"
> Driver "synaptics"
> MatchIsTouchpad "on"
> EndSection
> --- end /etc/X11/xorg.conf ---
> then I get the same result as my previous test:
> * the touchpad works fine
> * the mechanical touchpad buttons don't work (pressing them doesn't seem
> to have any effect)
> * the trackpoint ("nipple") has no effect
> * clicking anywhere along the bottom of the touchpad produces the same
> actions I have bound to the left touchpad button
> * the cursor no longer jumps!! I've been typing for a half-hour or so
> and no jumps at all!!
>
> So, definite progress -- thanks 1L<<20 for all your suggestions!
>
> Next (later today) I'll try rebooting and disabling just one of {ims,pms}.
>
> ciao,