-
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
Support for Lenovo Legion 7 2022 - Legion 7 16ARHA7 #23
Comments
I used the offset from your file (0xFE0B0400) and updated the code to use this offset for your BIOS. Let's try it with it. Please pull new version, build with What exactly do mean by "tweak power profiles so that I can get more battery life"? Most of the power saving should be possible without this module.
|
Thanks for the changes and the detailed response, I really appreciate it. Looks like its working. Here is what I ran and observed in detail on 6.2-rc8:
The fancurve is showing:
The test confirms that I can alter the fancurves as suggested in the test pack as well. For your other suggestions, I'm currently on a journey to address compatibility issues one by one, so far I managed to:
|
Hmm. I am a bit surprised that it works. Could you please make the following tests and report back:
|
Hi @johnfanv2 apologies for the late reply. I been busy at work. Will do the above and report back in the next couple of days. |
@albsen Greats thanks a lot! |
@johnfanv2 Here are the results you asked for, please let me know if there is something else I can do to help. sudo dmidecode -t system sudo dmidecode -t system
sudo dmidecode -t bios
sudo cat /sys/kernel/debug/legion/fancurve
quicktest read sensors
quick test 2 - change fan curve
powerprofilesctl
Enable or disable the mini fan curve
lock / unlock fan controller
|
Hi,
I found your project when looking around for options to tweak power profiles so that I can get more battery life.
From a previous ticket I saw you guiding the reporter to provide you the DSDT.dsl file ( #13 ) so I went ahead and already uploaded that.
The current code compiles but the module refuses to load on 6.1, 6.2 and 6.3 the messages are identical.
When trying to load with forcereload I get the following:
As requested in the other ticket, please find attached the DSDT.dsl file:
DSDT_16ARHA7.zip
I took a look around and found the region with most of the fields is at:
0xFE0B0400
The next best list of fields was a bit further down:
I also had a look at your code but couldn't figure out how you know what to map.
Thank you for this project. Let me know if any further information is needed.
The text was updated successfully, but these errors were encountered: