mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] ACPI: resource: Add another DMI match for the TongFang GMxXGxx
@ 2024-09-10  9:40 Werner Sembach
  2024-09-10  9:40 ` [PATCH 2/3] Input: i8042 - Add another board name for TUXEDO Stellaris Gen5 AMD line Werner Sembach
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Werner Sembach @ 2024-09-10  9:40 UTC (permalink / raw)
  To: Rafael J. Wysocki, Len Brown; +Cc: Werner Sembach, linux-acpi, linux-kernel

Internal documentation suggest that the TUXEDO Polaris 15 Gen5 AMD might
have GMxXGxX as the board name instead of GMxXGxx.

Adding both to be on the safe side.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: stable@vger.kernel.org
---
 drivers/acpi/resource.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 59423fe9d0f29..b50fc5c16f749 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -545,6 +545,12 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "GMxXGxx"),
 		},
 	},
+	{
+		/* TongFang GMxXGxX/TUXEDO Polaris 15 Gen5 AMD */
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GMxXGxX"),
+		},
+	},
 	{
 		/* TongFang GMxXGxx sold as Eluktronics Inc. RP-15 */
 		.matches = {
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/3] Input: i8042 - Add another board name for TUXEDO Stellaris Gen5 AMD line
  2024-09-10  9:40 [PATCH 1/3] ACPI: resource: Add another DMI match for the TongFang GMxXGxx Werner Sembach
@ 2024-09-10  9:40 ` Werner Sembach
  2024-09-10  9:40 ` [PATCH 3/3] Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table Werner Sembach
  2024-09-10 18:30 ` [PATCH 1/3] ACPI: resource: Add another DMI match for the TongFang GMxXGxx Rafael J. Wysocki
  2 siblings, 0 replies; 4+ messages in thread
From: Werner Sembach @ 2024-09-10  9:40 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Werner Sembach, linux-input, linux-kernel

There might be devices out in the wild where the board name is GMxXGxx
instead of GMxXGxX.

Adding both to be on the safe side.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: stable@vger.kernel.org
---
 drivers/input/serio/i8042-acpipnpio.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h
index 1d73391f127bc..d16072b82d957 100644
--- a/drivers/input/serio/i8042-acpipnpio.h
+++ b/drivers/input/serio/i8042-acpipnpio.h
@@ -1136,6 +1136,13 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
 		.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
 					SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GMxXGxx"),
+		},
+		.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
+					SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GMxXGxX"),
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 3/3] Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table
  2024-09-10  9:40 [PATCH 1/3] ACPI: resource: Add another DMI match for the TongFang GMxXGxx Werner Sembach
  2024-09-10  9:40 ` [PATCH 2/3] Input: i8042 - Add another board name for TUXEDO Stellaris Gen5 AMD line Werner Sembach
@ 2024-09-10  9:40 ` Werner Sembach
  2024-09-10 18:30 ` [PATCH 1/3] ACPI: resource: Add another DMI match for the TongFang GMxXGxx Rafael J. Wysocki
  2 siblings, 0 replies; 4+ messages in thread
From: Werner Sembach @ 2024-09-10  9:40 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Werner Sembach, linux-input, linux-kernel

The Gen6 devices have the same problem and the same Solution as the Gen5
ones.

Some TongFang barebones have touchpad and/or keyboard issues after
suspend, fixable with nomux + reset + noloop + nopnp. Luckily, none of
them have an external PS/2 port so this can safely be set for all of
them.

I'm not entirely sure if every device listed really needs all four quirks,
but after testing and production use, no negative effects could be
observed when setting all four.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: stable@vger.kernel.org
---
 drivers/input/serio/i8042-acpipnpio.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h
index d16072b82d957..34d1f07ea4c30 100644
--- a/drivers/input/serio/i8042-acpipnpio.h
+++ b/drivers/input/serio/i8042-acpipnpio.h
@@ -1150,6 +1150,13 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
 		.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
 					SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"),
+		},
+		.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
+					SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
+	},
 	/*
 	 * A lot of modern Clevo barebones have touchpad and/or keyboard issues
 	 * after suspend fixable with nomux + reset + noloop + nopnp. Luckily,
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/3] ACPI: resource: Add another DMI match for the TongFang GMxXGxx
  2024-09-10  9:40 [PATCH 1/3] ACPI: resource: Add another DMI match for the TongFang GMxXGxx Werner Sembach
  2024-09-10  9:40 ` [PATCH 2/3] Input: i8042 - Add another board name for TUXEDO Stellaris Gen5 AMD line Werner Sembach
  2024-09-10  9:40 ` [PATCH 3/3] Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table Werner Sembach
@ 2024-09-10 18:30 ` Rafael J. Wysocki
  2 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2024-09-10 18:30 UTC (permalink / raw)
  To: Werner Sembach; +Cc: Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel

On Tue, Sep 10, 2024 at 11:40 AM Werner Sembach <wse@tuxedocomputers.com> wrote:
>
> Internal documentation suggest that the TUXEDO Polaris 15 Gen5 AMD might
> have GMxXGxX as the board name instead of GMxXGxx.
>
> Adding both to be on the safe side.
>
> Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
> Cc: stable@vger.kernel.org
> ---
>  drivers/acpi/resource.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 59423fe9d0f29..b50fc5c16f749 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -545,6 +545,12 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "GMxXGxx"),
>                 },
>         },
> +       {
> +               /* TongFang GMxXGxX/TUXEDO Polaris 15 Gen5 AMD */
> +               .matches = {
> +                       DMI_MATCH(DMI_BOARD_NAME, "GMxXGxX"),
> +               },
> +       },
>         {
>                 /* TongFang GMxXGxx sold as Eluktronics Inc. RP-15 */
>                 .matches = {
> --

Applied as 6.12 material, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-10 18:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-10  9:40 [PATCH 1/3] ACPI: resource: Add another DMI match for the TongFang GMxXGxx Werner Sembach
2024-09-10  9:40 ` [PATCH 2/3] Input: i8042 - Add another board name for TUXEDO Stellaris Gen5 AMD line Werner Sembach
2024-09-10  9:40 ` [PATCH 3/3] Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table Werner Sembach
2024-09-10 18:30 ` [PATCH 1/3] ACPI: resource: Add another DMI match for the TongFang GMxXGxx Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®