-
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
Support for older Legion y720 #72
Comments
We can try but I am not sure if all features will work. Which features are the most useful for you? To this end, please provide the following information so that I can configure the driver: Inspecting WMI entries# Install required tools
sudo apt install fwts
# Create folder for all the new files
mkdir fwts_re
cd fwts_re
sudo fwts wmi - > fwts_wmi.log Then upload files. Disassembling ACPI tables# Install requiered tools
sudo apt install acpica-tools # Create folder for all the new files
mkdir acpi_re
cd acpi_re
# List ACPI tables and copy them
ls /sys/firmware/acpi/tables/
sudo cp --no-preserve=mode /sys/firmware/acpi/tables/*SDT* .
# Disassemble tables to output DSDT.dsl
iasl -e SSDT* -d DSDT Then upload files. Gathering WMI info in WindowsIf you have Windows, then the following information are very very useful to make use of the ACPI methods. If you do not have Windows skip it. Open powershell as admin in Windows and run the following script. It will list all available lenovo WMI methods. Copy output to a file and upload. $wmi_classes = Get-WmiObject -Namespace 'ROOT/WMI' -List -Class "*LENOVO*"
foreach ($wmi_class in $wmi_classes){
Write-Host "########################################"
Write-Host "########################################"
Write-Host "########################################"
Write-Host "Name:" $wmi_class.Name
Write-Host "Class Name:" $wmi_class.Name
Write-Host "Class GUID:" $wmi_class.Qualifiers["guid"].Value
Write-Host "Description:" $wmi_class.Methods.Count
Write-Host "Methods:"
foreach ($method in $wmi_class.Methods){
Write-Host "Name:" $method.Name
Write-Host "WmiMethodId:" $method.Qualifiers["WmiMethodId"].Value
Write-Host "Class Name:" $wmi_class.Name
Write-Host "Class GUID:" $wmi_class.Qualifiers["guid"].Value
Write-Host "Description:" $method.Qualifiers["Description"].Value
Write-Host "Implemented:" $method.Qualifiers["Implemented"].Value
Write-Host ""
}
Write-Host ""
} First DebugI added your model to the driver to get more information. Please get the newest version and try to load it. Then, please provide the output of the following commands:
|
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
sudo dmesg | grep legion
|
Log output look promising. I guess fan control might work. Please upload the files to github, e.g. as a zip file, so they will be stored for a longer period combined with this repo. You can do that by drag/dropping them into the text field. |
i've updated the comment with the zip file, as for which features are the most useful for me, its just the fan curve really, it's sub woofer has never worked under linux (i've tried with hdajackretask), but i'm guessing this isn't related to this chip and outside the scope of this repo |
@lilongueti you can test with the latest commit if features work? |
it doesnt seem to be much diffrent, however i tried poking sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
fancurve
dmesg
|
Hi, So, I tried to run on my Y720, but was unsuccessful, just like @lilongueti. Fortunately, I have an image from the original disk that came with it, so I booted it up, and got the WMI from windows and some WMI logs as well. Interestingly, I noticed that the module echoes Thanks @johnfanv2 and @MrDuartePT for your continued support! Here is the data I got:
Windows Powershell Script Result
|
I know it's an older model, but it always had overheating problems (99 C while gaming) and i was hoping this would help

Distribution: Pop!_OS 22.04 LTS
Model name: Legion Y720
CPU model: Intel i7 7700HQ
GPU model: Nvidia GTX 1060
Keyboard backlight: single color with off/medium/bright
Light in lid or logo: yes, but i dont think its configurable, at least not on windows
Light at IO-Ports at back: no
Output of
sudo dmidecode -t system
. Please remove Serial Number and UUID for privacy:Output of
sudo dmidecode -t bios
:Output of
sudo cat /sys/kernel/debug/legion/fancurve
:The text was updated successfully, but these errors were encountered: