HomeFreeBSD

psm(4): Disable KVM switch "jitter" clamping for absolute touchpads.

Description

psm(4): Disable KVM switch "jitter" clamping for absolute touchpads.

r123442 introduced solution for clamping of PS/2 mice jitter when using
a KVM. Solution is to buffer mouse packets for 0.050ms if mouse activity
has not been seen for more than 0.5 seconds. Then flush that data to driver
if no validation errors found or drop the entire queue otherwise.

While it works well with relative devices it has issues with absolute ones
Depending on history buffering may results in delaying of the touch front
edge for 0.050ms that affects gesture processing (tap detection).

As absolute touchpads usually are built-in devices we can safely disable
bufferization and KVM jitter clamping to avoid such a delays.

MFC after: 2 weeks

Details

Provenance
wulfAuthored on Sep 9 2021, 9:37 PM
Parents
rG9d3bc1638254: rtsx: Call taskqueue sooner, adjust DELAY(9) calls, add an inversion heuristic
Branches
Unknown
Tags
Unknown