Re: [PATCH 1/1] platform/x86: Add lenovo-legion-wmi drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/17/2024 17:06, Derek J. Clark wrote:
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
...
+config LEGION_OTHER_WMI
+	tristate "Lenovo Legion Other Method WMI Driver"
+	depends on LEGION_GAMEZONE_WMI
+	depends on LEGION_DATA_01_WMI
+	select FW_ATTR_CLASS
+	help
+ Say Y here if you have a WMI aware Lenovo Legion device and would
like to use the
+ firmware_attributes API to control various tunable settings
typically exposed by
+	  Lenovo software in Windows.
+
+	  To compile this driver as a module, choose M here: the module will
+	  be called lenovo_legion_wmi_other.
+
  config IDEAPAD_LAPTOP
  	tristate "Lenovo IdeaPad Laptop Extras"
  	depends on ACPI

Hi Derek,

Thank you for the initiative, love to see we'll finally get a driver developed with the help of official specs.

Perhaps it's common knowledge to the crowd here but I'd like to call out right now significant portion of the support on Legion ACPI / WMI came from ideapad-laptop which explicitly detects it:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/ideapad-laptop.c?h=v6.13-rc4#n2108

Per my observation majority of users have no idea this is the case because of the misnomer, adding another set of drivers with Legion in the name explicitly, that don't support those features would double the dissonance.

I wonder if reconciling this is in your planned scope? If not IMO at least this should be called out in documentation / Kconfig.

PS: I'm a developer myself but at lower level kernel domain I'm just a user so hopefully I'm not just adding noise here.

- Cody




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux