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

2020-07-10 Thread Hans de Goede
Hi, On 7/9/20 8:02 PM, Andy Shevchenko wrote: On Fri, Jul 3, 2020 at 4:24 AM Mark Pearson wrote: 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 mo

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

2020-07-10 Thread Andy Shevchenko
On Fri, Jul 10, 2020 at 11:00 AM Hans de Goede wrote: > > Hi, > > On 7/9/20 8:02 PM, Andy Shevchenko wrote: > > On Fri, Jul 3, 2020 at 4:24 AM Mark Pearson wrote: > >> > >> Newer Lenovo Thinkpad platforms have support to identify whether the > >> system is on-lap or not using an ACPI DYTC event f

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

2020-07-10 Thread Mark Pearson
On 7/10/2020 8:20 AM, Andy Shevchenko wrote: On Fri, Jul 10, 2020 at 11:00 AM Hans de Goede wrote: Hi, On 7/9/20 8:02 PM, Andy Shevchenko wrote: On Fri, Jul 3, 2020 at 4:24 AM Mark Pearson wrote: Newer Lenovo Thinkpad platforms have support to identify whether the system is on-lap or n

Re: [ibm-acpi-devel] [v3][PATCH] platform/x86: thinkpad_acpi: not loading brightness_init when _BCL invalid

2020-07-10 Thread Andy Shevchenko
On Fri, Jul 10, 2020 at 4:56 AM Aaron Ma wrote: > > When _BCL invalid, disable thinkpad_acpi backlight brightness control. > > brightness_enable is already checked at the beginning. > Most new thinkpads are using GPU driver to control brightness now, > print notice when enabled brightness control

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

2020-07-10 Thread Andy Shevchenko
On Fri, Jul 3, 2020 at 4:24 AM Mark Pearson wrote: > > 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 use