Skip to content

Re-run touchpad kcminit on device connect

David Edmundson requested to merge work/kcminit_touchpad into master

kcminit runs once on boot then closes.

Devices are less static.

For mouse and keyboard the keyboard daemon watches for input devices changing and re-runs kcminit modules for both keyboard and mouse.

This patch adds touchpad to the list to cover remaining devices. Having this inside the keyboard daemon is not semantically sane, but it's an established pattern and we want a safe fix for 5.27.

BUG: 414559 Fixed-in: 5.27.0

Testing done:

  • enabled "natural"/backwards scrolling
  • ran udevadm trigger -s input to reload the device
  • confirmed it used to break, but with the patch the awful backwards setting persisted.

Merge request reports