Re: [PATCH] ACPI: EC: Relax sanity check of the ECDT ID string
From: Rafael J. Wysocki
Date: Tue Aug 12 2025 - 09:35:47 EST
On Tue, Jul 29, 2025 at 9:01 AM Ilya K <me@xxxxxxxx> wrote:
>
> On 2025-07-29 09:20, Armin Wolf wrote:
> > It turns out that the ECDT table inside the ThinkBook 14 G7 IML
> > contains a valid EC description but an invalid ID string
> > ("_SB.PC00.LPCB.EC0"). Ignoring this ECDT based on the invalid
> > ID string prevents the kernel from detecting the built-in touchpad,
> > so relax the sanity check of the ID string and only reject ECDTs
> > with empty ID strings.
> >
> > Compile-tested only.
> >
> > Reported-by: Ilya K <me@xxxxxxxx>
> > Fixes: 7a0d59f6a913 ("ACPI: EC: Ignore ECDT tables with an invalid ID string")
> > Signed-off-by: Armin Wolf <W_Armin@xxxxxx>
> > ---
> > drivers/acpi/ec.c | 10 +++++++---
> > 1 file changed, 7 insertions(+), 3 deletions(-)
> >
>
> Thanks, this works!
>
> Tested-by: Ilya K <me@xxxxxxxx>
Applied as 6.17-rc material and sorry for the delay (I was offline).
Thanks!