Fix keyboard on ASUS EXPERTBOOK B2502FBA, see bug:217323

Message ID 52cf0eab-dbbd-4f12-b100-c7db1daea442@gmail.com
State New
Headers
Series Fix keyboard on ASUS EXPERTBOOK B2502FBA, see bug:217323 |

Commit Message

Sviatoslav Harasymchuk Feb. 11, 2024, 12:08 a.m. UTC
  For: ASUS ExpertBook B2502FBA
Similar to patch:
https://lore.kernel.org/linux-acpi/20230411183144.6932-1-pmenzel@molgen.mpg.de/
For the bug:
https://bugzilla.kernel.org/show_bug.cgi?id=217323

Link: https://bugzilla.kernel.org/show_bug.cgi?id=217323
Signed-off-by: Sviatoslav Harasymchuk <sviatoslav.harasymchuk@gmail.com>
Tested-by: Sviatoslav Harasymchuk <sviatoslav.harasymchuk@gmail.com>
---
  drivers/acpi/resource.c | 7 +++++++
  1 file changed, 7 insertions(+)

          .matches = {
--
2.34.1
  

Comments

Rafael J. Wysocki Feb. 15, 2024, 7:52 p.m. UTC | #1
On Sun, Feb 11, 2024 at 1:08 AM Sviatoslav Harasymchuk
<sviatoslav.harasymchuk@gmail.com> wrote:
>
> For: ASUS ExpertBook B2502FBA
> Similar to patch:
> https://lore.kernel.org/linux-acpi/20230411183144.6932-1-pmenzel@molgen.mpg.de/
> For the bug:
> https://bugzilla.kernel.org/show_bug.cgi?id=217323
>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=217323
> Signed-off-by: Sviatoslav Harasymchuk <sviatoslav.harasymchuk@gmail.com>
> Tested-by: Sviatoslav Harasymchuk <sviatoslav.harasymchuk@gmail.com>
> ---
>   drivers/acpi/resource.c | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index dacad1d846c0..41fe6f2d4fa8 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -489,6 +489,13 @@ static const struct dmi_system_id
> irq1_level_low_skip_override[] = {
>               DMI_MATCH(DMI_BOARD_NAME, "B2502CBA"),
>           },
>       },
> +    {
> +        /* Asus ExpertBook B2502FBA */
> +        .matches = {
> +            DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> +            DMI_MATCH(DMI_BOARD_NAME, "B2502FBA"),
> +        },
> +    },
>       {
>           /* Asus Vivobook E1504GA */
>           .matches = {
> --

Applied as 6.9 material, but I rewrote the subject and changelog and
had to fix up white space (presumably broken by your email client or
similar).

I would appreciate being more careful next time.
  

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index dacad1d846c0..41fe6f2d4fa8 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -489,6 +489,13 @@  static const struct dmi_system_id 
irq1_level_low_skip_override[] = {
              DMI_MATCH(DMI_BOARD_NAME, "B2502CBA"),
          },
      },
+    {
+        /* Asus ExpertBook B2502FBA */
+        .matches = {
+            DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+            DMI_MATCH(DMI_BOARD_NAME, "B2502FBA"),
+        },
+    },
      {
          /* Asus Vivobook E1504GA */