LenovoController
LenovoController copied to clipboard
Linux version?
It's great there is an alternative for the bloated Vantage app on windows, but on Linux none of them is available. I was able to switch conservation mode and rapid charge using ACPI calls, but changing the power modes from Linux OS is something that I didn't figure out. There is some tool or script able to do that on Ideapad, but it doesn't work on my Legion as this windows only project does. If Linux version is really not planned, can someone please let me know how the proper ACPI call for that can be found? Thanks in advance.
Sorry, I don't really know how ACPI calling works, I'm just using the already provided driver by Lenovo.
Sorry, I don't really know how ACPI calling works, I'm just using the already provided driver by Lenovo.
Nevermind. Thanks for taking this request seriously and really considering creating the Linux version in the future. For now, may I just know which one of the Lenovo drivers is responsible for communicating with the hardware, and where did you find documentation for it? Maybe I will try to reverse-engineer the driver to find the proper ACPI calls.
Hardware features are controller in two ways:
- Through a driver (the file name is the same as the handle): https://github.com/ViRb3/LenovoController/blob/e3b4638bffeda239ff0c3486225460960c69122d/source/Providers/DriverProvider.cs#L16
- Through WMI: https://github.com/ViRb3/LenovoController/blob/e3b4638bffeda239ff0c3486225460960c69122d/source/Features/AbstractWmiFeature.cs#L45
Good luck!