Re: [PATCH] thinkpad_acpi: Implement tablet mode resolving using GMMS method

From: Andy Shevchenko
Date: Sun Oct 01 2017 - 09:06:11 EST


On Sun, Oct 1, 2017 at 12:31 PM, Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Mon, Sep 18, 2017 at 7:00 PM, Lyude Paul <lyude@xxxxxxxxxx> wrote:
>> Reviewed-by: Lyude Paul <lyude@xxxxxxxxxx>
>>
>> On Fri, 2017-09-15 at 15:20 +0200, Benjamin Berg wrote:
>>> Many thinkpad laptops and convertibles provide the GMMS method to
>>> resolve how far the laptop has been opened and whether it has been
>>> converted into tablet mode. This allows reporting a more precise tablet
>>> mode state to userspace.
>>>
>>> The current implementation only reports a summarized tablet mode state
>>> which is triggered as soon as the input devices become unusable as they
>>> are folded away from the display.
>>>
>>> This will work on all models where the CMMD method was used previously and
>>> it may also work in other cases.
>>>
>>> Thanks to Peter Zhang of Lenovo for providing information on how to use the
>>> GMMS method to query the tablet mode.
>
> I dunno why this one didn't appear in our patchwork database.
> I'll go to apply manually soon.
> Sorry for the delay.

Okay, now pushed to my testing queue.

--
With Best Regards,
Andy Shevchenko