Am Dienstag, dem 28.03.2023 um 18:45 -0700 schrieb Andrew Kallmeyer: > This driver maps the Lenovo Yoga tablet mode switch to a SW_TABLET_MODE input > device. This will make the tablet status available to desktop environments. > > This patch series is the result of the discussion at > https://lore.kernel.org/r/CAG4kvq9US=-NjyXFMzJYu2zCJryJWtOc7FGZbrewpgCDjdAkbg@xxxxxxxxxxxxxx/ > > I decided to follow-up on the patch Gergo wrote and respond to the review > comments to get it merged and available for everyone. > > Gergo and I have tested this on the Yoga 7 14ARB7, and the Yoga 7 14AIL7 > respectively. Additionally, according to reports at > https://github.com/lukas-w/yoga-usage-mode, which uses the same WMI devices, > this driver should work with: > Yoga C940, Ideapad flex 14API, Yoga 9 14IAP7, Yoga 7 14ARB7, etc. > > v1: https://lore.kernel.org/r/20230310041726.217447-1-kallmeyeras@xxxxxxxxx/ > v2: https://lore.kernel.org/r/20230323025200.5462-1-kallmeyeras@xxxxxxxxx/ > The diff since v2 is as follows: > > [..] > > Andrew Kallmeyer (1): > platform/x86: Move ideapad ACPI helpers to a new header > > Gergo Koteles (1): > platform/x86: Add driver for Yoga Tablet Mode switch > > drivers/platform/x86/Kconfig | 10 ++ > drivers/platform/x86/Makefile | 1 + > drivers/platform/x86/ideapad-laptop.c | 135 +------------------ > drivers/platform/x86/ideapad-laptop.h | 152 +++++++++++++++++++++ > drivers/platform/x86/lenovo-ymc.c | 185 ++++++++++++++++++++++++++ > 5 files changed, 349 insertions(+), 134 deletions(-) > create mode 100644 drivers/platform/x86/ideapad-laptop.h > create mode 100644 drivers/platform/x86/lenovo-ymc.c > Hi Andrew, it seems my last tested-by got lost, when preparing the this patch version or was ignored because of the amount of code changes. Anyway, tested again on Lenovo ThinkBook 14s Yoga ITL. Tested-by: André Apitzsch <git@xxxxxxxxxxx> Best regards, André