mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
9c0beb6b29
Add a new driver for the MSI WMI Platform interface. The underlying ACPI WMI interface supports many features, but so far only reading of fan speed sensors is implemented. The driver was reverse-engineered based on a user request to the lm-sensors project, see the github issue for details. The ACPI WMI interface used by this driver seems to use the same embedded controller interface as the msi-ec driver, but supports automatic discovery of supported machines without relying on a DMI whitelist. The driver was tested by the user who created the github issue. Closes: https://github.com/lm-sensors/lm-sensors/issues/475 Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20240421191145.3189-1-W_Armin@gmx.de Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
15 lines
529 B
Plaintext
15 lines
529 B
Plaintext
What: /sys/kernel/debug/msi-wmi-platform-<wmi_device_name>/*
|
|
Date: April 2024
|
|
KernelVersion: 6.10
|
|
Contact: Armin Wolf <W_Armin@gmx.de>
|
|
Description:
|
|
This file allows to execute the associated WMI method with the same name.
|
|
|
|
To start the execution, write a buffer containing the method arguments
|
|
at file offset 0. Partial writes or writes at a different offset are not
|
|
supported.
|
|
|
|
The buffer returned by the WMI method can then be read from the file.
|
|
|
|
See Documentation/wmi/devices/msi-wmi-platform.rst for details.
|