Skip to content
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

[BUG] Legion R7000P2020H Change Current Fan Curve Test Failed with No Change to the Fan Curve #275

Open
OriginCode opened this issue Nov 10, 2024 · 0 comments

Comments

@OriginCode
Copy link

Problem Description
Has the bug occurred following steps described in the README? Yes.
What steps did you take? I followed the initial usage testing in the README.
What commands did you enter? From Quick Test: Change Current Fan Curve from Hardware with hwmon
What was the (full) error you received and what command or action did lead to it? N/A

/sys/kernel/debug/legion/fancurve:

EC Chip ID: 8227
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve fancurve_pmw_speed fancurve_rpm_speed
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289494
temperature access method: 1
CPU temperature error: 0
CPU temperature: 77
CPU temperature EC error: 0
CPU temperature EC: 77
CPU temperature ACPI error: 0
CPU temperature ACPI: 77
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: -14
CPU temperature WMI2: 0
CPU temperature WMI3 error: -14
CPU temperature WMI3: 0
GPU temperature error: 0
GPU temperature: 43
GPU temperature EC error: 0
GPU temperature EC: 43
GPU temperature ACPI error: 0
GPU temperature ACPI: 44
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: -14
GPU temperature WMI2: 0
GPU temperature WMI3 error: -14
GPU temperature WMI3: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 3411
1 fanspeed EC error: 0
1 fanspeed EC: 3411
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 3400
1 fanspeed WMI error: 0
1 fanspeed WMI: 3400
1 fanspeed WMI2 error: -14
1 fanspeed WMI2: 3400
1 fanspeed WMI3 error: -14
1 fanspeed WMI3: 3400
2 fanspeed error: 0
2 fanspeed: 3395
2 fanspeed EC error: 0
2 fanspeed EC: 3395
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 3300
2 fanspeed WMI error: 0
2 fanspeed WMI: 3300
2 fanspeed WMI2 error: -14
2 fanspeed WMI2: 3300
2 fanspeed WMI3 error: -14
2 fanspeed WMI3: 3300
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 0
powermode ACPI error: -5
powermode ACPI: 1262272232
powermode WMI error: 0
powermode WMI: 3
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: -5
WMI light IO port: -5
WMI light Y logo/lid: -5
EC minifancurve feature enabled: 1
EC minifancurve on cool: true
EC lockfancontroller error: 0
EC lockfancontroller: false
fanfullspeed error: -22
fanfullspeed: 0
fanfullspeed EC error: 0
fanfullspeed EC: 0
Max speed for fancurve: 10000
Current fan curve in hardware:
Fan curve current point id: 6
Fan curve points size: 10
u(speed_of_unit)|speed1[u]|speed2[u]|speed1[pwm]|speed2[pwm]|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
3	 0	 0	 0	 0	 2	 2	 0	 72	 0	 54	 0	 38
3	 17	 16	 43	 43	 2	 2	 65	 72	 51	 54	 35	 42
3	 20	 19	 51	 51	 2	 2	 65	 72	 51	 54	 39	 49
3	 21	 21	 53	 53	 2	 2	 65	 72	 51	 54	 45	 127
3	 23	 23	 58	 58	 2	 2	 65	 76	 51	 54	 45	 127
3	 26	 26	 66	 66	 2	 2	 73	 80	 51	 54	 45	 127
3	 29	 29	 73	 73	 2	 2	 76	 84	 51	 67	 45	 127
3	 36	 36	 91	 91	 2	 2	 80	 88	 63	 77	 45	 127
3	 38	 38	 96	 96	 2	 2	 84	 92	 72	 80	 45	 127
3	 44	 44	 112	 112	 2	 2	 86	 95	 74	 83	 45	 127
=====================
Current fan curve in hardware (WMI; might be empty)
Fan curve current point id: -85747759792832
Fan curve points size: 0
u(speed_of_unit)|speed1[u]|speed2[u]|speed1[pwm]|speed2[pwm]|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================

After following the quick test:

