ACPI EC driver for MSI and other laptops #747
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have made a driver for ACPI EC compatible laptops. The device configuration is available by reading and writing into ACPI EC memory. The driver depends on acpi_ec kernel module, which exposes ACPI EC memory as /dev/ec device. If this module is not available in the kernel, then it can be installed as a separate package from https://github.com/saidsay-so/acpi_ec
The code of the this liquidctl driver was based on ISW projects: https://github.com/YoyPa/isw https://github.com/FaridZelli/ISW-Modern
Both projects are unmaintained now. So I also made a simplified fork for learning and debug purposes - https://github.com/kyokenn/isw-stealth
ISW project was originally made for MSI laptops, but there are also other projects, which uses the same interface: https://github.com/hirschmann/nbfc/tree/master https://github.com/nbfc-linux/nbfc-linux
I have added support for my laptop with this driver, but more laptops could be added later.
The driver allows CPU/GPU temperature monitoring, CPU/GPU fan speed monitoring, fan speed configuration, led mode configuration.
Checklist:
docs/*guide.md
device guides, with "new/changed in" notesliquidctl.8
Linux/Unix/Mac OS man pagedocs/developer/protocol
New CLI flag?
extra/completions/
New device?
extra/linux/71-liquidctl.rules
(instructions in the file header)git
MRLVNew driver?
docs/developer/protocol/