-
Notifications
You must be signed in to change notification settings - Fork 63
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
Lenovo Legion Y9000X IAH7 (2022) Support #86
Comments
Is Y9000X the original or Chinese name? I added your model/BIOS to the kernel module. Please get the new version, recompile, and reload the kernel module (no need to force anymore). Then, please test the following features. We have to try a bit to find the correct configuration. Temperatures and Fan SpeedsPlease read the fan speeds and temperatures (see README) and confirm that they are sensible and change accordingly, e.g. when you put load onto the CPU the CPU temp and the fan speeds should increase, but GPU temp should stay roughly the same. PowermodeWe will start by confirming that power mode change work and to get me more debug info. Please change the power mode with Fn+Q and provide the output of the following commands in each mode. sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
sudo cat /sys/kernel/debug/legion/fancurve Then please also check if the power mode is read correctly in the OS (see README). Then please check if you can set the power mode with the GUI (see README) and the LED changes accordingly. Tests the following features with the GUI. Please check that if works or otherwise give precise information about what does not work. Please try to check that reading and writing works with the software. Please provide the log output from the GUI from the log tab for all the tests. Fn Lock
Win Key
Touchpad
Battery Conservation
Rapid Charging
Charge Output Always On
Display Overdrive
Keyboard BacklightIn order to fix/configure the keyboard backlight and begin with setting fan curves, please put your keyboard backlight to off, medium, or bright. Provide the output of the following commands (in that order) in each backlight state: sudo cat /sys/kernel/debug/legion/fancurve
sudo dmesg | tail -n 30 Fan curveFirst, please give again the output of sudo cat /sys/kernel/debug/legion/fancurve
sudo dmesg | tail -n 30 Second, please use the GUI and enter custom mode. Do you have a custom mode (e.g. in Legion Toolkit in Windows)? Then change the fan curve (currently only the first row for fan 1), write it to hardware, and read it back. Please report back if it works and provide the log output from the GUI and |
Sorry, I don't know how to use the new version in my system. |
I updated the code. You just have to download the code from github again. Then, compile/build it again ( |
Since NixOS doesn't follow FHS, |
Maybe you could install make like here https://stackoverflow.com/questions/74649163/how-to-install-the-make-command-in-nixos or here https://www.reddit.com/r/NixOS/comments/s71md4/installing_make/. It is enough to have the files in your home folder and compile it there. There is no need to install the new driver but |
Thanks. Tested with Y9000X is it's original name. Conclusion : "Charge Output Always On", "Fan curve" Temperatures and Fan SpeedsI tested CPU with CPU temp raised, then I heard the sound of the fan. But on And then I test with the Lenovo Legion Linux GUI, it shows that the speeds of the fan raised. GPU temp stay roughly the same. the 2nd image shows the temp and the fan's speeds when I'm putting load onto the CPU. PowermodeThese are outputs of Then I used the GUI tools to change power mode, it works fine and the LED changed its colour. I also tested it with Fn LockI used the GUI tools to change Fn Lock, it works as expected. Win KeyWorks. TouchpadWorks. Battery ConservationWorks. Rapid ChargingWorks. *Charge Output Always OnDoesn't work. Log:
Display OverdriveWorks. Keyboard Backlight*Fan curveError.
Dmesg:
|
IMO, Y9000X is the Chinese name. When I enter the serial number of my laptop on pcsupport.lenovo.com, I get this link, so I think its international name is Legion S7 16IAH7 or Legion Slim 7i Gen 7. |
It look you introduce some zeros in the values try read from hardware after fn+q and change for example on value, record to hardware and verify the value apply. About charge always on. Verify if you have the option in the bios if not, unfortunately your legion is not supported. |
For this device, I have uploaded all my info in both linux and windows. Testing new features on 2022 models [looking for testers] #2263193416 I hope it is helpful. Until today, this module doesn't work properly on my Y9000X. @johnfanv2 Thank you so much. |
Model name: Lenovo Legion Y9000X IAH7
CPU model: 12th Gen Intel i7-12700H (20) @ 4.600GHz
GPU model: NVIDIA GeForce RTX 3060 Mobile / Max-Q
Keyboard backlight: single color with off/medium/bright
System: GNU/Linux x86_64, NixOS
By default legion-laptop module will not loaded in this model:
output of
sudo dmidecode -t system
Output of
dmidecode -t bios
:Output of
sudo cat /sys/kernel/debug/legion/fancurve
:Inspecting WMI entries
fwts_wmi.log
Disassembling ACPI tables
acpi_re.zip
Gathering WMI info in Windows
newfile.txt
Originally posted by @YisuiDenghua in #46 (comment)
The text was updated successfully, but these errors were encountered: