On 8/14/26 11:34, Jonathan Thornburg wrote:
> Hi, Ulf,
>
> You wrote:
>> The wsmouse output looks quite normal, which should confirm that
>> X and/or the window manager cause the cursor jumps.
>
> Ok, that makes sense.
>
>> I assume you have
>> checked with 'xinput test ...' - in any setup that produces these jumps -
>> that there are no additional events in /dev/wsmouse1 or /dev/wsmouse ???
>
> I'm sorry, I'm not clear on how to use 'xinput test ...' here. And,
> precisely what do you mean by "additional events"?
Hi Jonathan,
I simply meant that you could use that command to check which devices are
involved when those cursor jumps occur.
For example, when typing triggers a cursor jump, it could be that an
"oversensitive" touchpad or trackpoint issues a motion event. You could
verify or discard that by looking at the output of
$ xinput test /dev/wsmouse2
(or wsmouse0 for the touchpad) while you are testing.
In order to avoid confusion, you might leave out /dev/wsmouse and disable
it instead, with
$ xinput disable /dev/wsmouse
Disabling it via an xorg.conf with MatchDevicePath and the "Ignore" option
doesn't work.
I assume that wsmouse1 - that is, the instance attached to ims - does
nothing (except for causing an initialization error when you have
configured the synaptics driver).
Events from the touchpad should be reported via wsmouse0, and trackpoint
events via wsmouse2. Anything else would be unusual.
You should be aware that events logged by 'xinput test ... ' aren't
necessarily triggered by input from the kernel. For various operations
- like creating, moving or resizing a window -, window managers can call
X functions that generate "synthetic" events (I believe they are usually
associated with the first device listed below the "virtual" pointer
device).
Your observations concerning the X and Y coordinates are indeed
interesting, but I don't know which conclusions we can draw from them.
Again, there is nothing suspicious in the wsmouse0 output.
Given that a cursor jump occurs at the start of a movement, but not
afterwards, it should be the first event, or the first couple of events,
that will determine whether both or only one coordinate axis is affected.
You shouldn't assume that there is a static correlation between input and
output coordinates. Input handlers may try to filter noise - so that
changes in the input state must cross certain thresholds before they have an
effect - and they may accelerate or decelerate cursor movements depending
on what the sequence of inputs looks like. That is, even when wsmouse
reports changes in both dimensions, that isn't necessarily mirrored on
the output side.
>
> But I did find something else which might be of interest:
>
> If I restart the X server with no /etc/X11/xorg.conf present, then
> the cursor *always* jumps with *every* touchpad movement. But what
> is interesting is:
> * If I make a horizontal touchpad movement, the cursor always jumps in
> *x only* (it jumps to the left screen edge, preserving the y coordinate).
> This is true even though my "horizontal" touchpad movement surely isn't
> actually precisely horizontal (even when quantized to the touchpad's
> resolution).
> * If I make a vertical touchpad movement, the cursor always jumps in
> *y only* (it jumps to the top screen edge, preserving the x coordinate).
> This is true even though my "vertical" touchpad movement surely isn't
> actually precisely vertical (even when quantized to the touchpad's
> resolution).
>
> Here is the /var/log/messages output for wsmouse debugging when I made
> first 3 horizontal touchpad movements, then 3 vertical touchpad movements:
>
> --- begin /var/log/messages excerpt ---
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1342] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1372] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1392] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1392] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1422] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1442] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1452] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1482] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1502] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1512] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1532] 6:1 18:0
> Aug 14 01:01:41 nickel /bsd: [wsmouse0-ev][1562] 6:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3122] 6:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3122] 6:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3132] 6:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3142] 6:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3152] 6:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3152] 6:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3162] 6:3 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3172] 6:5 7:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3172] 6:6 7:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3182] 6:6 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3192] 6:9 7:2 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3192] 6:9 7:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3202] 6:8 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3212] 6:9 7:2 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3222] 6:9 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3222] 6:8 7:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3232] 6:8 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3242] 6:8 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3242] 6:7 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3252] 6:6 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3262] 6:7 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3262] 6:5 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3272] 6:6 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3282] 6:5 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3292] 6:4 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3292] 6:3 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3302] 6:4 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3312] 6:3 7:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3322] 6:4 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3332] 6:2 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3332] 6:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3362] 6:1 18:0
> Aug 14 01:01:43 nickel /bsd: [wsmouse0-ev][3362] 7:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4432] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4462] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4482] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4482] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4502] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4502] 7:-1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4512] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4522] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4532] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4552] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4552] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4572] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4572] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4582] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4592] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4602] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4602] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4612] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4622] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4622] 6:2 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4632] 6:2 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4642] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4642] 6:2 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4662] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4672] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4672] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4682] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4692] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4712] 6:2 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4722] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4732] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4742] 6:1 18:0
> Aug 14 01:01:44 nickel /bsd: [wsmouse0-ev][4762] 6:1 18:0
> Aug 14 01:01:46 nickel /bsd: [wsmouse0-ev][6932] 6:1 7:-1 18:0
> Aug 14 01:01:46 nickel /bsd: [wsmouse0-ev][6952] 7:-1 18:0
> Aug 14 01:01:46 nickel /bsd: [wsmouse0-ev][6962] 6:1 7:-1 18:0
> Aug 14 01:01:46 nickel /bsd: [wsmouse0-ev][6982] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][6992] 7:-2 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7002] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7022] 7:-2 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7032] 6:1 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7042] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7052] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7052] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7062] 7:-2 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7072] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7072] 7:-2 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7082] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7092] 7:-2 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7102] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7102] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7112] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7122] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7132] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7142] 7:-1 18:0
> Aug 14 01:01:47 nickel /bsd: [wsmouse0-ev][7172] 7:-1 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8052] 6:1 7:-1 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8062] 6:1 7:-2 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8082] 7:-1 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8082] 7:-2 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8092] 6:1 7:-1 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8102] 7:-3 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8102] 7:-5 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8112] 6:1 7:-4 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8122] 6:1 7:-4 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8132] 7:-5 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8132] 7:-5 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8142] 6:1 7:-5 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8152] 7:-6 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8152] 7:-6 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8162] 6:1 7:-5 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8172] 6:1 7:-5 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8172] 7:-6 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8182] 6:1 7:-8 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8192] 6:2 7:-4 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8202] 6:1 7:-7 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8202] 6:2 7:-7 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8212] 6:1 7:-7 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8222] 6:2 7:-6 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8222] 6:1 7:-6 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8232] 6:2 7:-6 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8242] 6:2 7:-6 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8242] 6:1 7:-5 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8252] 6:1 7:-3 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8262] 7:-2 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8272] 6:1 7:-1 18:0
> Aug 14 01:01:48 nickel /bsd: [wsmouse0-ev][8272] 7:-2 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9252] 7:-1 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9262] 7:-2 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9272] 7:-1 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9272] 7:-3 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9282] 7:-5 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9292] 7:-7 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9302] 6:1 7:-10 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9302] 6:1 7:-11 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9312] 6:1 7:-10 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9322] 6:1 7:-12 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9322] 6:1 7:-11 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9332] 6:1 7:-12 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9342] 6:2 7:-11 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9342] 6:1 7:-10 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9352] 6:1 7:-10 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9362] 6:1 7:-9 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9372] 6:1 7:-9 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9372] 6:2 7:-7 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9382] 6:1 7:-5 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9392] 7:-5 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9392] 6:1 7:-4 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9402] 6:1 7:-3 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9412] 7:-1 18:0
> Aug 14 01:01:49 nickel /bsd: [wsmouse0-ev][9412] 7:-2 18:0
> --- end /var/log/messages excerpt ---
>
> Does this suggest anything interesting to you?
>
> ciao,