From: Werner Sembach <wse@tuxedocomputers.com>
To: ilpo.jarvinen@linux.intel.com, hdegoede@redhat.com
Cc: linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org,
Werner Sembach <wse@tuxedocomputers.com>
Subject: [PATCH v5 0/1] Input: atkbd - Fix TUXEDO NB02 notebook keyboards touchpad toggle key
Date: Thu, 13 Mar 2025 15:03:16 +0100 [thread overview]
Message-ID: <20250313140458.621438-1-wse@tuxedocomputers.com> (raw)
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
--
2.43.0
next reply other threads:[~2025-03-13 14:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-13 14:03 Werner Sembach [this message]
2025-03-13 14:03 ` [PATCH v5 1/1] Input: atkbd - Fix TUXEDO NB02 notebook keyboards touchpad toggle key Werner Sembach
2025-03-17 12:11 ` Hans de Goede
2025-03-17 16:52 ` Werner Sembach
2025-03-17 22:28 ` Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250313140458.621438-1-wse@tuxedocomputers.com \
--to=wse@tuxedocomputers.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox