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

Legion Slim 5 16IRH8 Support #93

Open
klmshrk opened this issue Aug 8, 2023 · 23 comments
Open

Legion Slim 5 16IRH8 Support #93

klmshrk opened this issue Aug 8, 2023 · 23 comments

Comments

@klmshrk
Copy link

klmshrk commented Aug 8, 2023

Distribution: Ubuntu 23.04
Model name: Lenovo Legion Slim 5 16IRH8
CPU model: Intel Core i7-13700H
GPU model: NVIDIA RTX 4070
Keyboard backlight: single color

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

# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.4 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 82YA
	Version: Legion Slim 5 16IRH8
	Serial Number: ***
	UUID: ***
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_82YA_BU_idea_FM_Legion Slim 5 16IRH8
	Family: Legion Slim 5 16IRH8

Handle 0x0024, DMI type 12, 5 bytes
System Configuration Options
	Option 1: ConfigOptions1
	Option 2: ConfigOptions2
	Option 3: ConfigOptions3

Handle 0x0027, DMI type 15, 29 bytes
System Event Log
	Area Length: 0 bytes
	Header Start Offset: 0x0000
	Header Length: 8192 bytes
	Data Start Offset: 0x2000
	Access Method: General-purpose non-volatile data functions
	Access Address: 0x0000
	Status: Valid, Not Full
	Change Token: 0x12345678
	Header Format: OEM-specific
	Supported Log Type Descriptors: 3
	Descriptor 1: POST memory resize
	Data Format 1: None
	Descriptor 2: POST error
	Data Format 2: POST results bitmap
	Descriptor 3: Log area reset/cleared
	Data Format 3: None

Handle 0x0034, DMI type 32, 11 bytes
System Boot Information
	Status: No errors detected

Output of sudo dmidecode -t bios:

# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.4 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
	Vendor: LENOVO
	Version: M2CN25WW
	Release Date: 05/16/2023
	Address: 0xE0000
	Runtime Size: 128 kB
	ROM Size: 16 MB
	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: 2.25
	Firmware Revision: 2.25

Handle 0x0025, DMI type 13, 22 bytes
BIOS Language Information
	Language Description Format: Long
	Installable Languages: 8
		en|US|iso8859-1,0
		fr|FR|iso8859-1,0
		zh|TW|unicode,0
		ja|JP|unicode,0
		it|IT|iso8859-1,0
		es|ES|iso8859-1,0
		de|DE|iso8859-1,0
		pt|PT|iso8859-1,0
	Currently Installed Language: en|US|iso8859-1,0

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

cat: /sys/kernel/debug/legion/fancurve: No such file or directory

fwts_wmi.log
acpi_re.zip
wmi_windows.txt

@johnfanv2
Copy link
Owner

I added your model to the driver. Please get the newest code, recompile, and try again.

Then, please test the following features. We have to try a bit to find the correct configuration.

Temperatures and Fan Speeds

Please 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.

Powermode

We 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

  • Enable fn-lock: A LED might turn on. fn functions now work without pressing Fn
  • Disable fn-lock: A LED might turn on. fn functions now work only when pressing Fn

Win Key

  • Enable Win Key: Win Key should work, e.g. open start menu or trigger some other action
  • Disable Win Key: Win Key has no function anymore

Touchpad

  • Enable Touchpad: Touchpad works
  • Disable Touchpad: Touchpad does not work

Battery Conservation

  • Enabled: charging stops if above 60 % (or 80% depending on model)
  • Disabled: charging works up to 100%
    Note: Sometimes it takes a 10-20 seconds before it takes effect

Rapid Charging

  • Enabled: Charging is faster; Check this by comparing the time until fully charged displayed in system information or by comparing charging current.
  • Disabled: Charging is slower
    Note: Sometimes it takes a 10-20 seconds before it takes effect .

Charge Output Always On

  • Enabled: Some USB output is always powered even when laptop is off or sleeping; Test e.g. by trying to charge your phone.
  • Disabled: USB outputs are off when laptop is off

Display Overdrive

  • Enabled: display somehow faster
  • Disabled: display not faster
    Just check if checkbox can be checked or not if you cannot verify that it has an effect.

Keyboard Backlight

In 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 curve

I guess this is a newer model, so we only can change the fan curve in custom mode for now. Use the GUI to go into custom mode and change the fan curve. I guess that in the newer models the value is from 0 to 1000 (maximal) and not in RPM. Please try to verify it. Please also try if changing the fan curve in custom mode really influences the fan curve.

@klmshrk
Copy link
Author

klmshrk commented Aug 16, 2023

I added your model to the driver. Please get the newest code, recompile, and try again.

Then, please test the following features. We have to try a bit to find the correct configuration.

Temperatures and Fan Speeds

Please 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.

Powermode

We will start ...

legion PNP0C09:00: legion_laptop not loaded for this device. I redid the first step. idk what to do now

@class1c-j
Copy link

class1c-j commented Aug 16, 2023

Sorry if I shouldn't intervene in this thread, but I got the same model and same specs as @klmshrk but running on fedora 38 kernel 6.4.10-200, tried installing with dkms and rebooted. my dmesg output includes

[   17.388858] legion_laptop: legion_laptop starts loading
[   17.388943] legion PNP0C09:00: legion_laptop platform driver probing
[   17.388946] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[   17.388948] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[   17.388953] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[   17.388955] legion PNP0C09:00: Using configuration for system: M2CN
[   17.388965] legion PNP0C09:00: Could not evaluate ACPI _STA
[   17.388966] legion PNP0C09:00: Could not init ACPI access: -5
[   17.388968] legion_laptop: Unloading legion shared
[   17.388968] legion_laptop: Unloading legion shared done
[   17.388969] legion PNP0C09:00: legion_laptop not loaded for this device
[   17.389037] legion: probe of PNP0C09:00 failed with error -5

@klmshrk
Copy link
Author

klmshrk commented Aug 16, 2023

@class1c-j I have the same output


[  495.942469] legion_laptop: legion_laptop starts loading
[  495.942562] legion PNP0C09:00: legion_laptop platform driver probing
[  495.942566] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[  495.942568] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[  495.942574] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[  495.942582] legion PNP0C09:00: Using configuration for system: M2CN
[  495.942600] legion PNP0C09:00: Could not evaluate ACPI _STA
[  495.942601] legion PNP0C09:00: Could not init ACPI access: -5
[  495.942603] legion_laptop: Unloading legion shared
[  495.942603] legion_laptop: Unloading legion shared done
[  495.942605] legion PNP0C09:00: legion_laptop not loaded for this device
[  495.942761] legion: probe of PNP0C09:00 failed with error -5


@johnfanv2
Copy link
Owner

I disabled a ACPI check and updated the code. Please try again with the newest code.

@klmshrk
Copy link
Author

klmshrk commented Aug 16, 2023

@johnfanv2

[  253.124198] legion_laptop: legion_laptop starts loading
[  253.124289] legion PNP0C09:00: legion_laptop platform driver probing
[  253.124292] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[  253.124295] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[  253.124300] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[  253.124303] legion PNP0C09:00: Using configuration for system: M2CN
[  253.124305] legion_laptop: Creating RAM access to embedded controller
[  253.124329] legion_laptop: Succeffuly mapped embedded controller: 0xfe0b0400 (in RAM)/0x0 (in EC) to virtual 0x0000000042463b45
[  253.124899] legion PNP0C09:00: Read embedded controller ID 0x8227
[  253.124902] legion PNP0C09:00: Expected EC chip id 0x5507 but read 0x8227
[  253.124904] legion_laptop: Unloading legion ecram
[  253.124905] legion_laptop: Unloading legion ecram done
[  253.124906] legion_laptop: Unmapping embedded controller memory at 0xfe0b0400 (in RAM)/0x0 (in EC) at virtual 0x0000000042463b45
[  253.124911] legion_laptop: Unloading legion shared
[  253.124911] legion_laptop: Unloading legion shared done
[  253.124912] legion PNP0C09:00: legion_laptop not loaded for this device
[  253.125009] legion: probe of PNP0C09:00 failed with error -12

@johnfanv2
Copy link
Owner

I updated the id of the embedded controller in the code. Please try with the new code again. This seems to be different from what I expected. Is this a 2023 model?

@klmshrk
Copy link
Author

klmshrk commented Aug 16, 2023

@johnfanv2 yes, produced in May 2023

@johnfanv2
Copy link
Owner

I expected a 2023 model. Maybe different models have slightly different firmware. Please try the new code.

@klmshrk
Copy link
Author

klmshrk commented Aug 16, 2023

@johnfanv2
Temperatures and Fan Speeds output: empty

sensors output:

legion_hwmon-isa-0000
Adapter: ISA adapter
Fan 1:              0 RPM  (Fan 1:           1500 RPM - with load)
Fan 2:              0 RPM  (Fan 2:           1500 RPM - with load)
CPU Temperature:  +59.0°C  
GPU Temperature:  +35.0°C  
IC Temperature:    +0.0°C  

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +32.0°C  

ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

BAT1-acpi-0
Adapter: ACPI interface
in0:          16.31 V  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +48.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +48.0°C  (high = +100.0°C, crit = +100.0°C)
Core 8:        +47.0°C  (high = +100.0°C, crit = +100.0°C)
Core 12:       +48.0°C  (high = +100.0°C, crit = +100.0°C)
Core 16:       +48.0°C  (high = +100.0°C, crit = +100.0°C)
Core 20:       +48.0°C  (high = +100.0°C, crit = +100.0°C)
Core 24:       +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 25:       +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 26:       +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 27:       +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 28:       +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 29:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 30:       +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 31:       +52.0°C  (high = +100.0°C, crit = +100.0°C)

ucsi_source_psy_USBC000:002-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

nvme-pci-0600
Adapter: PCI adapter
Composite:    +44.9°C  (low  = -273.1°C, high = +75.8°C)
                       (crit = +86.8°C)
Sensor 1:     +44.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +40.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  (crit = +105.0°C)

Powermode output:

**sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C** 
00000000  00 00 00 8c 00 00 00 08  01 40 90 00 00 10 57 00  |.........@....W.|
00000010  00 00 2c 28 29 31 30 2e  00 20 03 00 40 62 00 c2  |..,()10.. ..@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 06 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 37  23 00 00 08 00 2a 00 78  |....@..7#....*.x|
000000b0  37 37 00 00 23 00 00 00  00 00 00 0f 00 42 00 00  |77..#........B..|
000000c0  00 00 a4 19 54 0f b4 3f  50 3c 40 1f 66 20 4f 1f  |....T..?P<@.f O.|
000000d0  00 00 00 00 9d 0e 66 20  3d 03 59 11 00 04 ec 56  |......f =.Y....V|
000000e0  00 00 00 ec 0f ec 0f ed  0f ee 0f 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 30 43  04 0d 00 ff ff 00 00 00  |......0C........|
00000100  00 00 00 00 00 00 05 00  4d 00 37 5a 15 50 5a 1d  |........M.7Z.PZ.|
00000110  50 5a 1d 50 5a 1d 50 5a  1d 50 5a 1d 50 5e 23 52  |PZ.PZ.PZ.PZ.P^#R|
00000120  63 23 5e 64 23 00 00 00  00 00 00 00 00 00 00 4d  |c#^d#..........M|
00000130  00 37 5a 15 50 5a 1d 50  5a 1d 50 5a 1d 50 5a 1d  |.7Z.PZ.PZ.PZ.PZ.|
00000140  50 5a 1d 50 5e 23 52 63  23 5e 64 23 00 00 00 00  |PZ.P^#Rc#^d#....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000600

**sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C**
00000000  00 00 00 8c 00 00 00 08  01 40 90 00 00 10 57 00  |.........@....W.|
00000010  00 00 2c 28 2a 30 31 2e  00 20 03 00 40 62 00 c2  |..,(*01.. ..@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 06 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 36  23 00 00 08 00 2a 00 78  |....@..6#....*.x|
000000b0  35 35 00 00 23 00 00 00  00 00 00 0f 00 42 00 00  |55..#........B..|
000000c0  00 00 a4 19 54 0f b3 3f  50 3c 40 1f 66 20 4f 1f  |....T..?P<@.f O.|
000000d0  00 00 00 00 9d 0e 66 20  3d 03 59 11 00 04 ec 56  |......f =.Y....V|
000000e0  00 00 00 ec 0f ec 0f ed  0f ee 0f 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 30 43  04 0d 00 ff ff 00 00 00  |......0C........|
00000100  00 00 00 03 00 0a 05 00  4d 00 37 5a 15 50 5a 1d  |........M.7Z.PZ.|
00000110  50 5a 1d 50 5a 1d 50 5a  1d 50 5a 1d 50 5e 23 52  |PZ.PZ.PZ.PZ.P^#R|
00000120  63 23 5e 64 23 00 00 00  00 00 03 00 0a 00 00 4d  |c#^d#..........M|
00000130  00 37 5a 15 50 5a 1d 50  5a 1d 50 5a 1d 50 5a 1d  |.7Z.PZ.PZ.PZ.PZ.|
00000140  50 5a 1d 50 5e 23 52 63  23 5e 64 23 00 00 00 00  |PZ.P^#Rc#^d#....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300

**sudo cat /sys/kernel/debug/legion/fancurve**
empty output

@klmshrk
Copy link
Author

klmshrk commented Aug 16, 2023

@johnfanv2 GUI doesn't start sudo: python/legion_linux/legion_linux/legion_gui.py: command not found

@class1c-j
Copy link

class1c-j commented Aug 17, 2023

@klmshrk did you forget the ./ and running from the repo root folder?

I tried running some of the tests and this is what I got.

Temperatures and Fan Speeds

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +43.0°C

legion_hwmon-isa-0000
Adapter: ISA adapter
Fan 1:              0 RPM
Fan 2:              0 RPM
CPU Temperature:  +56.0°C
GPU Temperature:  +49.0°C
IC Temperature:    +0.0°C

ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

BAT1-acpi-0
Adapter: ACPI interface
in0:          15.49 V

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +47.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
Core 8:        +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 12:       +46.0°C  (high = +100.0°C, crit = +100.0°C)
Core 16:       +47.0°C  (high = +100.0°C, crit = +100.0°C)
Core 20:       +47.0°C  (high = +100.0°C, crit = +100.0°C)
Core 24:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 25:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 26:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 27:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 28:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 29:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 30:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 31:       +51.0°C  (high = +100.0°C, crit = +100.0°C)

ucsi_source_psy_USBC000:002-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

nvme-pci-0600
Adapter: PCI adapter
Composite:    +46.9°C  (low  =  -0.1°C, high = +85.8°C)
                       (crit = +86.8°C)
Sensor 1:     +42.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +40.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  (crit = +105.0°C)

Fan speeds change when performing heavy work.

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +44.0°C

legion_hwmon-isa-0000
Adapter: ISA adapter
Fan 1:           1600 RPM
Fan 2:           1600 RPM
CPU Temperature:  +60.0°C
GPU Temperature:  +35.0°C
IC Temperature:    +0.0°C

ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

BAT1-acpi-0
Adapter: ACPI interface
in0:          15.45 V

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +58.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +54.0°C  (high = +100.0°C, crit = +100.0°C)
Core 8:        +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 12:       +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 16:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 20:       +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 24:       +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 25:       +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 26:       +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 27:       +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 28:       +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 29:       +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 30:       +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 31:       +55.0°C  (high = +100.0°C, crit = +100.0°C)

ucsi_source_psy_USBC000:002-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

nvme-pci-0600
Adapter: PCI adapter
Composite:    +47.9°C  (low  =  -0.1°C, high = +85.8°C)
                       (crit = +86.8°C)
Sensor 1:     +42.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +41.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  (crit = +105.0°C)

Powermode

Power mode can be changed/read correctly in the keyboard, python GUI, or GNOME quick tile.

Quiet Mode

sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
00000000  00 00 01 0d 00 00 00 08  01 40 90 40 00 10 57 00  |.........@.@..W.|
00000010  00 00 2e 2a 2b 32 2e 2c  00 a8 00 00 40 62 00 c2  |...*+2.,....@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 17 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 36  2f 00 00 08 00 2a 00 78  |....@..6/....*.x|
000000b0  36 36 00 00 30 00 00 00  00 00 00 0d 00 42 00 00  |66..0........B..|
000000c0  00 00 53 13 89 07 e9 40  50 3c 70 17 4b 18 50 20  |..S....@P<p.K.P |
000000d0  00 00 00 00 00 00 4b 18  6d 02 59 01 00 04 e3 56  |......K.m.Y....V|
000000e0  00 00 00 3a 10 3a 10 3b  10 3a 10 00 00 00 00 00  |...:.:.;.:......|
000000f0  00 00 00 00 00 00 c0 44  18 00 00 ff ff 00 00 00  |.......D........|
00000100  00 00 00 00 00 00 05 00  3a 00 37 3b 11 37 3b 11  |........:.7;.7;.|
00000110  37 3b 11 46 55 15 46 55  15 46 55 15 50 5a 18 52  |7;.FU.FU.FU.PZ.R|
00000120  63 18 5e 64 18 00 00 00  00 00 00 00 00 00 00 3a  |c.^d...........:|
00000130  00 37 3b 11 37 3b 11 37  3b 11 46 55 15 46 55 15  |.7;.7;.7;.FU.FU.|
00000140  46 55 15 50 5a 18 52 63  18 5e 64 18 00 00 00 00  |FU.PZ.Rc.^d.....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000600
sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
00000000  00 00 01 0d 00 00 00 08  01 40 90 40 00 10 57 00  |.........@.@..W.|
00000010  00 00 2d 2a 2b 31 2e 2c  00 a8 00 00 40 62 00 c2  |..-*+1.,....@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 17 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 35  23 00 00 08 00 2a 00 78  |....@..5#....*.x|
000000b0  35 35 00 00 23 00 00 00  00 00 00 0d 00 42 00 00  |55..#........B..|
000000c0  00 00 53 13 89 07 eb 40  50 3c 70 17 4b 18 50 20  |..S....@P<p.K.P |
000000d0  00 00 00 00 00 00 4b 18  6d 02 59 11 00 04 e3 56  |......K.m.Y....V|
000000e0  00 00 00 3a 10 3a 10 3b  10 3a 10 00 00 00 00 00  |...:.:.;.:......|
000000f0  00 00 00 00 00 00 c0 44  06 0d 00 ff ff 00 00 00  |.......D........|
00000100  00 00 00 00 00 00 05 00  3a 00 37 3b 11 37 3b 11  |........:.7;.7;.|
00000110  37 3b 11 46 55 15 46 55  15 46 55 15 50 5a 18 52  |7;.FU.FU.FU.PZ.R|
00000120  63 18 5e 64 18 00 00 00  00 00 00 00 00 00 00 3a  |c.^d...........:|
00000130  00 37 3b 11 37 3b 11 37  3b 11 46 55 15 46 55 15  |.7;.7;.7;.FU.FU.|
00000140  46 55 15 50 5a 18 52 63  18 5e 64 18 00 00 00 00  |FU.PZ.Rc.^d.....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300
sudo cat /sys/kernel/debug/legion/fancurve

empty file, cat hangs

Balanced Mode

sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
00000000  00 00 03 0d 00 00 00 08  01 40 90 00 00 10 57 00  |.........@....W.|
00000010  00 00 2e 2b 2b 32 2d 2c  00 a8 00 00 40 62 00 c2  |...++2-,....@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 17 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 36  2e 00 00 08 00 2a 00 78  |....@..6.....*.x|
000000b0  36 36 00 00 2e 00 00 00  00 00 00 0d 00 42 00 00  |66...........B..|
000000c0  00 00 53 13 89 07 e9 40  50 3c 70 17 4b 18 50 21  |..S....@P<p.K.P!|
000000d0  00 00 00 00 00 00 4b 18  6d 02 59 11 00 04 e3 56  |......K.m.Y....V|
000000e0  00 00 00 3a 10 3b 10 3a  10 3a 10 00 00 00 00 00  |...:.;.:.:......|
000000f0  00 00 00 00 00 00 c0 44  03 01 00 ff ff 00 00 00  |.......D........|
00000100  00 00 00 00 00 00 05 00  4d 00 37 5a 15 50 5a 1d  |........M.7Z.PZ.|
00000110  50 5a 1d 50 5a 1d 50 5a  1d 50 5a 1d 50 5e 23 52  |PZ.PZ.PZ.PZ.P^#R|
00000120  63 23 5e 64 23 00 00 00  00 00 00 00 00 00 00 4d  |c#^d#..........M|
00000130  00 37 5a 15 50 5a 1d 50  5a 1d 50 5a 1d 50 5a 1d  |.7Z.PZ.PZ.PZ.PZ.|
00000140  50 5a 1d 50 5e 23 52 63  23 5e 64 23 00 00 00 00  |PZ.P^#Rc#^d#....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000600
sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
00000000  00 00 03 0d 00 00 00 08  01 40 90 00 00 10 57 00  |.........@....W.|
00000010  00 00 2d 2a 2b 31 2d 2c  00 a8 00 00 40 62 00 c2  |..-*+1-,....@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 17 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 35  23 00 00 08 00 2a 00 78  |....@..5#....*.x|
000000b0  35 35 00 00 23 00 00 00  00 00 00 0d 00 42 00 00  |55..#........B..|
000000c0  00 00 53 13 89 07 ea 40  50 3c 70 17 4b 18 50 21  |..S....@P<p.K.P!|
000000d0  00 00 00 00 00 00 4b 18  6d 02 59 11 00 04 e3 56  |......K.m.Y....V|
000000e0  00 00 00 3a 10 3b 10 3a  10 3a 10 00 00 00 00 00  |...:.;.:.:......|
000000f0  00 00 00 00 00 00 c0 44  05 0d 00 ff ff 00 00 00  |.......D........|
00000100  00 00 00 00 00 00 05 00  4d 00 37 5a 15 50 5a 1d  |........M.7Z.PZ.|
00000110  50 5a 1d 50 5a 1d 50 5a  1d 50 5a 1d 50 5e 23 52  |PZ.PZ.PZ.PZ.P^#R|
00000120  63 23 5e 64 23 00 00 00  00 00 00 00 00 00 00 4d  |c#^d#..........M|
00000130  00 37 5a 15 50 5a 1d 50  5a 1d 50 5a 1d 50 5a 1d  |.7Z.PZ.PZ.PZ.PZ.|
00000140  50 5a 1d 50 5e 23 52 63  23 5e 64 23 00 00 00 00  |PZ.P^#Rc#^d#....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300
sudo cat /sys/kernel/debug/legion/fancurve

empty file, cat hangs

Performance Mode

sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
00000000  00 00 03 0d 00 00 00 08  01 40 90 20 00 10 57 00  |.........@. ..W.|
00000010  00 00 2e 2b 2b 30 2d 2b  00 a8 00 00 40 62 00 c2  |...++0-+....@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 17 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 34  23 00 00 08 00 2a 00 78  |....@..4#....*.x|
000000b0  33 33 00 00 23 00 00 00  00 00 00 0d 00 42 00 00  |33..#........B..|
000000c0  00 00 53 13 89 07 e9 40  50 3c 70 17 4b 18 50 21  |..S....@P<p.K.P!|
000000d0  00 00 00 00 00 00 4b 18  6d 02 59 01 00 04 e3 56  |......K.m.Y....V|
000000e0  00 00 00 3c 10 3a 10 3a  10 3a 10 00 00 00 00 00  |...<.:.:.:......|
000000f0  00 00 00 00 00 00 c0 44  34 00 00 ff ff 00 00 00  |.......D4.......|
00000100  01 65 1e bb 13 0b 05 00  3c 00 3a 50 1d 46 5e 2b  |.e......<.:P.F^+|
00000110  46 5e 2b 46 5e 2b 46 5e  2b 46 5e 2b 46 5e 2b 46  |F^+F^+F^+F^+F^+F|
00000120  63 2b 5e 64 2b 13 13 01  65 1e bb 13 0b 00 00 3c  |c+^d+...e......<|
00000130  00 3a 50 1d 46 5e 2b 46  5e 2b 46 5e 2b 46 5e 2b  |.:P.F^+F^+F^+F^+|
00000140  46 5e 2b 46 5e 2b 46 63  2b 5e 64 2b 13 13 00 00  |F^+F^+Fc+^d+....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000600
sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
00000000  00 00 03 0d 00 00 00 08  01 40 90 20 00 10 57 00  |.........@. ..W.|
00000010  00 00 2c 2a 2b 2f 2b 2a  00 a8 00 00 40 62 00 c2  |..,*+/+*....@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 17 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 30  23 00 00 08 00 2a 00 78  |....@..0#....*.x|
000000b0  2f 2f 00 00 23 00 00 00  00 00 00 0d 00 42 00 00  |//..#........B..|
000000c0  00 00 53 13 89 07 e9 40  50 3c 70 17 4b 18 50 21  |..S....@P<p.K.P!|
000000d0  00 00 00 00 00 00 4b 18  6d 02 59 11 00 04 e3 56  |......K.m.Y....V|
000000e0  00 00 00 3a 10 3a 10 3a  10 3a 10 00 00 00 00 00  |...:.:.:.:......|
000000f0  00 00 00 00 00 00 c0 44  01 0d 00 ff ff 00 00 00  |.......D........|
00000100  01 65 1e 50 13 0b 05 00  3c 00 3a 50 1d 46 5e 2b  |.e.P....<.:P.F^+|
00000110  46 5e 2b 46 5e 2b 46 5e  2b 46 5e 2b 46 5e 2b 46  |F^+F^+F^+F^+F^+F|
00000120  63 2b 5e 64 2b 13 13 01  65 1e 50 13 0c 00 00 3c  |c+^d+...e.P....<|
00000130  00 3a 50 1d 46 5e 2b 46  5e 2b 46 5e 2b 46 5e 2b  |.:P.F^+F^+F^+F^+|
00000140  46 5e 2b 46 5e 2b 46 63  2b 5e 64 2b 13 13 00 00  |F^+F^+Fc+^d+....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300
sudo cat /sys/kernel/debug/legion/fancurve

empty file, cat hangs

Fn Lock

Works well.

Win Key

Works well.

Touchpad

Works well.

Battery Conservation

(Edited, got it to work by uninstalling completely a gnome extension that conflicted)
Works well

Rapid Charging

Had to unplug and re-plug the charger for it to take effect, but with rapid charge on got energy-rate of 42.528W time-to-full of 39.6min; off got energy-rate of 29.158W and time-to-full of 53.1min. Works well.

Display overdrive

Checkbox toggles without any error in the log, but I personally couldn't notice the difference, maybe idk what to look for.

Keyboard backlight

Since fancurve file seems to be always empty, skipping this command

dmesg:

Off:

[  190.327920] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[  190.465387] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[  190.465434] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[  190.465483] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[  190.465535] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[  190.481368] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[  190.545678] usb 3-7: reset high-speed USB device number 3 using xhci_hcd
[  190.795854] usb 3-1: reset full-speed USB device number 2 using xhci_hcd
[  190.928549] PM: resume devices took 0.628 seconds
[  190.929065] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[  190.930144] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[  190.932771] OOM killer enabled.
[  190.932774] Restarting tasks ... done.
[  190.937876] random: crng reseeded on system resumption
[  191.060271] PM: suspend exit
[  191.448367] rfkill: input handler disabled
[  191.480327] Generic FE-GE Realtek PHY r8169-0-700:00: attached PHY driver (mii_bus:phy_addr=r8169-0-700:00, irq=MAC)
[  191.645323] r8169 0000:07:00.0 enp7s0: Link is Down
[  195.208623] wlp0s20f3: authenticate with cc:19:a8:36:a3:71
[  195.212735] wlp0s20f3: send auth to cc:19:a8:36:a3:71 (try 1/3)
[  195.273115] wlp0s20f3: authenticated
[  195.274571] wlp0s20f3: associate with cc:19:a8:36:a3:71 (try 1/3)
[  195.275833] wlp0s20f3: RX AssocResp from cc:19:a8:36:a3:71 (capab=0x1011 status=0 aid=5)
[  195.285132] wlp0s20f3: associated
[  195.344857] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[  195.344896] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by cc:19:a8:36:a3:71
[  208.936378] legion_laptop: get_simple_wmi_attributewith raw value: 1
[  217.054061] legion_laptop: get_simple_wmi_attributewith raw value: 0
[  359.723710] ideapad_acpi VPC2004:00: Unknown event: 12
[  360.037200] ideapad_acpi VPC2004:00: Unknown event: 12

Low:

[  190.465387] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[  190.465434] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[  190.465483] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[  190.465535] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[  190.481368] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[  190.545678] usb 3-7: reset high-speed USB device number 3 using xhci_hcd
[  190.795854] usb 3-1: reset full-speed USB device number 2 using xhci_hcd
[  190.928549] PM: resume devices took 0.628 seconds
[  190.929065] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[  190.930144] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[  190.932771] OOM killer enabled.
[  190.932774] Restarting tasks ... done.
[  190.937876] random: crng reseeded on system resumption
[  191.060271] PM: suspend exit
[  191.448367] rfkill: input handler disabled
[  191.480327] Generic FE-GE Realtek PHY r8169-0-700:00: attached PHY driver (mii_bus:phy_addr=r8169-0-700:00, irq=MAC)
[  191.645323] r8169 0000:07:00.0 enp7s0: Link is Down
[  195.208623] wlp0s20f3: authenticate with cc:19:a8:36:a3:71
[  195.212735] wlp0s20f3: send auth to cc:19:a8:36:a3:71 (try 1/3)
[  195.273115] wlp0s20f3: authenticated
[  195.274571] wlp0s20f3: associate with cc:19:a8:36:a3:71 (try 1/3)
[  195.275833] wlp0s20f3: RX AssocResp from cc:19:a8:36:a3:71 (capab=0x1011 status=0 aid=5)
[  195.285132] wlp0s20f3: associated
[  195.344857] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[  195.344896] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by cc:19:a8:36:a3:71
[  208.936378] legion_laptop: get_simple_wmi_attributewith raw value: 1
[  217.054061] legion_laptop: get_simple_wmi_attributewith raw value: 0
[  359.723710] ideapad_acpi VPC2004:00: Unknown event: 12
[  360.037200] ideapad_acpi VPC2004:00: Unknown event: 12
[  390.986972] ideapad_acpi VPC2004:00: Unknown event: 12

Bright:

[  190.465434] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[  190.465483] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[  190.465535] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[  190.481368] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[  190.545678] usb 3-7: reset high-speed USB device number 3 using xhci_hcd
[  190.795854] usb 3-1: reset full-speed USB device number 2 using xhci_hcd
[  190.928549] PM: resume devices took 0.628 seconds
[  190.929065] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[  190.930144] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[  190.932771] OOM killer enabled.
[  190.932774] Restarting tasks ... done.
[  190.937876] random: crng reseeded on system resumption
[  191.060271] PM: suspend exit
[  191.448367] rfkill: input handler disabled
[  191.480327] Generic FE-GE Realtek PHY r8169-0-700:00: attached PHY driver (mii_bus:phy_addr=r8169-0-700:00, irq=MAC)
[  191.645323] r8169 0000:07:00.0 enp7s0: Link is Down
[  195.208623] wlp0s20f3: authenticate with cc:19:a8:36:a3:71
[  195.212735] wlp0s20f3: send auth to cc:19:a8:36:a3:71 (try 1/3)
[  195.273115] wlp0s20f3: authenticated
[  195.274571] wlp0s20f3: associate with cc:19:a8:36:a3:71 (try 1/3)
[  195.275833] wlp0s20f3: RX AssocResp from cc:19:a8:36:a3:71 (capab=0x1011 status=0 aid=5)
[  195.285132] wlp0s20f3: associated
[  195.344857] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[  195.344896] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by cc:19:a8:36:a3:71
[  208.936378] legion_laptop: get_simple_wmi_attributewith raw value: 1
[  217.054061] legion_laptop: get_simple_wmi_attributewith raw value: 0
[  359.723710] ideapad_acpi VPC2004:00: Unknown event: 12
[  360.037200] ideapad_acpi VPC2004:00: Unknown event: 12
[  390.986972] ideapad_acpi VPC2004:00: Unknown event: 12
[  411.576336] ideapad_acpi VPC2004:00: Unknown event: 12

Fan curve

Did not perform the test as I can't read the fancurve

Additionally, the GUI log contains some errors:

  • Anytime I try to do anything related to the fancurve I get this in the terminal:
Traceback (most recent call last):
  File "/home/rm/Downloads/repos/LenovoLegionLinux/./python/legion_linux/legion_linux/legion_gui.py", line 654, in on_read_fan_curve_from_hw
    self.model.read_fancurve_from_hw()
  File "/home/rm/Downloads/repos/LenovoLegionLinux/./python/legion_linux/legion_linux/../legion_linux/legion.py", line 1396, in read_fancurve_from_hw
    self.fan_curve = self.fancurve_io.read_fan_curve()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/./python/legion_linux/legion_linux/../legion_linux/legion.py", line 904, in read_fan_curve
    fan1_speed = self.get_fan_1_speed(point_id)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/./python/legion_linux/legion_linux/../legion_linux/legion.py", line 810, in get_fan_1_speed
    return self._read_file(file_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/./python/legion_linux/legion_linux/../legion_linux/legion.py", line 739, in _read_file
    return int(filepointer.read())
               ^^^^^^^^^^^^^^^^^^
OSError: [Errno 95] Operation not supported
  • Full log from the GUI:

2023-08-17 00:12:17,651 - INFO: [ 1.070425] systemd[1]: Hostname set to .
[ 5.311662] legion_laptop: loading out-of-tree module taints kernel.
[ 5.311671] legion_laptop: module verification failed: signature and/or required key missing - tainting kernel
[ 5.312601] legion_laptop: legion_laptop starts loading
[ 5.312731] legion PNP0C09:00: legion_laptop platform driver probing
[ 5.312734] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[ 5.312736] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[ 5.312739] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[ 5.312741] legion PNP0C09:00: Using configuration for system: M2CN
[ 5.312742] legion_laptop: Creating RAM access to embedded controller
[ 5.312754] legion_laptop: Succeffuly mapped embedded controller: 0xfe0b0400 (in RAM)/0x0 (in EC) to virtual 0x000000009ff90b19
[ 5.313069] le2023-08-17 01:02:23,825 - INFO: Click on UI Rapid Charging element for RapidChargingFeature
2023-08-17 01:02:23,827 - INFO: Feature BatteryConservation writing: 0
2023-08-17 01:02:23,828 - INFO: Feature RapidChargingFeature writing: 1
2023-08-17 01:02:23,930 - INFO: Feature RapidChargingFeature reading
2023-08-17 01:02:23,933 - INFO: Feature RapidChargingFeature reading: 1
2023-08-17 01:02:24,034 - INFO: Feature BatteryConservation reading
2023-08-17 01:02:24,037 - INFO: Feature BatteryConservation reading: 0
2023-08-17 01:02:24,038 - INFO: Feature BatteryConservation reading
2023-08-17 01:02:24,040 - INFO: Feature BatteryConservation reading: 0
2023-08-17 01:02:24,041 - INFO: Feature RapidChargingFeature reading
2023-08-17 01:02:24,041 - INFO: Feature RapidChargingFeature reading: 1
2023-08-17 01:20:13,850 - INFO: Click on UI Battery Conservation (keep battery at about 50 percent and do not charge on AC to extend battery life) element for BatteryConservation
2023-08-17 01:20:13,852 - INFO: Feature RapidChargingFeature writing: 0
2023-08-17 01:20:13,853 - INFO: Feature BatteryConservation writing: 1
2023-08-17 01:20:13,954 - INFO: Feature BatteryConservation reading
2023-08-17 01:20:13,958 - INFO: Feature BatteryConservation reading: 1
2023-08-17 01:20:14,059 - INFO: Feature RapidChargingFeature reading
2023-08-17 01:20:14,062 - INFO: Feature RapidChargingFeature reading: 0
2023-08-17 01:20:14,063 - INFO: Feature BatteryConservation reading
2023-08-17 01:20:14,065 - INFO: Feature BatteryConservation reading: 1
2023-08-17 01:20:14,066 - INFO: Feature RapidChargingFeature reading
2023-08-17 01:20:14,067 - INFO: Feature RapidChargingFeature reading: 0
gion PNP0C09:00: Read embedded controller ID 0x8227
[ 5.313073] legion PNP0C09:00: Creating debugfs inteface
[ 5.313083] legion_laptop: Creating sysfs inteface
[ 5.313958] legion_laptop: Creating hwmon interface
[ 5.321705] legion_laptop: Creating platform profile support
[ 5.322035] legion_laptop: Init WMI driver support
[ 5.322080] legion_wmi 887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[ 5.322108] legion_wmi BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[ 5.322117] legion_wmi D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[ 5.322126] legion_wmi BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[ 5.322136] legion_wmi BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[ 5.322144] legion_wmi 10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[ 5.322153] legion_wmi D320289E-8FEA-41E0-86F9-611D83151B5F: Register after probing for WMI.
[ 5.322177] legion_wmi 8FC0DE0C-B4E4-43FD-B0F3-8871711C1294: Register after probing for WMI.
[ 5.322194] legion_laptop: Init keyboard backlight LED driver
[ 5.322333] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 5.325419] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 5.325422] legion_laptop: Init Y-Logo LED driver
[ 5.325444] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 5.325445] legion_laptop: Error WMI call for reading brightness: expected a value between 0 and 1, but got 2
[ 5.325446] legion_laptop: Error reading brighntess for light: 3
[ 5.325447] legion PNP0C09:00: Init Y-Logo LED driver failed. Skipping ...
[ 5.325449] legion_laptop: Init IO-Port LED driver
[ 5.325468] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 5.333304] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 5.333311] legion PNP0C09:00: legion_laptop loaded for this device
[ 6.239116] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 8.074822] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 16.549326] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2

2023-08-17 00:12:17,652 - INFO: Feature LockFanController with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/lockfancontroller and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/lockfancontroller
2023-08-17 00:12:17,652 - INFO: Feature RapidChargingFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/rapidcharge and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/rapidcharge
2023-08-17 00:12:17,652 - INFO: Feature BatteryConservation with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
2023-08-17 00:12:17,652 - INFO: Feature MaximumFanSpeedFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/fan_fullspeed and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/fan_fullspeed
2023-08-17 00:12:17,652 - INFO: Feature FnLockFeature with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/fn_lock and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/fn_lock
2023-08-17 00:12:17,652 - INFO: Feature WinkeyFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/winkey and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/winkey
2023-08-17 00:12:17,652 - INFO: Feature TouchpadFeature with pattern ['/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/touchpad', '/sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/touchpad'] and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/touchpad
2023-08-17 00:12:17,652 - INFO: Feature CameraPowerFeature with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/camera_power and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/camera_power
2023-08-17 00:12:17,652 - INFO: Feature OverdriveFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/overdrive and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/overdrive
2023-08-17 00:12:17,652 - INFO: Feature GsyncFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gsync and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gsync
2023-08-17 00:12:17,653 - INFO: Feature PlatformProfileFeature with pattern /sys/firmware/acpi/platform_profile and path /sys/firmware/acpi/platform_profile
2023-08-17 00:12:17,653 - INFO: Feature StrFileFeature with pattern /sys/firmware/acpi/platform_profile_choices and path /sys/firmware/acpi/platform_profile_choices
2023-08-17 00:12:17,653 - INFO: Feature IsOnPowerSupplyFeature with pattern /sys/class/power_supply/ADP0/online and path None
2023-08-17 00:12:17,653 - WARNING: Feature IsOnPowerSupplyFeature exist not. exits: 0
2023-08-17 00:12:17,653 - INFO: Feature AlwaysOnUSBChargingFeature with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/usb_charging and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/usb_charging
2023-08-17 00:12:17,653 - INFO: Feature BatteryCurrentCapacityPercentage with pattern /sys/class/power_supply/BAT0/capacity and path None
2023-08-17 00:12:17,653 - WARNING: Feature BatteryCurrentCapacityPercentage exist not. exits: 0
2023-08-17 00:12:17,653 - INFO: Feature CPUOverclock with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_oc and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_oc
2023-08-17 00:12:17,653 - INFO: Feature CPULongtermPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_longterm_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_longterm_powerlimit
2023-08-17 00:12:17,653 - INFO: Feature CPUShorttermPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_shortterm_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_shortterm_powerlimit
2023-08-17 00:12:17,653 - INFO: Feature CPUPeakPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_peak_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_peak_powerlimit
2023-08-17 00:12:17,653 - INFO: Feature CPUDefaultPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_default_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_default_powerlimit
2023-08-17 00:12:17,653 - INFO: Feature CPUCrossLoadingPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_cross_loading_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_cross_loading_powerlimit
2023-08-17 00:12:17,653 - INFO: Feature CPUAPUSPPTPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_apu_sppt_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_apu_sppt_powerlimit
2023-08-17 00:12:17,654 - INFO: Feature GPUOverclock with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_oc and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_oc
2023-08-17 00:12:17,654 - INFO: Feature GPUBoostClock with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_boost_clock and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_boost_clock
2023-08-17 00:12:17,654 - INFO: Feature GPUCTGPPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ctgp_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ctgp_powerlimit
2023-08-17 00:12:17,654 - INFO: Feature GPUPPABPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ppab_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ppab_powerlimit
2023-08-17 00:12:17,654 - INFO: Feature GPUTemperatureLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_temperature_limit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_temperature_limit
2023-08-17 00:12:17,654 - INFO: Feature YLogoLight with pattern /sys/class/leds/platform::ylogo/brightness and path None
2023-08-17 00:12:17,654 - WARNING: Feature YLogoLight exist not. exits: 0
2023-08-17 00:12:17,654 - INFO: Feature IOPortLight with pattern /sys/class/leds/platform::ioport/brightness and path /sys/class/leds/platform::ioport/brightness
2023-08-17 00:12:17,654 - INFO: CommandFeature PowerProfilesDeamonService: []
2023-08-17 00:12:17,654 - WARNING: Feature PowerProfilesDeamonService exist not. exits: 0
2023-08-17 00:12:17,654 - INFO: CommandFeature PowerProfilesDeamonService execute "systemctl status power-profiles-daemon"
2023-08-17 00:12:17,669 - INFO: CommandFeature PowerProfilesDeamonService reading with code 0: ● power-profiles-daemon.service - Power Profiles daemon
Loaded: loaded (/usr/lib/systemd/system/power-profiles-daemon.service; disabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Thu 2023-08-17 00:11:40 WEST; 37s ago
Main PID: 1630 (power-profiles-)
Tasks: 4 (limit: 18786)
Memory: 1.4M
CPU: 29ms
CGroup: /system.slice/power-profiles-daemon.service
└─1630 /usr/libexec/power-profiles-daemon

ago 17 00:11:40 rmlegion systemd[1]: Starting power-profiles-daemon.service - Power Profiles daemon...
ago 17 00:11:40 rmlegion systemd[1]: Started power-profiles-daemon.service - Power Profiles daemon.

2023-08-17 00:12:17,669 - INFO: CommandFeature LenovoLegionLaptopSuppoerService: []
2023-08-17 00:12:17,669 - WARNING: Feature LenovoLegionLaptopSuppoerService exist not. exits: 0
2023-08-17 00:12:17,669 - INFO: CommandFeature LenovoLegionLaptopSuppoerService execute "systemctl status legion-linux.service legion-linux.path"
2023-08-17 00:12:17,676 - INFO: CommandFeature LenovoLegionLaptopSuppoerService reading with code 4:
2023-08-17 00:12:17,676 - INFO: Feature LegionGUIAutostart with pattern /root/.config and path /root/.config
2023-08-17 00:12:17,676 - WARNING: Feature LegionGUIAutostart exist not. exits: 0
2023-08-17 00:12:17,676 - INFO: Feature NVIDIAGPUIsRunning with pattern /sys/bus/pci/devices/0000:01:00.0/power/runtime_status and path /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
2023-08-17 00:12:17,676 - INFO: Feature automatic_close setting to 0
2023-08-17 00:12:17,676 - INFO: Feature close_to_tray setting to 0
2023-08-17 00:12:17,676 - INFO: Feature open_closed_to_tray setting to 0
2023-08-17 00:12:17,676 - INFO: No settings file exists.
2023-08-17 00:12:17,697 - INFO: Feature LockFanController reading
2023-08-17 00:12:17,698 - INFO: Feature LockFanController reading: 1
2023-08-17 00:12:17,698 - INFO: Feature MaximumFanSpeedFeature reading
2023-08-17 00:12:17,698 - INFO: Feature MaximumFanSpeedFeature reading: 0
2023-08-17 00:12:17,698 - INFO: Feature FnLockFeature reading
2023-08-17 00:12:17,698 - INFO: Feature FnLockFeature reading: 0
2023-08-17 00:12:17,698 - INFO: Feature WinkeyFeature reading
2023-08-17 00:12:17,699 - INFO: Feature WinkeyFeature reading: 1
2023-08-17 00:12:17,699 - INFO: Feature TouchpadFeature reading
2023-08-17 00:12:17,699 - INFO: Feature TouchpadFeature reading: 1
2023-08-17 00:12:17,699 - INFO: Feature CameraPowerFeature reading
2023-08-17 00:12:17,706 - INFO: Feature CameraPowerFeature reading: 0
2023-08-17 00:12:17,706 - INFO: Feature BatteryConservation reading
2023-08-17 00:12:17,706 - INFO: Feature BatteryConservation reading: 0
2023-08-17 00:12:17,706 - INFO: Feature RapidChargingFeature reading
2023-08-17 00:12:17,707 - INFO: Feature RapidChargingFeature reading: 1
2023-08-17 00:12:17,707 - INFO: Feature AlwaysOnUSBChargingFeature reading
2023-08-17 00:12:17,707 - INFO: Feature AlwaysOnUSBChargingFeature reading: 1
2023-08-17 00:12:17,707 - INFO: Feature CPUOverclock reading
2023-08-17 00:12:17,707 - ERROR: Feature CPUOverclock reading error [Errno 22] Invalid argument
2023-08-17 00:12:17,712 - ERROR: [ 8.233240] Bluetooth: RFCOMM ver 1.11
[ 8.851058] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-2
[ 8.860149] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-2
[ 8.861133] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 11.021221] wlp0s20f3: authenticate with cc:19:a8:36:a3:71
[ 11.025256] wlp0s20f3: send auth to cc:19:a8:36:a3:71 (try 1/3)
[ 11.085666] wlp0s20f3: authenticated
[ 11.086592] wlp0s20f3: associate with cc:19:a8:36:a3:71 (try 1/3)
[ 11.087960] wlp0s20f3: RX AssocResp from cc:19:a8:36:a3:71 (capab=0x1011 status=0 aid=5)
[ 11.099607] wlp0s20f3: associated
[ 11.146849] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 11.154988] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by cc:19:a8:36:a3:71
[ 14.220863] systemd-journald[706]: File /var/log/journal/b7acff044b5f4ba18a4a4f5dc000ed2b/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 14.555778] rfkill: input handler enabled
[ 16.171801] rfkill: input handler disabled
[ 16.549326] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 45.062954] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063558] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063757] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.072099] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:1: expected type 3 but got 1; expected length 16 but got 0;

2023-08-17 00:12:17,714 - INFO: Feature GPUOverclock reading
2023-08-17 00:12:17,714 - INFO: Feature GPUOverclock reading: 0
2023-08-17 00:12:17,714 - INFO: Feature OverdriveFeature reading
2023-08-17 00:12:17,715 - INFO: Feature OverdriveFeature reading: 0
2023-08-17 00:12:17,715 - INFO: Feature GsyncFeature reading
2023-08-17 00:12:17,715 - INFO: Feature GsyncFeature reading: 1
2023-08-17 00:12:17,715 - INFO: Feature StrFileFeature reading
2023-08-17 00:12:17,716 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:12:17,716 - INFO: Feature PlatformProfileFeature reading
2023-08-17 00:12:17,716 - INFO: Feature PlatformProfileFeature reading: balanced
2023-08-17 00:12:17,716 - INFO: Feature CPULongtermPowerLimit reading
2023-08-17 00:12:17,716 - ERROR: Feature CPULongtermPowerLimit reading error [Errno 22] Invalid argument
2023-08-17 00:12:17,721 - ERROR: [ 11.021221] wlp0s20f3: authenticate with cc:19:a8:36:a3:71
[ 11.025256] wlp0s20f3: send auth to cc:19:a8:36:a3:71 (try 1/3)
[ 11.085666] wlp0s20f3: authenticated
[ 11.086592] wlp0s20f3: associate with cc:19:a8:36:a3:71 (try 1/3)
[ 11.087960] wlp0s20f3: RX AssocResp from cc:19:a8:36:a3:71 (capab=0x1011 status=0 aid=5)
[ 11.099607] wlp0s20f3: associated
[ 11.146849] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 11.154988] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by cc:19:a8:36:a3:71
[ 14.220863] systemd-journald[706]: File /var/log/journal/b7acff044b5f4ba18a4a4f5dc000ed2b/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 14.555778] rfkill: input handler enabled
[ 16.171801] rfkill: input handler disabled
[ 16.549326] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 45.062954] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063558] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063757] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.072099] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:1: expected type 3 but got 1; expected length 16 but got 0;
[ 45.079178] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.079914] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.080283] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.081385] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:5: expected type 3 but got 1; expected length 16 but got 0;

2023-08-17 00:12:17,722 - INFO: Feature CPUShorttermPowerLimit reading
2023-08-17 00:12:17,722 - ERROR: Feature CPUShorttermPowerLimit reading error [Errno 22] Invalid argument
2023-08-17 00:12:17,727 - ERROR: [ 11.025256] wlp0s20f3: send auth to cc:19:a8:36:a3:71 (try 1/3)
[ 11.085666] wlp0s20f3: authenticated
[ 11.086592] wlp0s20f3: associate with cc:19:a8:36:a3:71 (try 1/3)
[ 11.087960] wlp0s20f3: RX AssocResp from cc:19:a8:36:a3:71 (capab=0x1011 status=0 aid=5)
[ 11.099607] wlp0s20f3: associated
[ 11.146849] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 11.154988] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by cc:19:a8:36:a3:71
[ 14.220863] systemd-journald[706]: File /var/log/journal/b7acff044b5f4ba18a4a4f5dc000ed2b/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 14.555778] rfkill: input handler enabled
[ 16.171801] rfkill: input handler disabled
[ 16.549326] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 45.062954] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063558] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063757] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.072099] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:1: expected type 3 but got 1; expected length 16 but got 0;
[ 45.079178] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.079914] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.080283] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.081385] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:5: expected type 3 but got 1; expected length 16 but got 0;
[ 45.087178] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:3: expected type 3 but got 1; expected length 16 but got 0;

