Skip to contentSkip to conversation

platform/x86: alienware-wmi-wmax: Extend support to more laptops

PATCH In review Kurt Borja 2 participants 4 messages Apr 11, 2025 – Apr 15, 2025

Subsystems (3)
lore
Share & tools
lore

Kurt Borja

author maintainer
#0 lore raw

cover platform/x86: alienware-wmi-wmax: Extend support to more laptops

Hi all,

This two patches are based on the pdx86/fixes branch.

To: Hans de Goede <[email protected]>
To: Ilpo Järvinen <[email protected]>
To: Armin Wolf <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
Kurt Borja (2):
platform/x86: alienware-wmi-wmax: Add G-Mode support to Alienware m16 R1 platform/x86: alienware-wmi-wmax: Extend support to more laptops

 drivers/platform/x86/dell/alienware-wmi-wmax.c | 48 ++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

---
base-commit: d8455a63f731b4f585acc4d49fd7ad78db63b3d0
change-id: 20250411-awcc-support-f3a818e17622

Best regards,

Signature · 1 line
 ~ Kurt
author maintainer
#1 lore raw

PATCH 1/2 platform/x86: alienware-wmi-wmax: Add G-Mode support to Alienware m16 R1

Some users report the Alienware m16 R1 models, support G-Mode. This was manually verified by inspecting their ACPI tables.

---
 drivers/platform/x86/dell/alienware-wmi-wmax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/dell/alienware-wmi-wmax.c +1 -1
index 3d3014b5adf046c94c1ebf39a0e28a92622b40d6..5b6a0c866be220aacef795491d4f64d575740e20 100644
@@ -67,7 +67,7 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
 			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1 AMD"),
 		},
-		.driver_data = &generic_quirks,
+		.driver_data = &g_series_quirks,
 	},
 	{
 		.ident = "Alienware m17 R5",
Signature · 1 line
2.49.0
author maintainer
#2 lore raw

PATCH 2/2 platform/x86: alienware-wmi-wmax: Extend support to more laptops

In reply to Kurt Borja

Extend thermal control support to:

- Alienware Area-51m R2
- Alienware m16 R1
- Alienware m16 R2
- Dell G16 7630
- Dell G5 5505 SE

---
 drivers/platform/x86/dell/alienware-wmi-wmax.c | 48 ++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
drivers/platform/x86/dell/alienware-wmi-wmax.c +48 -0
index 5b6a0c866be220aacef795491d4f64d575740e20..0c3be03385f899b1b1f678a9d111eb610cedda0a 100644
@@ -61,6 +61,22 @@ static struct awcc_quirks generic_quirks = {
 static struct awcc_quirks empty_quirks;
 
 static const struct dmi_system_id awcc_dmi_table[] __initconst = {
+	{
+		.ident = "Alienware Area-51m R2",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware Area-51m R2"),
+		},
+		.driver_data = &generic_quirks,
+	},
+	{
+		.ident = "Alienware m16 R1",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1"),
+		},
+		.driver_data = &g_series_quirks,
+	},
 	{
 		.ident = "Alienware m16 R1 AMD",
 		.matches = {
@@ -69,6 +85,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
 		},
 		.driver_data = &g_series_quirks,
 	},
+	{
+		.ident = "Alienware m16 R2",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R2"),
+		},
+		.driver_data = &generic_quirks,
+	},
 	{
 		.ident = "Alienware m17 R5",
 		.matches = {
@@ -93,6 +117,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
 		},
 		.driver_data = &generic_quirks,
 	},
+	{
+		.ident = "Alienware x15 R2",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware x15 R2"),
+		},
+		.driver_data = &generic_quirks,
+	},
 	{
 		.ident = "Alienware x17 R2",
 		.matches = {
@@ -125,6 +157,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
 		},
 		.driver_data = &g_series_quirks,
 	},
+	{
+		.ident = "Dell Inc. G16 7630",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Dell G16 7630"),
+		},
+		.driver_data = &g_series_quirks,
+	},
 	{
 		.ident = "Dell Inc. G3 3500",
 		.matches = {
@@ -149,6 +189,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
 		},
 		.driver_data = &g_series_quirks,
 	},
+	{
+		.ident = "Dell Inc. G5 5505",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+		},
+		.driver_data = &g_series_quirks,
+	},
 };
 
 enum WMAX_THERMAL_INFORMATION_OPERATIONS {
Signature · 1 line
2.49.0
maintainer
#3 lore raw
In reply to Kurt Borja
Quoted 10 lines · Kurt Borja

This two patches are based on the pdx86/fixes branch.

To: Hans de Goede <[email protected]>
To: Ilpo Järvinen <[email protected]>
To: Armin Wolf <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/2] platform/x86: alienware-wmi-wmax: Add G-Mode support to Alienware m16 R1

      commit: 5ff79cabb23a2f14d2ed29e9596aec908905a0e6
[2/2] platform/x86: alienware-wmi-wmax: Extend support to more laptops
      commit: 202a861205905629c5f10ce0a8358623485e1ae9

--
i.