[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241030182613.xn3tl2khzuhft4sr@pali>
Date: Wed, 30 Oct 2024 19:26:13 +0100
From: Pali Rohár <pali@...nel.org>
To: Kurt Borja <kuurtb@...il.com>
Cc: ilpo.jarvinen@...ux.intel.com, hdegoede@...hat.com, w_armin@....de,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
Dell.Client.Kernel@...l.com
Subject: Re: [PATCH 1/2] dell-smbios-base: Extends support to Alienware
products
On Wednesday 30 October 2024 15:12:45 Kurt Borja wrote:
> 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@...il.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) &&
Are we sure that all devices with "Alienware" OEM string supports this SMBIOS API?
> !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
>
Powered by blists - more mailing lists