2023-08-17 00:12:17,727 - INFO: Feature CPUPeakPowerLimit reading
2023-08-17 00:12:17,727 - INFO: Feature CPUPeakPowerLimit reading: 0
2023-08-17 00:12:17,727 - INFO: Feature CPUCrossLoadingPowerLimit reading
2023-08-17 00:12:17,728 - INFO: Feature CPUCrossLoadingPowerLimit reading: 0
2023-08-17 00:12:17,728 - INFO: Feature CPUAPUSPPTPowerLimit reading
2023-08-17 00:12:17,728 - INFO: Feature CPUAPUSPPTPowerLimit reading: 0
2023-08-17 00:12:17,728 - INFO: Feature GPUCTGPPowerLimit reading
2023-08-17 00:12:17,728 - ERROR: Feature GPUCTGPPowerLimit reading error [Errno 22] Invalid argument
2023-08-17 00:12:17,732 - ERROR: [ 11.099607] wlp0s20f3: associated
[ 11.146849] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 11.154988] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by cc:19:a8:36:a3:71
[ 14.220863] systemd-journald[706]: File /var/log/journal/b7acff044b5f4ba18a4a4f5dc000ed2b/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 14.555778] rfkill: input handler enabled
[ 16.171801] rfkill: input handler disabled
[ 16.549326] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 45.062954] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063558] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063757] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.072099] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:1: expected type 3 but got 1; expected length 16 but got 0;
[ 45.079178] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.079914] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.080283] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.081385] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:5: expected type 3 but got 1; expected length 16 but got 0;
[ 45.087178] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:3: expected type 3 but got 1; expected length 16 but got 0;
[ 45.092362] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.092527] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.092636] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.092723] legion_laptop: Unexpected ACPI result for da7547f1-824d-405f-be79-d9903e29ced7:5: expected type 3 but got 1; expected length 16 but got 0;

2023-08-17 00:12:17,733 - INFO: Feature GPUPPABPowerLimit reading
2023-08-17 00:12:17,733 - ERROR: Feature GPUPPABPowerLimit reading error [Errno 22] Invalid argument
2023-08-17 00:12:17,737 - ERROR: [ 11.146849] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 11.154988] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by cc:19:a8:36:a3:71
[ 14.220863] systemd-journald[706]: File /var/log/journal/b7acff044b5f4ba18a4a4f5dc000ed2b/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 14.555778] rfkill: input handler enabled
[ 16.171801] rfkill: input handler disabled
[ 16.549326] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[ 45.062954] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063558] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.063757] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.072099] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:1: expected type 3 but got 1; expected length 16 but got 0;
[ 45.079178] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.079914] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.080283] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.081385] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:5: expected type 3 but got 1; expected length 16 but got 0;
[ 45.087178] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:3: expected type 3 but got 1; expected length 16 but got 0;
[ 45.092362] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.092527] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.092636] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 45.092723] legion_laptop: Unexpected ACPI result for da7547f1-824d-405f-be79-d9903e29ced7:5: expected type 3 but got 1; expected length 16 but got 0;
[ 45.097595] legion_laptop: Unexpected ACPI result for da7547f1-824d-405f-be79-d9903e29ced7:3: expected type 3 but got 1; expected length 16 but got 0;

2023-08-17 00:12:17,737 - INFO: Feature GPUTemperatureLimit reading
2023-08-17 00:12:17,737 - INFO: Feature GPUTemperatureLimit reading: 0
2023-08-17 00:12:17,738 - INFO: CommandFeature PowerProfilesDeamonService execute "systemctl is-active power-profiles-daemon"
2023-08-17 00:12:17,741 - INFO: CommandFeature PowerProfilesDeamonService reading with code 0: active

2023-08-17 00:12:17,745 - INFO: Feature BatteryConservation reading
2023-08-17 00:12:17,745 - INFO: Feature BatteryConservation reading: 0
2023-08-17 00:12:17,746 - INFO: Feature RapidChargingFeature reading
2023-08-17 00:12:17,746 - INFO: Feature RapidChargingFeature reading: 1
2023-08-17 00:15:16,449 - INFO: Click on UI Display Overdrive Enabled element for OverdriveFeature
2023-08-17 00:15:16,450 - INFO: Feature OverdriveFeature writing: 1
2023-08-17 00:15:16,555 - INFO: Feature OverdriveFeature reading
2023-08-17 00:15:16,557 - INFO: Feature OverdriveFeature reading: 1
2023-08-17 00:15:24,572 - INFO: Click on UI Display Overdrive Enabled element for OverdriveFeature
2023-08-17 00:15:24,572 - INFO: Feature OverdriveFeature writing: 0
2023-08-17 00:15:24,674 - INFO: Feature OverdriveFeature reading
2023-08-17 00:15:24,675 - INFO: Feature OverdriveFeature reading: 0
2023-08-17 00:20:04,791 - INFO: Click on UI Custom Mode element for PlatformProfileFeature
2023-08-17 00:20:04,792 - INFO: Feature StrFileFeature reading
2023-08-17 00:20:04,792 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:20:04,792 - INFO: Feature PlatformProfileFeature writing: balanced-performance
2023-08-17 00:20:04,996 - INFO: Feature StrFileFeature reading
2023-08-17 00:20:04,996 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:20:04,996 - INFO: Feature PlatformProfileFeature reading
2023-08-17 00:20:04,998 - INFO: Feature PlatformProfileFeature reading: balanced-performance
2023-08-17 00:31:35,388 - INFO: Click on UI Quiet Mode element for PlatformProfileFeature
2023-08-17 00:31:35,388 - INFO: Feature StrFileFeature reading
2023-08-17 00:31:35,390 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:31:35,390 - INFO: Feature PlatformProfileFeature writing: quiet
2023-08-17 00:31:35,595 - INFO: Feature StrFileFeature reading
2023-08-17 00:31:35,596 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:31:35,596 - INFO: Feature PlatformProfileFeature reading
2023-08-17 00:31:35,598 - INFO: Feature PlatformProfileFeature reading: quiet
2023-08-17 00:31:38,407 - INFO: Click on UI Balanced Mode element for PlatformProfileFeature
2023-08-17 00:31:38,408 - INFO: Feature StrFileFeature reading
2023-08-17 00:31:38,408 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:31:38,408 - INFO: Feature PlatformProfileFeature writing: balanced
2023-08-17 00:31:38,612 - INFO: Feature StrFileFeature reading
2023-08-17 00:31:38,614 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:31:38,614 - INFO: Feature PlatformProfileFeature reading
2023-08-17 00:31:38,615 - INFO: Feature PlatformProfileFeature reading: balanced
2023-08-17 00:31:51,502 - INFO: Click on UI Custom Mode element for PlatformProfileFeature
2023-08-17 00:31:51,502 - INFO: Feature StrFileFeature reading
2023-08-17 00:31:51,503 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:31:51,503 - INFO: Feature PlatformProfileFeature writing: balanced-performance
2023-08-17 00:31:51,707 - INFO: Feature StrFileFeature reading
2023-08-17 00:31:51,708 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:31:51,708 - INFO: Feature PlatformProfileFeature reading
2023-08-17 00:31:51,709 - INFO: Feature PlatformProfileFeature reading: balanced-performance
2023-08-17 00:32:45,819 - INFO: Click on UI Balanced Mode element for PlatformProfileFeature
2023-08-17 00:32:45,820 - INFO: Feature StrFileFeature reading
2023-08-17 00:32:45,820 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:32:45,821 - INFO: Feature PlatformProfileFeature writing: balanced
2023-08-17 00:32:46,024 - INFO: Feature StrFileFeature reading
2023-08-17 00:32:46,025 - INFO: Feature StrFileFeature reading: quiet balanced balanced-performance performance
2023-08-17 00:32:46,025 - INFO: Feature PlatformProfileFeature reading
2023-08-17 00:32:46,026 - INFO: Feature PlatformProfileFeature reading: balanced
2023-08-17 00:51:59,235 - INFO: Click on UI Rapid Charging element for RapidChargingFeature
2023-08-17 00:51:59,236 - INFO: Feature RapidChargingFeature writing: 0
2023-08-17 00:51:59,336 - INFO: Feature RapidChargingFeature reading
2023-08-17 00:51:59,338 - INFO: Feature RapidChargingFeature reading: 0
2023-08-17 00:51:59,438 - INFO: Feature BatteryConservation reading
2023-08-17 00:51:59,440 - INFO: Feature BatteryConservation reading: 0
2023-08-17 00:51:59,440 - INFO: Feature BatteryConservation reading
2023-08-17 00:51:59,441 - INFO: Feature BatteryConservation reading: 0
2023-08-17 00:51:59,441 - INFO: Feature RapidChargingFeature reading
2023-08-17 00:51:59,442 - INFO: Feature RapidChargingFeature reading: 0
2023-08-17 01:00:28,223 - INFO: Click on UI Touchpad Enabled (Lock or unlock touchpad; same as Fn + F10) element for TouchpadFeature
2023-08-17 01:00:28,224 - INFO: Feature TouchpadFeature writing: 0
2023-08-17 01:00:28,325 - INFO: Feature TouchpadFeature reading
2023-08-17 01:00:28,327 - INFO: Feature TouchpadFeature reading: 0

@klmshrk
Copy link
Author

klmshrk commented Aug 17, 2023

yes, sorry. output of launching GUI

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
INFO:legion_linux.legion:[    1.940156] legion_laptop: loading out-of-tree module taints kernel.
[    1.940197] legion_laptop: module verification failed: signature and/or required key missing - tainting kernel
[    1.941821] legion_laptop: legion_laptop starts loading
[    1.945410] legion PNP0C09:00: legion_laptop platform driver probing
[    1.945414] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[    1.945416] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[    1.945420] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[    1.945422] legion PNP0C09:00: Using configuration for system: M2CN
[    1.945423] legion_laptop: Creating RAM access to embedded controller
[    1.945438] legion_laptop: Succeffuly mapped embedded controller: 0xfe0b0400 (in RAM)/0x0 (in EC) to virtual 0x0000000095fbc0ea
[    1.945681] legion PNP0C09:00: Read embedded controller ID 0x8227
[    1.945682] legion PNP0C09:00: Creating debugfs inteface
[    1.945690] legion_laptop: Creating sysfs inteface
[    1.946395] legion_laptop: Creating hwmon interface
[    1.949112] legion_laptop: Creating platform profile support
[    1.949115] legion_laptop: Init WMI driver support
[    1.949150] legion_wmi 887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[    1.949167] legion_wmi BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[    1.949179] legion_wmi D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[    1.949185] legion_wmi BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[    1.949190] legion_wmi BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[    1.949196] legion_wmi 10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[    1.949201] legion_wmi D320289E-8FEA-41E0-86F9-611D83151B5F: Register after probing for WMI.
[    1.949215] legion_wmi 8FC0DE0C-B4E4-43FD-B0F3-8871711C1294: Register after probing for WMI.
[    1.949226] legion_laptop: Init keyboard backlight LED driver
[    1.949295] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[    1.949349] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[    1.949350] legion_laptop: Init Y-Logo LED driver
[    1.949370] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[    1.949397] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[    1.949398] legion_laptop: Init IO-Port LED driver
[    1.949416] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[    1.949444] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[    1.949444] legion PNP0C09:00: legion_laptop loaded for this device
[    5.670945] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[    8.530597] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  178.968290] legion_laptop: Unloading legion WMI
[  178.968404] legion_laptop: Unloading legion WMI done
[  178.968405] legion_laptop: Unloading legion platform profile
[  178.968409] legion_laptop: Unloading legion platform profile done
[  178.968933] legion_laptop: Set powermode
[  178.968934] legion_laptop: Unexpected power mode value ignored: 0
[  180.457130] legion_laptop: Set powermode
[  180.458717] legion_laptop: Unloading legion hwon
[  180.458773] legion_laptop: Unloading legion hwon done
[  180.458774] legion_laptop: Unloading legion sysfs
[  180.458783] legion_laptop: Unloading legion sysfs done
[  180.458784] legion_laptop: Unloading legion dubugfs
[  180.458790] legion_laptop: Unloading legion dubugfs done
[  180.458791] legion_laptop: Unloading legion ecram
[  180.458792] legion_laptop: Unloading legion ecram done
[  180.458792] legion_laptop: Unmapping embedded controller memory at 0xfe0b0400 (in RAM)/0x0 (in EC) at virtual 0x0000000095fbc0ea
[  180.458802] legion_laptop: Unloading legion shared
[  180.458802] legion_laptop: Unloading legion shared done
[  180.458803] legion_laptop: Legion platform unloaded
[  181.963319] legion_laptop: legion_laptop exit
[  182.013031] legion_laptop: legion_laptop starts loading
[  182.013174] legion PNP0C09:00: legion_laptop platform driver probing
[  182.013180] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[  182.013184] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82YA; DMI_BIOS_VERSION:M2CN25WW
[  182.013193] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[  182.013197] legion PNP0C09:00: Using configuration for system: M2CN
[  182.013200] legion_laptop: Creating RAM access to embedded controller
[  182.013237] legion_laptop: Succeffuly mapped embedded controller: 0xfe0b0400 (in RAM)/0x0 (in EC) to virtual 0x0000000095fbc0ea
[  182.013801] legion PNP0C09:00: Read embedded controller ID 0x8227
[  182.013804] legion PNP0C09:00: Creating debugfs inteface
[  182.013836] legion_laptop: Creating sysfs inteface
[  182.013868] legion_laptop: Creating hwmon interface
[  182.014035] legion_laptop: Creating platform profile support
[  182.014041] legion_laptop: Init WMI driver support
[  182.014135] legion_wmi 887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[  182.014191] legion_wmi BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[  182.014217] legion_wmi D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[  182.014240] legion_wmi BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[  182.014262] legion_wmi BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[  182.014284] legion_wmi 10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[  182.014306] legion_wmi D320289E-8FEA-41E0-86F9-611D83151B5F: Register after probing for WMI.
[  182.014360] legion_wmi 8FC0DE0C-B4E4-43FD-B0F3-8871711C1294: Register after probing for WMI.
[  182.014397] legion_laptop: Init keyboard backlight LED driver
[  182.014664] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  182.014887] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  182.014891] legion_laptop: Init Y-Logo LED driver
[  182.014965] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  182.015069] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  182.015071] legion_laptop: Init IO-Port LED driver
[  182.015147] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  182.015248] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  182.015251] legion PNP0C09:00: legion_laptop loaded for this device
[  280.842775] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  280.842827] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  280.842871] legion_laptop: ACPI result for 8C5B9127-ECD4-4657-980F-851019F99CA5:1: ACPI buffer length: 2
[  280.843184] legion_laptop: Unexpected value in MINIFANCURVE register:29
[  484.414166]  get_simple_wmi_attribute.constprop.0+0x4a/0xf0 [legion_laptop]
[  484.414189]  read_fanfullspeed+0xd2/0x110 [legion_laptop]
[  484.414218]  debugfs_fancurve_show+0xf68/0x11f0 [legion_laptop]
[  605.245633]  get_simple_wmi_attribute.constprop.0+0x4a/0xf0 [legion_laptop]
[  605.245655]  read_fanfullspeed+0xd2/0x110 [legion_laptop]
[  605.245675]  debugfs_fancurve_show+0xf68/0x11f0 [legion_laptop]
[  605.245979]  debugfs_fancurve_show+0x7f/0x11f0 [legion_laptop]

INFO:legion_linux.legion:Feature LockFanController with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/lockfancontroller and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/lockfancontroller
INFO:legion_linux.legion:Feature RapidChargingFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/rapidcharge and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/rapidcharge
INFO:legion_linux.legion:Feature BatteryConservation with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
INFO:legion_linux.legion:Feature MaximumFanSpeedFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/fan_fullspeed and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/fan_fullspeed
INFO:legion_linux.legion:Feature FnLockFeature with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/fn_lock and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/fn_lock
INFO:legion_linux.legion:Feature WinkeyFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/winkey and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/winkey
INFO:legion_linux.legion:Feature TouchpadFeature with pattern ['/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/touchpad', '/sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/touchpad'] and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/touchpad
INFO:legion_linux.legion:Feature CameraPowerFeature with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/camera_power and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/camera_power
INFO:legion_linux.legion:Feature OverdriveFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/overdrive and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/overdrive
INFO:legion_linux.legion:Feature GsyncFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gsync and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gsync
INFO:legion_linux.legion:Feature PlatformProfileFeature with pattern /sys/firmware/acpi/platform_profile and path /sys/firmware/acpi/platform_profile
INFO:legion_linux.legion:Feature StrFileFeature with pattern /sys/firmware/acpi/platform_profile_choices and path /sys/firmware/acpi/platform_profile_choices
INFO:legion_linux.legion:Feature IsOnPowerSupplyFeature with pattern /sys/class/power_supply/ADP0/online and path None
WARNING:legion_linux.legion:Feature IsOnPowerSupplyFeature exist not. exits: 0
INFO:legion_linux.legion:Feature AlwaysOnUSBChargingFeature with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/usb_charging and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/usb_charging
INFO:legion_linux.legion:Feature BatteryCurrentCapacityPercentage with pattern /sys/class/power_supply/BAT0/capacity and path None
WARNING:legion_linux.legion:Feature BatteryCurrentCapacityPercentage exist not. exits: 0
INFO:legion_linux.legion:Feature CPUOverclock with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_oc and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_oc
INFO:legion_linux.legion:Feature CPULongtermPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_longterm_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_longterm_powerlimit
INFO:legion_linux.legion:Feature CPUShorttermPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_shortterm_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_shortterm_powerlimit
INFO:legion_linux.legion:Feature CPUPeakPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_peak_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_peak_powerlimit
INFO:legion_linux.legion:Feature CPUDefaultPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_default_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_default_powerlimit
INFO:legion_linux.legion:Feature CPUCrossLoadingPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_cross_loading_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_cross_loading_powerlimit
INFO:legion_linux.legion:Feature CPUAPUSPPTPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_apu_sppt_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_apu_sppt_powerlimit
INFO:legion_linux.legion:Feature GPUOverclock with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_oc and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_oc
INFO:legion_linux.legion:Feature GPUBoostClock with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_boost_clock and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_boost_clock
INFO:legion_linux.legion:Feature GPUCTGPPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ctgp_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ctgp_powerlimit
INFO:legion_linux.legion:Feature GPUPPABPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ppab_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ppab_powerlimit
INFO:legion_linux.legion:Feature GPUTemperatureLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_temperature_limit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_temperature_limit
INFO:legion_linux.legion:Feature YLogoLight with pattern /sys/class/leds/platform::ylogo/brightness and path /sys/class/leds/platform::ylogo/brightness
INFO:legion_linux.legion:Feature IOPortLight with pattern /sys/class/leds/platform::ioport/brightness and path /sys/class/leds/platform::ioport/brightness
INFO:legion_linux.legion:CommandFeature PowerProfilesDeamonService: []
WARNING:legion_linux.legion:Feature PowerProfilesDeamonService exist not. exits: 0
INFO:legion_linux.legion:CommandFeature PowerProfilesDeamonService execute "systemctl status power-profiles-daemon"
INFO:legion_linux.legion:CommandFeature PowerProfilesDeamonService reading with code 0: ● power-profiles-daemon.service - Power Profiles daemon
     Loaded: loaded (/lib/systemd/system/power-profiles-daemon.service; enabled; preset: enabled)
     Active: active (running) since Thu 2023-08-17 05:44:47 EEST; 3h 11min ago
   Main PID: 1132 (power-profiles-)
      Tasks: 4 (limit: 38070)
     Memory: 1.4M
        CPU: 53ms
     CGroup: /system.slice/power-profiles-daemon.service
             └─1132 /usr/libexec/power-profiles-daemon

сер 17 05:44:47 k** systemd[1]: Starting power-profiles-daemon.service - Power Profiles daemon...
сер 17 05:44:47 k*** systemd[1]: Started power-profiles-daemon.service - Power Profiles daemon.

INFO:legion_linux.legion:CommandFeature LenovoLegionLaptopSuppoerService: []
WARNING:legion_linux.legion:Feature LenovoLegionLaptopSuppoerService exist not. exits: 0
INFO:legion_linux.legion:CommandFeature LenovoLegionLaptopSuppoerService execute "systemctl status legion-linux.service legion-linux.path"
INFO:legion_linux.legion:CommandFeature LenovoLegionLaptopSuppoerService reading with code 4: 
INFO:legion_linux.legion:Feature LegionGUIAutostart with pattern /root/.config and path None
WARNING:legion_linux.legion:Feature LegionGUIAutostart exist not. exits: 0
INFO:legion_linux.legion:Feature NVIDIAGPUIsRunning with pattern /sys/bus/pci/devices/0000:01:00.0/power/runtime_status and path /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
INFO:legion_linux.legion:Feature automatic_close setting to 0
INFO:legion_linux.legion:Feature close_to_tray setting to 0
INFO:legion_linux.legion:Feature open_closed_to_tray setting to 0
INFO:legion_linux.legion:No settings file exists.
INFO:legion_linux.legion:Feature LockFanController reading

@johnfanv2
Copy link
Owner

Sorry for the bug. While I fixed other stuff I introduced a bug that makes it hang. Please get the newest code, recompile, and reload the module (or reinstall if you use dkms). If reloading does not work or hangs, please do a restart.

@klmshrk
Copy link
Author

klmshrk commented Aug 17, 2023

@johnfanv2 sudo cat /sys/kernel/debug/legion/fancurve output

EC Chip ID: 8227
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: 61
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: 61
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 61
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: 1500
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: 1500
2 fanspeed error: 0
2 fanspeed: 1500
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1500
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: 1500
powermode access method: 3
powermode error: 0
powermode: 2
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 2
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: 0
WMI light IO port: 1
WMI light y logo/lid: 1
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
=====================

sensors

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +34.0°C  

legion_hwmon-isa-0000
Adapter: ISA adapter
Fan 1:              0 RPM  (Fan 1:           1500 RPM - with load)
Fan 2:              0 RPM  (Fan 2:           1500 RPM - with load)
CPU Temperature:  +57.0°C  
GPU Temperature:  +35.0°C  
IC Temperature:    +0.0°C  

ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

BAT1-acpi-0
Adapter: ACPI interface
in0:          16.33 V  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +53.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +45.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +48.0°C  (high = +100.0°C, crit = +100.0°C)
Core 8:        +46.0°C  (high = +100.0°C, crit = +100.0°C)
Core 12:       +47.0°C  (high = +100.0°C, crit = +100.0°C)
Core 16:       +47.0°C  (high = +100.0°C, crit = +100.0°C)
Core 20:       +46.0°C  (high = +100.0°C, crit = +100.0°C)
Core 24:       +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 25:       +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 26:       +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 27:       +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 28:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 29:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 30:       +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 31:       +50.0°C  (high = +100.0°C, crit = +100.0°C)

ucsi_source_psy_USBC000:002-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

nvme-pci-0600
Adapter: PCI adapter
Composite:    +42.9°C  (low  = -273.1°C, high = +75.8°C)
                       (crit = +86.8°C)
Sensor 1:     +42.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +38.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  (crit = +105.0°C)

Quick Test: Change Current Fan Curve from Hardware with hwmon

EC Chip ID: 8227
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: 55
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: 55
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 55
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: 0
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: 0
2 fanspeed error: 0
2 fanspeed: 0
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 0
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: 0
powermode access method: 3
powermode error: 0
powermode: 2
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 2
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: 0
WMI light IO port: 1
WMI light y logo/lid: 1
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
=====================

GUI

зображення

Creating and Setting your own Fan Curve with Script

MODEL
Legion Slim 5 16IRH8
BIOS
M2CN25WW

Using hwmon directory: /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/hwmon/hwmon6
Writing fancurve succesful!
EC Chip ID: 8227
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: 55
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: 55
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 55
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: 0
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: 0
2 fanspeed error: 0
2 fanspeed: 0
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 0
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: 0
powermode access method: 3
powermode error: 0
powermode: 2
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 2
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: 1
WMI light IO port: 2
WMI light y logo/lid: 2
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
=====================
Writing fancurve succesful!
MODEL
Legion Slim 5 16IRH8
BIOS
M2CN25WW
EC Chip ID: 8227
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: 55
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: 55
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 55
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: 0
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: 0
2 fanspeed error: 0
2 fanspeed: 0
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 0
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: 0
powermode access method: 3
powermode error: 0
powermode: 2
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 2
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: 1
WMI light IO port: 2
WMI light y logo/lid: 2
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
=====================

Powermode

We 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.
quite mode
sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
00000000  00 10 00 8d 00 00 00 08  01 40 90 40 00 11 57 00  |.........@.@..W.|
00000010  00 00 2e 29 2b 31 33 2f  00 20 03 00 40 62 00 c2  |...)+13/. ..@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 07 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 38  23 00 00 08 00 2a 00 78  |....@..8#....*.x|
000000b0  37 37 00 00 23 00 00 00  00 00 00 0f 00 42 00 00  |77..#........B..|
000000c0  00 00 bd 19 54 0f ca 3f  50 3c 40 1f 66 20 4f 1f  |....T..?P<@.f O.|
000000d0  00 00 00 00 9d 0e 66 20  3d 03 59 11 00 04 ec 56  |......f =.Y....V|
000000e0  00 00 00 f2 0f f2 0f f3  0f f4 0f 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 30 43  07 0d 00 ff ff 00 00 00  |......0C........|
00000100  01 65 1b 8a 11 0c 05 00  3a 00 37 3b 11 37 3b 11  |.e......:.7;.7;.|
00000110  37 3b 11 46 55 15 46 55  15 46 55 15 50 5a 18 52  |7;.FU.FU.FU.PZ.R|
00000120  63 18 5e 64 18 11 11 01  65 1b cc 11 10 00 00 3a  |c.^d....e......:|
00000130  00 37 3b 11 37 3b 11 37  3b 11 46 55 15 46 55 15  |.7;.7;.7;.FU.FU.|
00000140  46 55 15 50 5a 18 52 63  18 5e 64 18 11 11 00 00  |FU.PZ.Rc.^d.....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000600

sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
00000000  00 10 00 8d 00 00 00 08  01 40 90 40 00 11 57 00  |.........@.@..W.|
00000010  00 00 2d 29 2c 31 32 2f  00 20 03 00 40 62 00 c2  |..-),12/. ..@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 07 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 38  23 00 00 08 00 2a 00 78  |....@..8#....*.x|
000000b0  38 38 00 00 23 00 00 00  00 00 00 0f 00 42 00 00  |88..#........B..|
000000c0  00 00 bd 19 54 0f ca 3f  50 3c 40 1f 66 20 4f 1f  |....T..?P<@.f O.|
000000d0  00 00 00 00 9d 0e 66 20  3d 03 59 01 00 04 ec 56  |......f =.Y....V|
000000e0  00 00 00 f2 0f f2 0f f3  0f f4 0f 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 30 43  45 00 00 ff ff 00 00 00  |......0CE.......|
00000100  00 00 00 03 00 0f 05 00  3a 00 37 3b 11 37 3b 11  |........:.7;.7;.|
00000110  37 3b 11 46 55 15 46 55  15 46 55 15 50 5a 18 52  |7;.FU.FU.FU.PZ.R|
00000120  63 18 5e 64 18 00 00 00  00 00 03 00 13 00 00 3a  |c.^d...........:|
00000130  00 37 3b 11 37 3b 11 37  3b 11 46 55 15 46 55 15  |.7;.7;.7;.FU.FU.|
00000140  46 55 15 50 5a 18 52 63  18 5e 64 18 00 00 00 00  |FU.PZ.Rc.^d.....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300

sudo cat /sys/kernel/debug/legion/fancurve
EC Chip ID: 8227
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: 57
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: 57
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 57
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: 0
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: 0
2 fanspeed error: 0
2 fanspeed: 0
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 0
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: 0
powermode access method: 3
powermode error: 0
powermode: 1
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 1
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: 1
WMI light IO port: 2
WMI light y logo/lid: 2
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
=====================

balanced mode

sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
00000000  00 10 00 8d 00 00 00 08  01 40 90 00 00 11 57 00  |.........@....W.|
00000010  00 00 2d 29 2c 31 32 2f  00 20 03 00 40 62 00 c2  |..-),12/. ..@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 07 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 39  2c 00 00 08 00 2a 00 78  |....@..9,....*.x|
000000b0  38 38 00 00 31 00 00 00  00 00 00 0f 00 42 00 00  |88..1........B..|
000000c0  00 00 bd 19 54 0f ca 3f  50 3c 40 1f 66 20 4f 1f  |....T..?P<@.f O.|
000000d0  00 00 00 00 9d 0e 66 20  3d 03 59 01 00 04 ec 56  |......f =.Y....V|
000000e0  00 00 00 f2 0f f2 0f f3  0f f3 0f 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 30 43  2a 00 00 ff ff 00 00 00  |......0C*.......|
00000100  01 65 17 01 10 0d 05 00  4d 00 37 5a 15 50 5a 1d  |.e......M.7Z.PZ.|
00000110  50 5a 1d 50 5a 1d 50 5a  1d 50 5a 1d 50 5e 23 52  |PZ.PZ.PZ.PZ.P^#R|
00000120  63 23 5e 64 23 0f 0f 01  65 17 01 10 0d 00 00 4d  |c#^d#...e......M|
00000130  00 37 5a 15 50 5a 1d 50  5a 1d 50 5a 1d 50 5a 1d  |.7Z.PZ.PZ.PZ.PZ.|
00000140  50 5a 1d 50 5e 23 52 63  23 5e 64 23 0f 0f 00 00  |PZ.P^#Rc#^d#....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000600

sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
00000000  00 10 00 8d 00 00 00 08  01 40 90 00 00 11 57 00  |.........@....W.|
00000010  00 00 2f 2a 2b 32 32 2f  00 20 03 00 40 62 00 c2  |../*+22/. ..@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 07 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 39  2f 00 00 08 00 2a 00 78  |....@..9/....*.x|
000000b0  38 38 00 00 2f 00 00 00  00 00 00 0f 00 42 00 00  |88../........B..|
000000c0  00 00 bd 19 54 0f ca 3f  50 3c 40 1f 66 20 4f 1f  |....T..?P<@.f O.|
000000d0  00 00 00 00 9d 0e 66 20  3d 03 59 11 00 04 ec 56  |......f =.Y....V|
000000e0  00 00 00 f2 0f f2 0f f3  0f f4 0f 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 30 43  05 09 00 ff ff 00 00 00  |......0C........|
00000100  01 65 18 c9 0f 0e 05 00  4d 00 37 5a 15 50 5a 1d  |.e......M.7Z.PZ.|
00000110  50 5a 1d 50 5a 1d 50 5a  1d 50 5a 1d 50 5e 23 52  |PZ.PZ.PZ.PZ.P^#R|
00000120  63 23 5e 64 23 0f 0f 01  65 17 c5 0f 0f 00 00 4d  |c#^d#...e......M|
00000130  00 37 5a 15 50 5a 1d 50  5a 1d 50 5a 1d 50 5a 1d  |.7Z.PZ.PZ.PZ.PZ.|
00000140  50 5a 1d 50 5e 23 52 63  23 5e 64 23 0f 0f 00 00  |PZ.P^#Rc#^d#....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300

sudo cat /sys/kernel/debug/legion/fancurve
EC Chip ID: 8227
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: 54
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: 54
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 54
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: 1500
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: 1500
2 fanspeed error: 0
2 fanspeed: 1500
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1500
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: 1500
powermode access method: 3
powermode error: 0
powermode: 2
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 2
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: 1
WMI light IO port: 2
WMI light y logo/lid: 2
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
=====================

performance mode

sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
00000000  00 10 00 8d 00 00 00 08  01 40 90 20 00 11 57 00  |.........@. ..W.|
00000010  00 00 2f 2a 2c 30 31 2e  00 20 03 00 40 62 00 c2  |../*,01.. ..@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 07 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 37  23 00 00 08 00 2a 00 78  |....@..7#....*.x|
000000b0  38 38 00 00 23 00 00 00  00 00 00 0f 00 42 00 00  |88..#........B..|
000000c0  00 00 bd 19 54 0f ca 3f  50 3c 40 1f 66 20 4f 1f  |....T..?P<@.f O.|
000000d0  00 00 00 00 9d 0e 66 20  3d 03 59 11 00 04 ec 56  |......f =.Y....V|
000000e0  00 00 00 f2 0f f2 0f f3  0f f3 0f 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 30 43  07 0c 00 ff ff 00 00 00  |......0C........|
00000100  01 65 1e ab 13 02 05 00  3c 00 3a 50 1d 46 5e 2b  |.e......<.:P.F^+|
00000110  46 5e 2b 46 5e 2b 46 5e  2b 46 5e 2b 46 5e 2b 46  |F^+F^+F^+F^+F^+F|
00000120  63 2b 5e 64 2b 13 13 01  65 1e ad 13 02 00 00 3c  |c+^d+...e......<|
00000130  00 3a 50 1d 46 5e 2b 46  5e 2b 46 5e 2b 46 5e 2b  |.:P.F^+F^+F^+F^+|
00000140  46 5e 2b 46 5e 2b 46 63  2b 5e 64 2b 13 13 00 00  |F^+F^+Fc+^d+....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000600

sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
00000000  00 10 00 8d 00 00 00 08  01 40 90 20 00 11 57 00  |.........@. ..W.|
00000010  00 00 2e 2a 2c 30 30 2e  00 20 03 00 40 62 00 c2  |...*,00.. ..@b..|
00000020  e6 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 80 16 17 07 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 c8 40 00 00 35  23 00 00 08 00 2a 00 78  |....@..5#....*.x|
000000b0  33 33 00 00 23 00 00 00  00 00 00 0f 00 42 00 00  |33..#........B..|
000000c0  00 00 bd 19 54 0f c9 3f  50 3c 40 1f 66 20 4f 1f  |....T..?P<@.f O.|
000000d0  00 00 00 00 9d 0e 66 20  3d 03 59 01 00 04 ec 56  |......f =.Y....V|
000000e0  00 00 00 f2 0f f2 0f f3  0f f4 0f 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 30 43  57 00 00 ff ff 00 00 00  |......0CW.......|
00000100  01 65 1e 6a 13 07 05 00  3c 00 3a 50 1d 46 5e 2b  |.e.j....<.:P.F^+|
00000110  46 5e 2b 46 5e 2b 46 5e  2b 46 5e 2b 46 5e 2b 46  |F^+F^+F^+F^+F^+F|
00000120  63 2b 5e 64 2b 13 13 01  65 1e 6c 13 08 00 00 3c  |c+^d+...e.l....<|
00000130  00 3a 50 1d 46 5e 2b 46  5e 2b 46 5e 2b 46 5e 2b  |.:P.F^+F^+F^+F^+|
00000140  46 5e 2b 46 5e 2b 46 63  2b 5e 64 2b 13 13 00 00  |F^+F^+Fc+^d+....|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  01 01 01 01 a5 5a 11 00  00 00 00 00 00 00 00 00  |.....Z..........|
00000210  02 0c 0e 11 15 15 15 15  15 2a 00 00 00 00 00 00  |.........*......|
00000220  5a a5 00 00 00 00 00 00  00 00 00 59 b1 00 00 00  |Z..........Y....|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  01 23 00 00 00 00 00 20  04 00 02 00 00 00 00 00  |.#..... ........|
00000250  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  e7 db 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000300

sudo cat /sys/kernel/debug/legion/fancurve
EC Chip ID: 8227
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: 51
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: 51
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 51
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: 1900
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: 1900
2 fanspeed error: 0
2 fanspeed: 1900
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1900
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: 1900
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
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: 1
WMI light IO port: 2
WMI light y logo/lid: 2
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
=====================

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. -
guilog.txt

Fn Lock - works

Win Key - works

Touchpad - works

Battery Conservation - can't check (cause conservation enabled in windows)

Rapid Charging - later

Charge Output Always On - later (in a few days)

Display Overdrive

checkbox can be checked or not 

Keyboard Backlight

In 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

off

EC Chip ID: 8227
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: 45
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: 45
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 45
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: 1900
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: 1900
2 fanspeed error: 0
2 fanspeed: 1900
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1900
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: 1900
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
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: 0
WMI light IO port: 1
WMI light y logo/lid: 1
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
=====================
[ 2204.290673]   Arg0:   00000000154b7a02 <Obj>           Integer 0000000000000000
[ 2204.290685]   Arg1:   00000000fda2b3b0 <Obj>           Integer 0000000000000005
[ 2204.290692]   Arg2:   000000003ac3d120 <Obj>           Buffer(0)

[ 2204.290703] ACPI Error: Aborting method \_SB.GZFD.WMAB due to previous error (AE_AML_BUFFER_LIMIT) (20221020/psparse-529)
[ 2204.290716] legion_laptop: ACPI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:5
[ 2204.290720] legion_laptop fan table wmi buffer000000004f48cbee: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290723] legion_laptop fan table wmi buffer000000003bfedc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290726] legion_laptop fan table wmi buffer000000009a532fd6: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290728] legion_laptop fan table wmi buffer0000000012428770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290730] legion_laptop fan table wmi buffer00000000dd534600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290732] legion_laptop fan table wmi buffer00000000ab14954f: 00 00 00 00 00 00 00 00                          ........
[ 2204.290736] legion_laptop: Size of object: 48
[ 2204.290752] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [FID0] at bit offset/length 0/8 exceeds size of target Buffer (0 bits) (20221020/dsopcode-198)

[ 2204.290763] No Local Variables are initialized for Method [WMAB]

[ 2204.290766] Initialized Arguments for Method [WMAB]:  (3 arguments defined for method invocation)
[ 2204.290768]   Arg0:   000000003ac3d120 <Obj>           Integer 0000000000000000
[ 2204.290775]   Arg1:   00000000fda2b3b0 <Obj>           Integer 0000000000000005
[ 2204.290782]   Arg2:   00000000154b7a02 <Obj>           Buffer(0)

[ 2204.290791] ACPI Error: Aborting method \_SB.GZFD.WMAB due to previous error (AE_AML_BUFFER_LIMIT) (20221020/psparse-529)
[ 2204.290802] legion_laptop: ACPI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:5
[ 2204.290804] legion_laptop fan table wmi buffer00000000e8cc33a7: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290807] legion_laptop fan table wmi buffer0000000073c0ab17: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290809] legion_laptop fan table wmi buffer00000000ff4e3216: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290811] legion_laptop fan table wmi buffer000000005b5292f8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290813] legion_laptop fan table wmi buffer000000007b6065d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2204.290815] legion_laptop fan table wmi buffer00000000340d59f4: 00 00 00 00 00 00 00 00                          ........

medium

EC Chip ID: 8227
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: 46
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: 46
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 46
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: 0
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: 0
2 fanspeed error: 0
2 fanspeed: 0
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 0
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: 0
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
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: 1
WMI light IO port: 2
WMI light y logo/lid: 2
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
=====================
[ 2272.634793]   Arg0:   000000002c675f85 <Obj>           Integer 0000000000000000
[ 2272.634797]   Arg1:   00000000b2aa1c55 <Obj>           Integer 0000000000000005
[ 2272.634799]   Arg2:   00000000bca4104b <Obj>           Buffer(0)

[ 2272.634803] ACPI Error: Aborting method \_SB.GZFD.WMAB due to previous error (AE_AML_BUFFER_LIMIT) (20221020/psparse-529)
[ 2272.634807] legion_laptop: ACPI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:5
[ 2272.634808] legion_laptop fan table wmi buffer000000003c12a106: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634809] legion_laptop fan table wmi buffer00000000fc34d988: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634810] legion_laptop fan table wmi buffer0000000096976ea3: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634811] legion_laptop fan table wmi buffer00000000bf445ed2: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634812] legion_laptop fan table wmi buffer0000000042b8cf9d: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634812] legion_laptop fan table wmi buffer000000001bf60869: 00 00 00 00 00 00 00 00                          ........
[ 2272.634813] legion_laptop: Size of object: 48
[ 2272.634819] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [FID0] at bit offset/length 0/8 exceeds size of target Buffer (0 bits) (20221020/dsopcode-198)

[ 2272.634822] No Local Variables are initialized for Method [WMAB]

[ 2272.634823] Initialized Arguments for Method [WMAB]:  (3 arguments defined for method invocation)
[ 2272.634823]   Arg0:   00000000bca4104b <Obj>           Integer 0000000000000000
[ 2272.634825]   Arg1:   00000000b2aa1c55 <Obj>           Integer 0000000000000005
[ 2272.634828]   Arg2:   000000002c675f85 <Obj>           Buffer(0)

[ 2272.634830] ACPI Error: Aborting method \_SB.GZFD.WMAB due to previous error (AE_AML_BUFFER_LIMIT) (20221020/psparse-529)
[ 2272.634834] legion_laptop: ACPI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:5
[ 2272.634834] legion_laptop fan table wmi buffer0000000019d6f0a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634835] legion_laptop fan table wmi buffer00000000d1297638: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634836] legion_laptop fan table wmi buffer00000000c6192c62: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634836] legion_laptop fan table wmi buffer0000000075f9a255: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634837] legion_laptop fan table wmi buffer00000000880988b4: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2272.634838] legion_laptop fan table wmi buffer00000000772476e9: 00 00 00 00 00 00 00 00                          ........

bright

EC Chip ID: 8227
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: 50
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: 50
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 50
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: 0
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: 0
2 fanspeed error: 0
2 fanspeed: 0
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 0
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: 0
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
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: 2
WMI light IO port: 3
WMI light y logo/lid: 3
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
=====================
[ 2311.962575]   Arg0:   00000000d8f8a27a <Obj>           Integer 0000000000000000
[ 2311.962584]   Arg1:   000000002e78c2d7 <Obj>           Integer 0000000000000005
[ 2311.962589]   Arg2:   00000000e8048604 <Obj>           Buffer(0)

[ 2311.962597] ACPI Error: Aborting method \_SB.GZFD.WMAB due to previous error (AE_AML_BUFFER_LIMIT) (20221020/psparse-529)
[ 2311.962608] legion_laptop: ACPI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:5
[ 2311.962611] legion_laptop fan table wmi buffer00000000edbeaa11: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962614] legion_laptop fan table wmi buffer00000000279b1dce: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962615] legion_laptop fan table wmi buffer000000003d46b3df: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962617] legion_laptop fan table wmi buffer000000007543399b: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962619] legion_laptop fan table wmi buffer00000000cba35008: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962620] legion_laptop fan table wmi buffer0000000095282c51: 00 00 00 00 00 00 00 00                          ........
[ 2311.962623] legion_laptop: Size of object: 48
[ 2311.962636] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [FID0] at bit offset/length 0/8 exceeds size of target Buffer (0 bits) (20221020/dsopcode-198)

[ 2311.962644] No Local Variables are initialized for Method [WMAB]

[ 2311.962647] Initialized Arguments for Method [WMAB]:  (3 arguments defined for method invocation)
[ 2311.962648]   Arg0:   00000000e8048604 <Obj>           Integer 0000000000000000
[ 2311.962654]   Arg1:   000000002e78c2d7 <Obj>           Integer 0000000000000005
[ 2311.962659]   Arg2:   00000000d8f8a27a <Obj>           Buffer(0)

[ 2311.962666] ACPI Error: Aborting method \_SB.GZFD.WMAB due to previous error (AE_AML_BUFFER_LIMIT) (20221020/psparse-529)
[ 2311.962674] legion_laptop: ACPI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:5
[ 2311.962676] legion_laptop fan table wmi buffer00000000dfe3ba37: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962678] legion_laptop fan table wmi buffer000000004c8727d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962680] legion_laptop fan table wmi buffer0000000082ca11f6: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962681] legion_laptop fan table wmi buffer0000000023eb0365: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962683] legion_laptop fan table wmi buffer00000000806f3520: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[ 2311.962684] legion_laptop fan table wmi buffer000000008f219c03: 00 00 00 00 00 00 00 00                          ........

@class1c-j
Copy link

class1c-j commented Aug 17, 2023

Yeah, now it doesn't hang, but it still doesn't seem to be able to read the fancurve.
image

GUI Error at startup (note also the CPUOverclock reading error, that setting is red in the GUI):

INFO:legion_linux.legion:Feature CPUOverclock reading
ERROR:legion_linux.legion:Feature CPUOverclock reading error [Errno 22] Invalid argument
ERROR:legion_linux.legion:[  886.185900] legion_laptop fan table wmi buffer00000000500ccbd7: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185901] legion_laptop fan table wmi buffer00000000a6bd1d42: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185902] legion_laptop fan table wmi buffer000000002f4429b8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185903] legion_laptop fan table wmi buffer00000000d82cb37c: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185903] legion_laptop fan table wmi buffer000000001759e9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185904] legion_laptop fan table wmi buffer000000003b9c65a0: 00 00 00 00 00 00 00 00                          ........
[  886.185905] legion_laptop: Size of object: 48
[  886.185908] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [FID0] at bit offset/length 0/8 exceeds size of target Buffer (0 bits) (20230331/dsopcode-198)
[  886.185910] ACPI Error: Aborting method \_SB.GZFD.WMAB due to previous error (AE_AML_BUFFER_LIMIT) (20230331/psparse-529)
[  886.185912] legion_laptop: ACPI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:5
[  886.185913] legion_laptop fan table wmi buffer00000000d82cb37c: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185913] legion_laptop fan table wmi buffer000000001759e9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185914] legion_laptop fan table wmi buffer000000003b9c65a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185915] legion_laptop fan table wmi buffer00000000b076a8aa: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185915] legion_laptop fan table wmi buffer0000000004ee4cf7: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  886.185916] legion_laptop fan table wmi buffer00000000573eb7aa: 00 00 00 00 00 00 00 00                          ........
[ 1016.492592] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 1016.493100] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 1016.493238] legion_laptop: get_simple_wmi_attributewith raw value: 0
[ 1016.502075] legion_laptop: Unexpected ACPI result for 14afd777-106f-4c9b-b334-d388dc7809be:1: expected type 3 but got 1; expected length 16 but got 0;

Error occured [Errno 22] Invalid argument
Traceback (most recent call last):
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./legion_gui.py", line 205, in update_view_from_feature
    feature_value = self.feature.get()
                    ^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 297, in get
    invalue = self._read_file_int(self.filename)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 231, in _read_file_int
    return int(self._read_file_str(file_path))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 228, in _read_file_str
    raise err
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 222, in _read_file_str
    out = str(filepointer.read()).strip()
              ^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument

When I press the Read from HW button, the GUI exists with an error:

Traceback (most recent call last):
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./legion_gui.py", line 654, in on_read_fan_curve_from_hw
    self.model.read_fancurve_from_hw()
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 1396, in read_fancurve_from_hw
    self.fan_curve = self.fancurve_io.read_fan_curve()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 904, in read_fan_curve
    fan1_speed = self.get_fan_1_speed(point_id)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 810, in get_fan_1_speed
    return self._read_file(file_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 739, in _read_file
    return int(filepointer.read())
               ^^^^^^^^^^^^^^^^^^
OSError: [Errno 95] Operation not supported
Traceback (most recent call last):
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./legion_gui.py", line 654, in on_read_fan_curve_from_hw
    self.model.read_fancurve_from_hw()
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 1396, in read_fancurve_from_hw
    self.fan_curve = self.fancurve_io.read_fan_curve()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 904, in read_fan_curve
    fan1_speed = self.get_fan_1_speed(point_id)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 810, in get_fan_1_speed
    return self._read_file(file_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rm/Downloads/repos/LenovoLegionLinux/python/legion_linux/legion_linux/./../legion_linux/legion.py", line 739, in _read_file
    return int(filepointer.read())
               ^^^^^^^^^^^^^^^^^^
OSError: [Errno 95] Operation not supported
Aborted

@bagong
Copy link

bagong commented Aug 17, 2023 via email

@class1c-j
Copy link

class1c-j commented Aug 17, 2023

Are you using "sudo"? I only saw dark theme used when I had forgotten sudo.

@bagong It doesn't make a difference, as you can see from @klmshrk's comment, the fan curve is empty when running sudo cat /sys/kernel/debug/legion/fancurve. Here's the GUI with sudo:

image

@klmshrk
Copy link
Author

klmshrk commented Aug 25, 2023

@johnfanv2
Battery Conservation - works
Rapid Charging - works
fan curve still 0

If you need something, feel free to ask

@Antoine-TH0MAS
Copy link

I'm planning to buy a legion slim 5 I7 13700HX rtx 4060. I'm only interested in having the 3 different thermals modes. What actually works? Do you have any recommendations for setting up linux?

@class1c-j
Copy link

class1c-j commented Jan 17, 2024

I'm planning to buy a legion slim 5 I7 13700HX rtx 4060. I'm only interested in having the 3 different thermals modes. What actually works? Do you have any recommendations for setting up linux?

I have the same model but with rtx4070. Right now everything works as it should except for the fan curve control as discussed in this thread.

@Antoine-TH0MAS
Copy link

Thank you for responding so quickly. So the the thermal modes only change the voltage? What's controlling the fans?

Sorry if my question is dumb, this is my first gaming laptop.

@class1c-j
Copy link

Thank you for responding so quickly. So the the thermal modes only change the voltage? What's controlling the fans?

Sorry if my question is dumb, this is my first gaming laptop.

They do control the fans between the 3 presets. The issue with this module and gen 8 laptops is related to the fancurve, so you cannot edit how your fans behave beyond those three presets (quiet, balanced, performance), that is you can't adjust how fast they go for a given temperature range.
As I only use Linux for programming, I can't talk about gaming but it has not failed me yet with training deep learning models on the GPU with the balanced preset still keeping it cool to the touch.

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

5 participants