All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dell-smbios-base: Extends support to Alienware products
@ 2024-10-30 18:12 Kurt Borja
  2024-10-30 18:15 ` [PATCH 2/2] dell-wmi-base: Handle Win-key Lock/Unlock events Kurt Borja
  2024-10-30 18:26 ` [PATCH 1/2] dell-smbios-base: Extends support to Alienware products Pali Rohár
  0 siblings, 2 replies; 11+ messages in thread
From: Kurt Borja @ 2024-10-30 18:12 UTC (permalink / raw)
  To: kuurtb
  Cc: ilpo.jarvinen, hdegoede, w_armin, pali, platform-driver-x86,
	linux-kernel, Dell.Client.Kernel

Fixes the following error:

dell_smbios: Unable to run on non-Dell system

Which is triggered after dell-wmi driver fails to initialize on
Alienware systems, as it depends on dell-smbios.

This effectively adds dell-wmi and dell-smbios support to Alienware
products.

Signed-off-by: Kurt Borja <kuurtb@gmail.com>
---
 drivers/platform/x86/dell/dell-smbios-base.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/dell/dell-smbios-base.c b/drivers/platform/x86/dell/dell-smbios-base.c
index 73e41eb69..01c72b91a 100644
--- a/drivers/platform/x86/dell/dell-smbios-base.c
+++ b/drivers/platform/x86/dell/dell-smbios-base.c
@@ -576,6 +576,7 @@ static int __init dell_smbios_init(void)
 	int ret, wmi, smm;
 
 	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.47.0


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

end of thread, other threads:[~2024-10-30 20:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 18:12 [PATCH 1/2] dell-smbios-base: Extends support to Alienware products Kurt Borja
2024-10-30 18:15 ` [PATCH 2/2] dell-wmi-base: Handle Win-key Lock/Unlock events Kurt Borja
2024-10-30 18:34   ` Pali Rohár
2024-10-30 20:11     ` Kurt Borja
2024-10-30 20:20       ` Pali Rohár
2024-10-30 20:37         ` Kurt Borja
2024-10-30 20:40           ` Pali Rohár
2024-10-30 18:26 ` [PATCH 1/2] dell-smbios-base: Extends support to Alienware products Pali Rohár
2024-10-30 20:01   ` Kurt Borja
2024-10-30 20:07     ` Pali Rohár
2024-10-30 20:33       ` Kurt Borja

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.