Skip to content

platform/x86: intel-vbtn: Fixes + rework to make it work on more devices

Hans de Goede linux-acpi lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5platform/x86: intel-vbtn: Use acpi_evaluate_integer()drivers/platform/x86/intel-vbtn.c+6 -130 replies
2/5platform/x86: intel-vbtn: Split keymap into buttons and switches partsdrivers/platform/x86/intel-vbtn.c+25 -30 replies
3/5platform/x86: intel-vbtn: Do not advertise switches to userspace if they are not theredrivers/platform/x86/intel-vbtn.c+19 -60 replies
4/5platform/x86: intel-vbtn: Also handle tablet-mode switch on "Detachable" and "Portable" chassis-typesdrivers/platform/x86/intel-vbtn.c+11 -15 replies
5/5platform/x86: intel-vbtn: Fix probe failure on devices with only switchesdrivers/platform/x86/intel-vbtn.c+17 -40 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchMario Limonciello
1/5
2/5
3/5
4/5R-b
5/5

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/5] platform/x86: intel-vbtn: Fixes + rework to make it work on more devices

Hi All,

Here is a series of fixes, mostly aimed at fixing commit: de9647efeaa9 ("platform/x86: intel-vbtn: Only activate tablet mode switch on 2-in-1's") causing the driver to not bind on some devices where it could and should report SW_TABLET_MODE.

The last commit makes the driver also work on some devices where it previously would not work because they lack a VBDL method.

Mario, can you test this on a Dell XPS 9360 (for which you wrote the de9647efeaa9 commit) to ensure that this series does not cause a regression there? Also I have a question for you about using the DMI chassis-type for this / a proposal for dealing with this differently below the '---' of the commit msg of the 4th patch.

Regards,

Hans