Skip to content

platform/x86: lg-laptop: Support 2024 models

Armin Wolf lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4platform/x86: wireless-hotkey: Add support for LG Airplane Buttondrivers/platform/x86/wireless-hotkey.c+2 -00 replies
2/4platform/x86: lg-laptop: Remove LGEX0815 hotkey handlingdrivers/platform/x86/lg-laptop.c+0 -80 replies
3/4platform/x86: lg-laptop: Change ACPI device iddrivers/platform/x86/lg-laptop.c+1 -10 replies
4/4platform/x86: lg-laptop: Use ACPI device handle when evaluating WMAB/WMBBdrivers/platform/x86/lg-laptop.c+33 -461 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAgathe BoutmyIlpo Järvinen
SeriesR-b
1/4T-b
2/4T-b
3/4T-b
4/4T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] platform/x86: lg-laptop: Support 2024 models

A user complained that the lg-laptop driver does not work on 2024 models like the LG Gram 16Z90S-G.AD7BF. The underlying reason turned out to be that the ACPI methods used by this driver where not mapped under \XINI, but instead under \_SB.XINI. Those ACPI methods are associated with the LGEX0820 ACPI device, which was not used by this driver until now.

The first three patches move the airplane mode hotkey handling out of lg-laptop and into the wireless-hotkey driver. This necessary because the airplane mode hotkey is handled by a different ACPI device (LGEX0815).

The last patch finally fixes the underlying issue and uses the LGEX0820 ACPI device to find theWMAB/WMBB ACPI methods.

The modified drivers where tested by the user which created the bug report and appear to work without issues.

Armin Wolf (4):
platform/x86: wireless-hotkey: Add support for LG Airplane Button platform/x86: lg-laptop: Remove LGEX0815 hotkey handling platform/x86: lg-laptop: Change ACPI device id platform/x86: lg-laptop: Use ACPI device handle when evaluating
WMAB/WMBB

 drivers/platform/x86/lg-laptop.c       | 89 ++++++++++----------------
 drivers/platform/x86/wireless-hotkey.c |  2 +
 2 files changed, 36 insertions(+), 55 deletions(-)

--
2.39.2