-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the Legion Go #185
base: main
Are you sure you want to change the base?
Conversation
Here is a log sample. The other WMI function seems like it is called incorrectly. In addition the fan curve buffer looks wrong.
|
The fan curve function though does match the WMI of the go. It just seems there is a buffer misalignment. I dont recall it being 88 bytes long. Hm, maybe the GUID is different. |
The GUID apear to be the right: |
Yeah the buffer read is too small. The new buffer interface is larger and contains temps too. |
I fixed the wmi for the fan curves in the new laptops. However, it expects percentages, and the autoset function expects rpm. So the driver does not let me set the values. |
* this is the cherry-pick commit of #185 need testing Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
This pr adds support for the legion go. Right now, tdp modes and full fan speed work. Fan curves do not, and there is a lot of logging to dmesg.