Skip to contentSkip to conversation

platform/x86: dell-sysman: add support for alienware products

PATCH In review Crag Wang 4 participants 5 messages Oct 4, 2024 – Oct 8, 2024

Subsystems (2)
lore
Share & tools
lore

Crag Wang

author
#0 lore raw

PATCH v4 1/1 platform/x86: dell-sysman: add support for alienware products

Alienware supports firmware-attributes and has its own OEM string.

---
 drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c +1 -0
index 9def7983d7d6..40ddc6eb7562 100644
@@ -521,6 +521,7 @@ static int __init sysman_init(void)
 	int ret = 0;
 
 	if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) &&
+	    !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&
 	    !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {
 		pr_err("Unable to run on non-Dell system\n");
 		return -ENODEV;
Signature · 1 line
2.43.0
#1 lore raw

Hi,

Quoted 3 lines · Crag Wang

Alienware supports firmware-attributes and has its own OEM string.

Thank you for your patch/series, I've applied this patch (series) to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in the pdx86 review-hans branch once I've pushed my local branch there, which might take a while.

I will include this patch in my next fixes pull-req to Linus for the current kernel development cycle.

Regards,

Hans

Quoted 16 lines
---
 drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c +1 -0
index 9def7983d7d6..40ddc6eb7562 100644
@@ -521,6 +521,7 @@ static int __init sysman_init(void)
 	int ret = 0;
 
 	if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) &&
+	    !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&
 	    !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {
 		pr_err("Unable to run on non-Dell system\n");
 		return -ENODEV;
#2 lore raw

Hi,

Quoted 11 lines · Hans de Goede

Hi,

Quoted 3 lines · Crag Wang

Alienware supports firmware-attributes and has its own OEM string.

Thank you for your patch/series, I've applied this patch (series) to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Quoted 5 lines

Note it will show up in the pdx86 review-hans branch once I've pushed my local branch there, which might take a while.

I will include this patch in my next fixes pull-req to Linus for the current kernel development cycle.

Running checkpatch after applying show:

WARNING: From:/Signed-off-by: email address mismatch: 'From: Crag Wang <[email protected]>' != 'Signed-off-by: Crag Wang <[email protected]>'

I have fixed this by running:

git commit --amend --author="Crag Wang <[email protected]>"

So that things match now. Next time please try to use your Dell email for submitting the patches instead of gmail.

Regards,

Hans

maintainer Reviewed-by on v4 1/1
#3 lore raw
In reply to Crag Wang
Quoted 3 lines · Crag Wang

Alienware supports firmware-attributes and has its own OEM string.

Signature · 1 line
 i.
Quoted 17 lines
---
 drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c +1 -0
index 9def7983d7d6..40ddc6eb7562 100644
@@ -521,6 +521,7 @@ static int __init sysman_init(void)
 	int ret = 0;
 
 	if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) &&
+	    !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&
 	    !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {
 		pr_err("Unable to run on non-Dell system\n");
 		return -ENODEV;
maintainer Reviewed-by
#4 lore raw

[EXTERNAL EMAIL]

Internal Use - Confidential

Quoted 5 lines · Crag Wang

Alienware supports firmware-attributes and has its own OEM string.

--
i.

Quoted 17 lines
---
 drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 1 +-
 1 file changed, 1 insertion(+-)
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c +1 -1
index 9def7983d7d6..40ddc6eb7562 100644
--- a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
+-+-+- b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c

@@ -521,6 +-521,7 @@ static int __init sysman_init(void)

      int ret = 0;

      if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) &&
+-         !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&
          !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {
              pr_err("Unable to run on non-Dell system\n");
              return -ENODEV;