mbox series

[v5,0/1] Input: atkbd - Fix TUXEDO NB02 notebook keyboards touchpad toggle key

Message ID 20250313140458.621438-1-wse@tuxedocomputers.com (mailing list archive)
Headers show
Series Input: atkbd - Fix TUXEDO NB02 notebook keyboards touchpad toggle key | expand

Message

Werner Sembach March 13, 2025, 2:03 p.m. UTC
Some notebooks send Super + Control + KEY_ZENKAKUHANKAKU¹ upon pressing the
touchpad toggle key.

It can be mapped to correctly touggle the touchpad purely in userspace with
these patches:

- https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/merge_requests/810
- https://invent.kde.org/plasma/kwin/-/merge_requests/7278
- https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2873

But as you can see, this requires per desktop environment patches. GNOME already
has the correct mapping and KDE does with the patches above, but smaller ones
might also need patches.

As an alternative soltuion I also wanted to suggest this i8042 filter + virtual
input device.

v2: Coding style fixes
v3: Send F21 keypress via virtual input device instead of serio interrupts
v4: Add cover letter
    Fix copy paste error "GPL-2.0-only" to "GPL-2.0-or-later"
    Add missing Copyright lines
v5: Fix cover letter subject line

Werner Sembach (1):
  Input: atkbd - Fix TUXEDO NB02 notebook keyboards touchpad toggle key

 MAINTAINERS                                 |   6 ++
 drivers/platform/x86/Kconfig                |   2 +
 drivers/platform/x86/Makefile               |   3 +
 drivers/platform/x86/tuxedo/Kbuild          |   8 ++
 drivers/platform/x86/tuxedo/Kconfig         |   8 ++
 drivers/platform/x86/tuxedo/nb02/Kbuild     |   9 ++
 drivers/platform/x86/tuxedo/nb02/Kconfig    |  17 ++++
 drivers/platform/x86/tuxedo/nb02/platform.c | 107 ++++++++++++++++++++
 8 files changed, 160 insertions(+)
 create mode 100644 drivers/platform/x86/tuxedo/Kbuild
 create mode 100644 drivers/platform/x86/tuxedo/Kconfig
 create mode 100644 drivers/platform/x86/tuxedo/nb02/Kbuild
 create mode 100644 drivers/platform/x86/tuxedo/nb02/Kconfig
 create mode 100644 drivers/platform/x86/tuxedo/nb02/platform.c