Re: [ibm-acpi-devel] [PATCHv2 0/7] Support inhibiting input devices

2020-06-02 Thread Dmitry Torokhov
Hi Andrzej, On Tue, Jun 02, 2020 at 06:56:40PM +0200, Andrzej Pietrasiewicz wrote: > Hi Dmitry, > > W dniu 27.05.2020 o 08:34, Dmitry Torokhov pisze: > > That said, I think the way we should handle inhibit/uninhibit, is that > > if we have the callback defined, then we call it, and only call open

Re: [ibm-acpi-devel] [PATCHv2 0/7] Support inhibiting input devices

2020-06-02 Thread Hans de Goede
Hi, On 6/2/20 8:50 PM, Andrzej Pietrasiewicz wrote: Hi Dmitry, W dniu 02.06.2020 o 19:52, Dmitry Torokhov pisze: Hi Andrzej, On Tue, Jun 02, 2020 at 06:56:40PM +0200, Andrzej Pietrasiewicz wrote: Hi Dmitry, W dniu 27.05.2020 o 08:34, Dmitry Torokhov pisze: That said, I think the way we sho

[ibm-acpi-devel] [PATCH v2] platform/x86: thinkpad_acpi: lap or desk mode interface

2020-06-02 Thread Mark Pearson
Newer Lenovo Thinkpad platforms have support to identify whether the system is on-lap or not using an ACPI DYTC event from the firmware. This patch provides the ability to retrieve the current mode via sysfs entrypoints and will be used by userspace for thermal mode and WWAN functionalit