Comments (12)
1d4e1d3
Added to list
Need back report
from lenovolegionlinux.
Thanks @st0nie, I tried building and reloading that but it does not seem happy:
[Sun Apr 28 13:08:16 2024] legion_laptop: Loading legion_laptop
[Sun Apr 28 13:08:16 2024] legion PNP0C09:00: legion_laptop platform driver probing
[Sun Apr 28 13:08:16 2024] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 83FD; DMI_BIOS_VERSION:NSCN23WW
[Sun Apr 28 13:08:16 2024] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 83FD; DMI_BIOS_VERSION:NSCN23WW
[Sun Apr 28 13:08:16 2024] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[Sun Apr 28 13:08:16 2024] legion PNP0C09:00: Using configuration for system: NSCN
[Sun Apr 28 13:08:16 2024] legion PNP0C09:00: Could not evaluate ACPI _STA
[Sun Apr 28 13:08:16 2024] legion PNP0C09:00: Could not init ACPI access: -5
[Sun Apr 28 13:08:16 2024] legion_laptop: Unloading legion shared
[Sun Apr 28 13:08:16 2024] legion_laptop: Unloading legion shared done
[Sun Apr 28 13:08:16 2024] legion PNP0C09:00: legion_laptop not loaded for this device
[Sun Apr 28 13:08:16 2024] legion: probe of PNP0C09:00 failed with error -5
Please let me know if there's further information I can provide that will help! Cheers
from lenovolegionlinux.
Can you retry it?
need output of:
sudo cat /sys/kernel/debug/legion/fancurve
from lenovolegionlinux.
Thanks. sudo make forcereloadmodule
outputs:
...
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 83FD; DMI_BIOS_VERSION:NSCN23WW
[Sun Apr 28 13:21:37 2024] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 83FD; DMI_BIOS_VERSION:NSCN23WW
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: legion_laptop is forced to load.
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: Using configuration for system: NSCN
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: Skipping ACPI _STA check
[Sun Apr 28 13:21:37 2024] legion_laptop: Creating RAM access to embedded controller
[Sun Apr 28 13:21:37 2024] legion_laptop: Successfully mapped embedded controller: 0xfe0b0400 (in RAM)/0x0 (in EC) to virtual 0x00000000932dae22
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: Read embedded controller ID 0x5507
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: Skipped checking embedded controller id
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: Creating debugfs interface
[Sun Apr 28 13:21:37 2024] legion_laptop: Creating sysfs interface
[Sun Apr 28 13:21:37 2024] legion_laptop: Creating hwmon interface
[Sun Apr 28 13:21:37 2024] legion_laptop: Creating platform profile support
[Sun Apr 28 13:21:37 2024] legion_laptop: Init WMI driver support
[Sun Apr 28 13:21:37 2024] legion_wmi 887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[Sun Apr 28 13:21:37 2024] legion_wmi BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[Sun Apr 28 13:21:37 2024] legion_wmi D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[Sun Apr 28 13:21:37 2024] legion_wmi BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[Sun Apr 28 13:21:37 2024] legion_wmi BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[Sun Apr 28 13:21:37 2024] legion_wmi 10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[Sun Apr 28 13:21:37 2024] legion_wmi D320289E-8FEA-41E0-86F9-611D83151B5F: Register after probing for WMI.
[Sun Apr 28 13:21:37 2024] legion_laptop: Init keyboard backlight LED driver
[Sun Apr 28 13:21:37 2024] legion_laptop: Error WMI call for reading brightness: expected a value between 1 and 3, but got 0
[Sun Apr 28 13:21:37 2024] legion_laptop: Error reading keyboard brightness
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: Failed to init keyboard backlight LED driver. Skipping ...
[Sun Apr 28 13:21:37 2024] legion_laptop: Init Y-Logo LED driver
[Sun Apr 28 13:21:37 2024] legion_laptop: Init IO-Port LED driver
[Sun Apr 28 13:21:37 2024] legion_laptop: Error WMI call for reading brightness: expected a value between 1 and 2, but got 0
[Sun Apr 28 13:21:37 2024] legion_laptop: Error reading brightness for light: 5
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: Failed to init IO-Port LED driver. Skipping ...
[Sun Apr 28 13:21:37 2024] legion PNP0C09:00: legion_laptop loaded for this device
and sudo cat /sys/kernel/debug/legion/fancurve
outputs:
EC Chip ID: 5507
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 4245487636
temperature access method: 5
CPU temperature error: 0
CPU temperature: 56
CPU temperature EC error: 0
CPU temperature EC: 0
CPU temperature ACPI error: -5
CPU temperature ACPI: 0
CPU temperature WMI error: 0
CPU temperature WMI: 56
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 56
GPU temperature error: 0
GPU temperature: 35
GPU temperature EC error: 0
GPU temperature EC: 0
GPU temperature ACPI error: -5
GPU temperature ACPI: 0
GPU temperature WMI error: 0
GPU temperature WMI: 35
GPU temperature WMI2 error: 0
GPU temperature WMI2: 0
GPU temperature WMI3 error: 0
GPU temperature WMI3: 35
fan speed access method: 5
1 fanspeed error: 0
1 fanspeed: 1400
1 fanspeed EC error: 0
1 fanspeed EC: 0
1 fanspeed ACPI error: -5
1 fanspeed ACPI: 0
1 fanspeed WMI error: 0
1 fanspeed WMI: 0
1 fanspeed WMI2 error: 0
1 fanspeed WMI2: 0
1 fanspeed WMI3 error: 0
1 fanspeed WMI3: 1400
2 fanspeed error: 0
2 fanspeed: 1700
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1700
2 fanspeed WMI error: 0
2 fanspeed WMI: 0
2 fanspeed WMI2 error: 0
2 fanspeed WMI2: 0
2 fanspeed WMI3 error: 0
2 fanspeed WMI3: 1700
powermode access method: 3
powermode error: 0
powermode: 2
powermode EC error: 0
powermode EC: 0
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 2
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 1
WMI backlight 2 state: 0
WMI backlight 3 state: -14
WMI light IO port: 0
WMI light Y logo/lid: 0
EC minifancurve feature enabled: 0
EC minifancurve on cool: error
EC lockfancontroller error: 0
EC lockfancontroller: true
fanfullspeed error: 0
fanfullspeed: 0
fanfullspeed EC error: -1
fanfullspeed EC: 0
EC fan curve current point id: 0
EC fan curve points size: 0
Current fan curve in hardware:
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================
Current fan curve in hardware (WMI; might be empty)
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================
from lenovolegionlinux.
Seems most of things work excluding fancurve
try to edit this line
available options:
ACCESS_METHOD_EC
ACCESS_METHOD_EC2
ACCESS_METHOD_EC3
ACCESS_METHOD_WMI3
If none of the above work, we'll mark the fancurve feature as unimplemented for the time being
Thank U :)
from lenovolegionlinux.
ACCESS_METHOD_EC
EC minifancurve feature enabled: 0
EC minifancurve on cool: error
EC lockfancontroller error: 0
EC lockfancontroller: true
fanfullspeed error: 0
fanfullspeed: 0
fanfullspeed EC error: -1
fanfullspeed EC: 0
EC fan curve current point id: 10
EC fan curve points size: 10
Current fan curve in hardware:
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
6800 0 0 0 0 0 0 0 0 255
9000 0 0 0 0 0 0 0 0 255
4000 0 0 0 0 0 0 0 0 255
6800 0 0 0 0 0 0 0 0 255
9000 0 0 0 0 0 0 0 0 255
4000 0 0 0 0 0 0 0 0 255
6800 0 0 0 0 0 0 0 0 255
9900 0 0 0 0 0 0 0 0 255
4000 0 0 0 0 0 0 0 0 255
9400 0 0 0 0 0 0 0 0 255
=====================
Current fan curve in hardware (WMI; might be empty)
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================
ACCESS_METHOD_EC2
EC minifancurve feature enabled: 0
EC minifancurve on cool: error
EC lockfancontroller error: 0
EC lockfancontroller: true
fanfullspeed error: 0
fanfullspeed: 0
fanfullspeed EC error: -1
fanfullspeed EC: 0
EC fan curve current point id: 8
EC fan curve points size: 8
Current fan curve in hardware:
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
6800 0 0 0 0 0 0 0 0 0
9000 0 0 0 0 0 0 0 0 0
4000 0 0 0 0 0 0 0 0 0
6800 0 0 0 0 0 0 0 0 0
9000 0 0 0 0 0 0 0 0 0
4000 0 0 0 0 0 0 0 0 0
6800 0 0 0 0 0 0 0 0 0
9900 0 0 0 0 0 0 0 0 0
=====================
Current fan curve in hardware (WMI; might be empty)
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================
ACCESS_METHOD_EC3
EC minifancurve feature enabled: 0
EC minifancurve on cool: error
EC lockfancontroller error: 0
EC lockfancontroller: true
fanfullspeed error: 0
fanfullspeed: 0
fanfullspeed EC error: -1
fanfullspeed EC: 0
EC fan curve current point id: 10
EC fan curve points size: 10
Current fan curve in hardware:
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
6800 0 0 0 0 0 0 0 0 0
6800 0 0 0 0 0 0 0 0 0
6800 0 0 0 0 0 0 0 0 0
9400 0 0 0 0 0 0 0 0 0
1700 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
=====================
Current fan curve in hardware (WMI; might be empty)
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================
I'm not sure, but it looks like either ACCESS_METHOD_EC
or ACCESS_METHOD_EC2
are ok?
from lenovolegionlinux.
Unfortunately modifying the fan curve won't currently work on your machine, but everything else seems to work.
We'll possibly fix it later.
from lenovolegionlinux.
@st0nie thank you for your assistance getting this far, really appreciate your help! Do you know if it's possible for me to set the speed of the fans without using the fan curve at all?
from lenovolegionlinux.
https://wiki.archlinux.org/title/fan_speed_control
You can refer to archwiki to try various tools that can modify the fan speed. In addition to that, lenovolegionlinux offers the ability to lock the max speed and lock the fan speed, which I think might be useful for you!
from lenovolegionlinux.
Not being able to adjust the fan curve doesn't affect your usage very much, legion has a default fan curve for each powermode, we just can't edit it right now. legion's default fan curve is more than enough for most people to use.
from lenovolegionlinux.
@st0nie thanks, I'm just finding the fans aren't kicking in enough by default so my laptop gets very hot to the touch. I've found I can either have the fans completely off in quite mode or between 1400 and 2000 RPM in other modes.
I've been unable to get any external fan software working with this yet. I've tried inspecting the device exposed in /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00
but that doesn't seem to expose anything that could be used to directly control the fans without the fancurve, as those appear to be the only PWM items exposed.
from lenovolegionlinux.
I've also tried using the lock on the max speed and lock the fan speed (using gui and by echo 1 | lockfancontroller
directly) and it does not seem to keep the fans at a set RPM :(
from lenovolegionlinux.
Related Issues (20)
- More support HOT 1
- GKCN60WW legion 5 15ach6h HOT 1
- [BUG] Error when trying the GUI HOT 13
- Could this project support windows? HOT 7
- [BUG] crash since powerstate module got added HOT 11
- Fedora 40 issue HOT 2
- [BUG]When the GPU temp and usage increases, the fan curve fails HOT 2
- [BUG]When the load and temperature of the NVIDIA GPU increase, the fan speed lock at 2300 rpm HOT 2
- [BUG] fan curve doesnt work on 5 pro 16irx8 HOT 1
- [BUG] Cannot change fancurve Legion 5 15IAH7H HOT 2
- [Question] Is the thinkbook 16+ 2024 raptor edition applicable? HOT 1
- Cannot interact with GUI on 16IAH7H gen 7 / 2022
- [BUG] After the latest update in Garuda LenovoLegionLinux doesnt work anymore. HOT 4
- Arch Linux LenovoLegionLinux won't launch after install, No module named 'legion_linux' HOT 11
- Architecture: Implement background Service legiond in Python HOT 12
- [BUG] repository 'https://johnfanv2.github.io/LenovoLegionLinux/package_repo/ubuntu ./ Release' no longer has a Release file HOT 1
- Support for Lenovo Legion Slim 5 16AHP9
- [BUG] Running `systemd_install.sh` failed HOT 1
- [BUG] Incorrect CPU Long Term Power Limit (Cross Loading) applied and cannot be changed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lenovolegionlinux.