EC Chip ID: 8227
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve fancurve_pmw_speed fancurve_rpm_speed
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289494
temperature access method: 1
CPU temperature error: 0
CPU temperature: 75
CPU temperature EC error: 0
CPU temperature EC: 75
CPU temperature ACPI error: 0
CPU temperature ACPI: 75
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: -14
CPU temperature WMI2: 0
CPU temperature WMI3 error: -14
CPU temperature WMI3: 0
GPU temperature error: 0
GPU temperature: 44
GPU temperature EC error: 0
GPU temperature EC: 44
GPU temperature ACPI error: 0
GPU temperature ACPI: 44
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: -14
GPU temperature WMI2: 0
GPU temperature WMI3 error: -14
GPU temperature WMI3: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 3067
1 fanspeed EC error: 0
1 fanspeed EC: 3067
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 3000
1 fanspeed WMI error: 0
1 fanspeed WMI: 3000
1 fanspeed WMI2 error: -14
1 fanspeed WMI2: 3000
1 fanspeed WMI3 error: -14
1 fanspeed WMI3: 3000
2 fanspeed error: 0
2 fanspeed: 3080
2 fanspeed EC error: 0
2 fanspeed EC: 3080
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 3000
2 fanspeed WMI error: 0
2 fanspeed WMI: 3000
2 fanspeed WMI2 error: -14
2 fanspeed WMI2: 3000
2 fanspeed WMI3 error: -14
2 fanspeed WMI3: 3000
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 0
powermode ACPI error: -5
powermode ACPI: 1516617448
powermode WMI error: 0
powermode WMI: 3
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: -5
WMI light IO port: -5
WMI light Y logo/lid: -5
EC minifancurve feature enabled: 1
EC minifancurve on cool: true
EC lockfancontroller error: 0
EC lockfancontroller: false
fanfullspeed error: -22
fanfullspeed: 0
fanfullspeed EC error: 0
fanfullspeed EC: 0
Max speed for fancurve: 10000
Current fan curve in hardware:
Fan curve current point id: 5
Fan curve points size: 10
u(speed_of_unit)|speed1[u]|speed2[u]|speed1[pwm]|speed2[pwm]|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
3	 0	 0	 0	 0	 2	 2	 0	 72	 0	 54	 0	 38
3	 17	 16	 43	 43	 2	 2	 65	 72	 51	 54	 35	 42
3	 20	 19	 51	 51	 2	 2	 65	 72	 51	 54	 39	 49
3	 21	 21	 53	 53	 2	 2	 65	 72	 51	 54	 45	 127
3	 23	 23	 58	 58	 2	 2	 65	 76	 51	 54	 45	 127
3	 26	 26	 66	 66	 2	 2	 73	 80	 51	 54	 45	 127
3	 29	 29	 73	 73	 2	 2	 76	 84	 51	 67	 45	 127
3	 36	 36	 91	 91	 2	 2	 80	 88	 63	 77	 45	 127
3	 38	 38	 96	 96	 2	 2	 84	 92	 72	 80	 45	 127
3	 44	 44	 112	 112	 2	 2	 86	 95	 74	 83	 45	 127
=====================
Current fan curve in hardware (WMI; might be empty)
Fan curve current point id: -85747505447616
Fan curve points size: 0
u(speed_of_unit)|speed1[u]|speed2[u]|speed1[pwm]|speed2[pwm]|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================

Model and Debug Info

Distribution: AOSC OS 11.6.1 (including version, e.g. Ubuntu 24.04)
Model name: Legion R7000P2020H
CPU model: AMD Ryzen 7 4800H
GPU model: NVIDIA GeForce RTX 2060
Keyboard backlight: Single color off
Light in lid or logo: Yes
Light at IO-Ports at back: Yes

Output of sudo dmidecode -t system. Please remove Serial Number and UUID for privacy:

# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 82GR
        Version: Lenovo Legion R7000P2020H
        Serial Number: 
        UUID: 
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_82GR_BU_idea_FM_Legion R7000P2020H
        Family: Legion R7000P2020H

Handle 0x0020, DMI type 12, 5 bytes
System Configuration Options
        Option 1: String1 for Type12 Equipment Manufacturer
        Option 2: String2 for Type12 Equipment Manufacturer
        Option 3: String3 for Type12 Equipment Manufacturer
        Option 4: String4 for Type12 Equipment Manufacturer

Handle 0x0030, DMI type 32, 20 bytes
System Boot Information
        Status: No errors detected

Output of sudo dmidecode -t bios:

# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: LENOVO
        Version: FSCN28WW
        Release Date: 09/21/2023
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 15488 kB
        Characteristics:
                PCI is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
                Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
                5.25"/360 kB floppy services are supported (int 13h)
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 kB floppy services are supported (int 13h)
                3.5"/2.88 MB floppy services are supported (int 13h)
                8042 keyboard services are supported (int 9h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
                UEFI is supported
        BIOS Revision: 1.28
        Firmware Revision: 1.28

Handle 0x0021, DMI type 13, 22 bytes
BIOS Language Information
        Language Description Format: Long
        Installable Languages: 4
                en|US|iso8859-1
                fr|FR|iso8859-1
                ja|JP|unicode
                zh|TW|unicode
        Currently Installed Language: en|US|iso8859-1

Output of sudo cat /sys/kernel/debug/legion/fancurve:

EC Chip ID: 8227
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve fancurve_pmw_speed fancurve_rpm_speed
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289494
temperature access method: 1
CPU temperature error: 0
CPU temperature: 88
CPU temperature EC error: 0
CPU temperature EC: 88
CPU temperature ACPI error: 0
CPU temperature ACPI: 88
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: -14
CPU temperature WMI2: 0
CPU temperature WMI3 error: -14
CPU temperature WMI3: 0
GPU temperature error: 0
GPU temperature: 43
GPU temperature EC error: 0
GPU temperature EC: 43
GPU temperature ACPI error: 0
GPU temperature ACPI: 43
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: -14
GPU temperature WMI2: 0
GPU temperature WMI3 error: -14
GPU temperature WMI3: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 3756
1 fanspeed EC error: 0
1 fanspeed EC: 3756
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 3700
1 fanspeed WMI error: 0
1 fanspeed WMI: 3700
1 fanspeed WMI2 error: -14
1 fanspeed WMI2: 3700
1 fanspeed WMI3 error: -14
1 fanspeed WMI3: 3700
2 fanspeed error: 0
2 fanspeed: 3763
2 fanspeed EC error: 0
2 fanspeed EC: 3763
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 3700
2 fanspeed WMI error: 0
2 fanspeed WMI: 3700
2 fanspeed WMI2 error: -14
2 fanspeed WMI2: 3700
2 fanspeed WMI3 error: -14
2 fanspeed WMI3: 3700
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 0
powermode ACPI error: -5
powermode ACPI: 1521499880
powermode WMI error: 0
powermode WMI: 3
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: -5
WMI light IO port: -5
WMI light Y logo/lid: -5
EC minifancurve feature enabled: 1
EC minifancurve on cool: true
EC lockfancontroller error: 0
EC lockfancontroller: false
fanfullspeed error: -22
fanfullspeed: 0
fanfullspeed EC error: 0
fanfullspeed EC: 0
Max speed for fancurve: 10000
Current fan curve in hardware:
Fan curve current point id: 7
Fan curve points size: 10
u(speed_of_unit)|speed1[u]|speed2[u]|speed1[pwm]|speed2[pwm]|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
3	 0	 0	 0	 0	 2	 2	 0	 72	 0	 54	 0	 38
3	 17	 16	 43	 43	 2	 2	 65	 72	 51	 54	 35	 42
3	 20	 19	 51	 51	 2	 2	 65	 72	 51	 54	 39	 49
3	 21	 21	 53	 53	 2	 2	 65	 72	 51	 54	 45	 127
3	 23	 23	 58	 58	 2	 2	 65	 76	 51	 54	 45	 127
3	 26	 26	 66	 66	 2	 2	 73	 80	 51	 54	 45	 127
3	 29	 29	 73	 73	 2	 2	 76	 84	 51	 67	 45	 127
3	 36	 36	 91	 91	 2	 2	 80	 88	 63	 77	 45	 127
3	 38	 38	 96	 96	 2	 2	 84	 92	 72	 80	 45	 127
3	 44	 44	 112	 112	 2	 2	 86	 95	 74	 83	 45	 127
=====================
Current fan curve in hardware (WMI; might be empty)
Fan curve current point id: -85747500565184
Fan curve points size: 0
u(speed_of_unit)|speed1[u]|speed2[u]|speed1[pwm]|speed2[pwm]|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant