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.

(cherry picked from commit bedf31ad7e15c7d3e3ff9e5295bfd5454fbb42fa)

Details

Provenance
wulfAuthored on Sep 9 2021, 9:37 PM
Parents
rG0437d10e359e: direct commit: fix KBI for pci_dev
Branches
Unknown
Tags
Unknown