Git Product home page Git Product logo

johnfanv2 / lenovolegionlinux Goto Github PK

View Code? Open in Web Editor NEW
1.1K 16.0 48.0 4.83 MB

Driver and tools for controlling Lenovo Legion laptops in Linux including fan control and power mode.

Home Page: https://github.com/johnfanv2/LenovoLegionLinux

License: GNU General Public License v2.0

Makefile 1.73% C 53.99% Shell 7.59% Python 36.69%
battery charging conservation-mode fan-control gaming laptop lenovo lenovo-ideapad lenovo-legion linux

lenovolegionlinux's People

Contributors

abrifq avatar arashkongithub avatar arcticlampyrid avatar arttnba3 avatar aryn-27 avatar brainos233 avatar elgq avatar enverbalalic avatar hraj9258 avatar johnfanv2 avatar kiblyn11 avatar makru86 avatar masterkia avatar mrduartept avatar msmafra avatar normaneye avatar petingoso avatar rozwell avatar somso2e avatar st0nie avatar wseng avatar xenhat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lenovolegionlinux's Issues

[BUG] GUI Power Options aren't shown properly

Problem Descripition
It would seem that the "Power Options" GPU and CPU values are swapped around in the GUI:

image

Model and Debug Info

Distribution: Arch Linux
Model name: Lenovo Legion 5 Pro 16ach6h (Model 82JQ)
CPU model: AMD Ryzen 7 5800H
GPU model: NVIDIA RTX 3060
Keyboard backlight: RGB (firmware control, no iCUE required)
Light in lid or logo: Yes
Light at IO-Ports at back: No (?)

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

$ sudo dmidecode -t system | grep -v UUID | grep -v "Serial Number"
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 82JQ
        Version: Legion 5 Pro 16ACH6H
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_82JQ_BU_idea_FM_Legion 5 Pro 16ACH6H
        Family: Legion 5 Pro 16ACH6H

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

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

Output of sudo dmidecode -t bios:

$ sudo dmidecode -t system | grep -v UUID | grep -v "Serial Number"
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 82JQ
        Version: Legion 5 Pro 16ACH6H
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_82JQ_BU_idea_FM_Legion 5 Pro 16ACH6H
        Family: Legion 5 Pro 16ACH6H

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

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

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

EC Chip ID: 8227
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289482
temperature access method: 1
CPU temperature error: 0
CPU temperature: 45
CPU temperature EC error: 0
CPU temperature EC: 45
CPU temperature ACPI error: 0
CPU temperature ACPI: 45
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: 0
CPU temperature WMI2: 45
GPU temperature error: 0
GPU temperature: 0
GPU temperature EC error: 0
GPU temperature EC: 0
GPU temperature ACPI error: 0
GPU temperature ACPI: 0
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: 0
GPU temperature WMI2: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 1954
1 fanspeed EC error: 0
1 fanspeed EC: 1954
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 1900
1 fanspeed WMI error: 0
1 fanspeed WMI: 0
1 fanspeed WMI2 error: 0
1 fanspeed WMI2: 1900
2 fanspeed error: 0
2 fanspeed: 1942
2 fanspeed EC error: 0
2 fanspeed EC: 1942
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: 1900
powermode access method: 3
powermode error: 0
powermode: 255
powermode EC error: 0
powermode EC: 1
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 255
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 1
WMI backlight 2 state: 0
WMI backlight 3 state: 0
WMI light IO port: 0
WMI light y logo/lid: 0
EC minifancurve feature enabled: 1
EC minifancurve on cool: false
EC lockfancontroller error: 0
EC lockfancontroller: false
EC fanfullspeed error: false
EC fanfullspeed status: 0
EC fan curve current point id: 1
EC fan curve points size: 10
Current fan curve in hardware (embedded controller):
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0	 0	 2	 2	 0	 48	 0	 60	 0	 41
1700	 1900	 2	 2	 45	 54	 56	 60	 39	 44
1900	 2000	 2	 2	 51	 58	 56	 60	 42	 50
2200	 2100	 2	 2	 55	 62	 56	 60	 46	 127
2300	 2400	 2	 2	 59	 71	 56	 60	 127	 127
2600	 2700	 2	 2	 68	 76	 56	 65	 127	 127
2900	 3000	 2	 2	 72	 81	 61	 69	 127	 127
3500	 3500	 2	 2	 78	 90	 66	 77	 127	 127
3800	 3800	 2	 2	 87	 90	 72	 79	 127	 127
0	 0	 2	 2	 95	 127	 80	 127	 127	 127
=====================

[BUG] Error 2, build: No such file or directory when running make

Problem Descripition

problem when trying to run make

> make
make -C /lib/modules/6.2.9-arch1-1/build M=/home/arcus/temp/LenovoLegionLinux/kernel_module modules
make[1]: Entering directory '/home/arcus/temp/LenovoLegionLinux/kernel_module'
make[1]: *** /lib/modules/6.2.9-arch1-1/build: No such file or directory.  Stop.
make[1]: Leaving directory '/home/arcus/temp/LenovoLegionLinux/kernel_module'
make: *** [Makefile:13: all] Error 2

Model and Debug Info

Model name: 81LF Lenovo Legion Y7000P-1060

OS: Arch Linux x86_64

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

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.0.1 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 81LF
	Version: Lenovo Legion Y7000P-1060
	Serial Number: redacted
	UUID: redacted
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_81LF_BU_idea_FM_Legion Y7000P-1060
	Family: Legion Y7000P-1060

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

Handle 0x0024, 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 0x0031, DMI type 32, 11 bytes
System Boot Information
	Status: No errors detected

Output of sudo dmidecode -t bios:

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.0.1 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: LENOVO
	Version: 9VCN22WW
	Release Date: 11/30/2020
	Address: 0xE0000
	Runtime Size: 128 kB
	ROM Size: 10 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: 1.22
	Firmware Revision: 1.22

Handle 0x0020, 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:

> sudo cat /sys/kernel/debug/legion/fancurve
cat: /sys/kernel/debug/legion/fancurve: No such file or directory
``` because nothing is installed

Support for Legion 7 15IMH05 81YT005HMH (2020)

Is there any way to make this kernel module work on this device? When I try to test it, it's not in any of the lists, so I'm not sure if I should just install it with dkms and pray?

Model and Debug Info

Model name: Lenovo Legion 7 15IMH05 81YT005HMH
CPU model: Intel Core i7-10750H
GPU model: GeForce RTX 2070 SUPER Mobile / Max-Q
Keyboard backlight: CORSAIR iCUE RGB

Output of sudo dmidecode -t system.

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

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 81YT
        Version: Lenovo Legion 7 15IMH05
        Serial Number: XXXXXXXX
        UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_81YT_BU_idea_FM_Legion 7 15IMH05
        Family: Legion 7 15IMH05

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

Handle 0x0023, DMI type 15, 29 bytes
System Event Log
        Area Length: 0 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 0x0030, 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.2.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: LENOVO
        Version: E9CN66WW(V4.11)
        Release Date: 09/30/2022
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 12 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
                UEFI is supported
        BIOS Revision: 4.66
        Firmware Revision: 4.66

Handle 0x0020, 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

Fancurve doesn't change with Fn+Q, plus errors with certain parts of legion_gui.py

My fans are operating really slowly won't change no matter what fancurve preset i choose. As a result, my idle temperatures are high and no matter how intensive the activities i do are, the fans stay the same. I'm worried about potentially overheating. Fn+Q doesn't do anything to fix this. I've tried reinstalling the dkms module multiple times but it hasn't fixed it.

Furthermore, certain parts of legion_gui.py don't work properly, such as selecting "Custom mode", which just doesn't work, or pressing "Read from HW" or "Apply to HW" in power options which gives me the error message:

update_view_from_feature 0
INFO:legion_linux.legion:Feature GPUTemperatureLimit reading
ERROR:legion_linux.legion:Feature GPUTemperatureLimit reading error [Errno 22] Invalid argument
ERROR:legion_linux.legion:[ 2024.241208] legion_laptop: WMI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:8
[ 2024.256031] legion_laptop: WMI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:16
[ 2024.270992] legion_laptop: WMI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:12
[ 2024.285532] legion_laptop: ACPI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:5
[ 2024.299731] legion_laptop: ACPI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:3
[ 2024.314567] legion_laptop: WMI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:8
[ 2227.835253] legion_laptop: Set powermode
[ 2229.275963] legion_laptop: Set powermode
[ 2230.614935] legion_laptop: Set powermode
[ 2235.471046] legion_laptop: Set powermode
[ 2242.472359] legion_laptop: Set powermode
[ 2248.321086] legion_laptop: Set powermode
[ 2317.750510] legion_laptop: ACPI evaluation error for: 14afd777-106f-4c9b-b334-d388dc7809be:5
[ 2317.765876] legion_laptop: ACPI evaluation error for: 14afd777-106f-4c9b-b334-d388dc7809be:3
[ 2317.782352] legion_laptop: WMI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:8
[ 2317.798148] legion_laptop: WMI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:16
[ 2317.814549] legion_laptop: WMI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:12
[ 2317.830101] legion_laptop: ACPI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:5
[ 2317.846320] legion_laptop: ACPI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:3
[ 2317.862766] legion_laptop: WMI evaluation error for: da7547f1-824d-405f-be79-d9903e29ced7:8

Error occured [Errno 22] Invalid argument
Traceback (most recent call last):
  File "/home/donart/Documents/git/LenovoLegionLinux/python/legion_linux/legion_linux/legion_gui.py", line 290, in update_view_from_feature
    value = self.feature.get()
            ^^^^^^^^^^^^^^^^^^
  File "/home/donart/Documents/git/LenovoLegionLinux/python/legion_linux/legion_linux/../legion_linux/legion.py", line 226, in get
    return self._read_file_int(self.filename)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/donart/Documents/git/LenovoLegionLinux/python/legion_linux/legion_linux/../legion_linux/legion.py", line 143, in _read_file_int
    return int(self._read_file_str(file_path))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/donart/Documents/git/LenovoLegionLinux/python/legion_linux/legion_linux/../legion_linux/legion.py", line 140, in _read_file_str
    raise err
  File "/home/donart/Documents/git/LenovoLegionLinux/python/legion_linux/legion_linux/../legion_linux/legion.py", line 134, in _read_file_str
    out = str(filepointer.read()).strip()
              ^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument

Distro: Arch
Model name: Lenovo Legion 5P 15ARH05H
CPU model: AMD Ryzen 7 4800H
GPU model: NVIDIA RTX 2060
Keyboard backlight: off/medium/bright
Light in lid or logo: yes
Light at IO-Ports at back: yes

Output of sudo dmidecode -t system:

Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 82GU
	Version: Lenovo Legion 5P 15ARH05H
	Serial Number: 
	UUID: 
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_82GU_BU_idea_FM_Legion 5P 15ARH05H
	Family: Legion 5P 15ARH05H

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

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

Output of sudo dmidecode -t bios:

Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

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

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

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

EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289494
temperature access method: 1
CPU temperature error: 0
CPU temperature: 85
CPU temperature EC error: 0
CPU temperature EC: 85
CPU temperature ACPI error: 0
CPU temperature ACPI: 85
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: -14
CPU temperature WMI2: 0
GPU temperature error: 0
GPU temperature: 64
GPU temperature EC error: 0
GPU temperature EC: 64
GPU temperature ACPI error: 0
GPU temperature ACPI: 65
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: -14
GPU temperature WMI2: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 2065
1 fanspeed EC error: 0
1 fanspeed EC: 2065
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 2000
1 fanspeed WMI error: 0
1 fanspeed WMI: 2000
1 fanspeed WMI2 error: -14
1 fanspeed WMI2: 2000
2 fanspeed error: 0
2 fanspeed: 1942
2 fanspeed EC error: 0
2 fanspeed EC: 1942
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1900
2 fanspeed WMI error: 0
2 fanspeed WMI: 1900
2 fanspeed WMI2 error: -14
2 fanspeed WMI2: 1900
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 0
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: -5
WMI light IO port: -5
WMI light y logo/lid: -5
EC minifancurve feature enabled: 1
EC minifancurve on cool: false
EC lockfancontroller error: 0
EC lockfancontroller: false
EC fanfullspeed error: false
EC fanfullspeed status: 0
EC fan curve current point id: 3
EC fan curve points size: 4
Current fan curve in hardware (embedded controller):
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0	 0	 2	 2	 0	 127	 0	 127	 0	 36
1700	 1600	 2	 2	 127	 127	 127	 127	 33	 40
1800	 1800	 2	 2	 127	 127	 127	 127	 37	 44
2000	 1900	 2	 2	 127	 127	 127	 127	 41	 127
=====================

Lenovo Ideapad is supported?

I know it's not very appropriate to refer to this, sorry. But I am wondering if this tool would work on other models of lenovo laptops, I am thinking of trying it on my ideapad gaming 3i

Fan ids and fan speed points, kernel version and models

Hello there!

Looking at the setmyfancurve.sh and the python GUI, I got a bit confused about the number of speed points and fans.
In the bash script is 6 points and on the GUI is 10 points. So is 10 points the correct for both and all compatible Lenovo models? Should both point 0 and point 10 be set to 0?

On the case of the fans, in the bash script both times "fan" is referred as "first", and on the GUI both fields are identified as Fan 1. Looking at sensors on my machine, at least, there is Fan 1 and Fan 2, both with distinct speeds at the time I ran sensors. This brings me to another question: Are the the two fans for the whole system where they act on the highest temperature, despite being independently configurable, or one is for the CPU and the other for the GPU?

I'm testing it on a Lenovo Legion 5i (82CF, 5I-15IMH, model: LNVNB161216) with the latest BIOS EFCN58WW (2022-11-15) with a
Intel Core i7-10750H with GeForce RTX 2060 Mobile [NVIDIA TU106M], using Fedora 37 kernel 6.1.x and 6.2.x.cbl (cachyos kernels). Now I'm actually on Fedora 38 Beta with both Fedora's and CachyOS's kernels being from 6.2. But the question is if it can be used on all kernels, from 6.0 up, or just recommended to use on 6.1 for now?

Testing controlling light of Y-Logo in lid or light at IO-Ports (e.g. Legion 7) [looking for testers]

If you have a model with a light at the IO-ports at the back, a light in the Y-Logo in the lid, or another light in the lid please help to test this feature. Please provide the following information. It must be tested on multiple different models since I assume they have slightly different methods. I will first gather information from different models (see below), then implement it, and then ask you to test if it works.

Model and Debug Info

Model name: ???
CPU model: ??? (e.g. AMD Ryzen 7 5800H)
GPU model: ??? (e.g NVIDIA RTX 3700)
Keyboard backlight: ??? (RGB, single color with off/on, single color with off/medium/bright)
Light in lid or logo: ??? (yes/no)
Light at IO-Ports at back: ??? (yes/no)

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

???

Output of sudo dmidecode -t bios:

???

Test reading light state

Please pull the newest code, compile, and load the kernel module as described in the README, i.e. until the step sudo make reloadmodule.

IO-Port light

The light at the IO-ports can be turned on/off by pressing Fn+U (maybe other?).

  • Turn the light off.
  • Get output of sudo cat /sys/kernel/debug/legion/fancurve and copy here.
  • Get output of cat /sys/class/leds/platform\:\:ioport/brightness and copy here.
  • Turn the light on.
  • Get output of sudo cat /sys/kernel/debug/legion/fancurve and copy here.
  • Get output of cat /sys/class/leds/platform\:\:ioport/brightness and copy here.

Y-Logo/Lid light

The light can be turned on/off by pressing Fn+L (maybe other?).

  • Turn the light off
  • Get output of sudo cat /sys/kernel/debug/legion/fancurve and copy here.
  • Get output of cat /sys/class/leds/platform\:\:ylogo/brightness and copy here,
  • Turn the light on
  • Get output of sudo cat /sys/kernel/debug/legion/fancurve and copy here.
  • Gett output of cat /sys/class/leds/platform\:\:ylogo/brightness and copy here,

The following information would be useful but are optional

Inspecting WMI entries

# Install required tools
sudo apt install fwts

# Create folder for all the new files
mkdir fwts_re
cd fwts_re
sudo fwts wmi - > fwts_wmi.log

Then upload files.

Disassembling ACPI tables

# Install requiered tools
sudo apt install acpica-tools
# Create folder for all the new files
mkdir acpi_re
cd acpi_re

# List ACPI tables and copy them
ls /sys/firmware/acpi/tables/
sudo cp --no-preserve=mode /sys/firmware/acpi/tables/*SDT* .

# Disassemble tables to output DSDT.dsl
iasl -e SSDT* -d DSDT

Then upload files.

Gathering WMI info in Windows

If you have Windows, then the following information are very very useful to make use of the ACPI methods. If you do not have Windows, then just skip this. Open powershell as admin in Windows and run the following script. It will list all available lenovo WMI methods. Copy output to a file and upload.

$wmi_classes = Get-WmiObject -Namespace 'ROOT/WMI' -List -Class "*LENOVO*"
foreach ($wmi_class in $wmi_classes){
  Write-Host "########################################"
  Write-Host "########################################"
  Write-Host "########################################"
  Write-Host "Name:" $wmi_class.Name
  Write-Host "Class Name:" $wmi_class.Name 
  Write-Host "Class GUID:" $wmi_class.Qualifiers["guid"].Value
  Write-Host "Description:" $wmi_class.Methods.Count
  Write-Host "Methods:"
  foreach ($method in $wmi_class.Methods){
    Write-Host "Name:" $method.Name
    Write-Host "WmiMethodId:" $method.Qualifiers["WmiMethodId"].Value
    Write-Host "Class Name:" $wmi_class.Name 
    Write-Host "Class GUID:" $wmi_class.Qualifiers["guid"].Value
    Write-Host "Description:" $method.Qualifiers["Description"].Value
    Write-Host "Implemented:" $method.Qualifiers["Implemented"].Value
    Write-Host ""
  }
  Write-Host ""
}

Lenovo Legion 5/Y7000P 2019 support?

I'm using a legion 5/lenovo y7000p 2019 running Ubuntu 22.04LTS system. The EC chip id of the y7000p 2019 laptop differs from later model so it is not compatible. Is it possible for the LLL to support the Y7000P 2019 laptop?

dmesg output relating to the EC:

[ 3071.520260] legion PNP0C09:00: legion_laptop is forced to load.
[ 3071.520263] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
[ 3071.520267] legion PNP0C09:00: Using configuration for system: GKCN
[ 3071.520305] Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0xc400 (in EC) to virtual 0x0000000084b647aa
[ 3071.520668] legion PNP0C09:00: Read embedded controller ID 0x8226
[ 3071.520674] legion PNP0C09:00: Expected EC chip id 0x8227 but read 0x8226
[ 3071.520680] Unloading legion ecram
[ 3071.520684] Unmapping embedded controller memory at 0xfe00d400 (in RAM)/0xc400 (in EC) at virtual 0x0000000084b647aa

missing fan curve presets for GUI

Whenever I try to load a present from gui I get
File "/home/ms-dos/LenovoLegionLinux/python/legion_linux/legion.py", line 49, in load_from_file with open(filename, 'r', encoding=DEFAULT_ENCODING) as filepointer: FileNotFoundError: [Errno 2] No such file or directory: '/root/.config/legion_linux/performance-ac.yaml'
GUI tool ran with sudo.

edit: on GUI start I get this in terminal:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' Create path /root/.config/legion_linux

Sorry for a dumb question (I am new to this kind of stuff) but how do I get the curve presets after module install? It seems that my laptop works on 1/3 power of what it used to. I get 1/3 of hashrate on XMRig regardless of the power plan. I did all the quick tests and they all seemed to pass...
It seems that instead of spinning fans it throttling cpu down?

It seems better after the reset
My curve read out after hard reset(60 seconds power button method):

rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0 0 5 5 0 54 0 62 0 37
1500 1800 5 5 50 54 59 62 33 40
1600 2000 5 5 50 54 59 62 37 43
1700 2200 5 5 50 54 59 62 40 127
1900 2400 2 2 50 64 59 62 127 127
2400 2800 2 2 58 68 59 67 127 127
2600 3000 2 2 64 73 62 72 127 127
3300 3600 2 2 68 78 67 75 127 127
3300 3900 2 2 73 82 72 78 127 127
4500 4500 2 2 78 127 75 127 127 127

But still it seems as it throttling down instead of going over 60C temperature.
Running on:
Legion 5 17ITH6H (82JM002LRU)
BIOS: H1CN52WW
OS: Ubuntu 20.04

edit: As I understand those presets are the curves used by Fn+Q modes? When I press Fn + Q it seems that curve does not gets updated (I assume because those presets are missing?) I will try to look into the problem myself but please let me know if you know why this could be happening.

Legion S7-15ACH6 | Module fails to load on Nobara 37

Hello, thanks for the great project, I couldn't believe my eyes when I saw the post on r/LenovoLegion, and I hope mods will sticky your thread soon for more visibilty.

I have a Legion S7-15ACH6 - Type 82K8 aka 2021 Slim 7 that unfortunately has problems loading the module. I have tried the 'forceloadmodule' option mentioned in another thread here, but no luck. Let me know if you need any further details from me, glad to provide whatever you need.

LenovoLegionLinux/kernel_module on  main via C v12.2.1-gcc 
❯ make
make -C /lib/modules/6.1.6-203.fsync.fc37.x86_64/build M=/home/me/LenovoLegionLinux/kernel_module modules
make[1]: Entering directory '/usr/src/kernels/6.1.6-203.fsync.fc37.x86_64'
  CC [M]  /home/me/LenovoLegionLinux/kernel_module/legion-laptop.o
  MODPOST /home/me/LenovoLegionLinux/kernel_module/Module.symvers
  CC [M]  /home/me/LenovoLegionLinux/kernel_module/legion-laptop.mod.o
  LD [M]  /home/me/LenovoLegionLinux/kernel_module/legion-laptop.ko
  BTF [M] /home/me/LenovoLegionLinux/kernel_module/legion-laptop.ko
Skipping BTF generation for /home/me/LenovoLegionLinux/kernel_module/legion-laptop.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/kernels/6.1.6-203.fsync.fc37.x86_64'
LenovoLegionLinux/kernel_module on  main via C v12.2.1-gcc 
❯ ls -laFtrh
total 1.4M
-rw-r--r-- 1 me me  894 Jan 23 19:34 Makefile
-rw-r--r-- 1 me me 9.6K Jan 23 19:34 legion-laptop-unused-snippets.c
-rw-r--r-- 1 me me  87K Jan 23 19:34 legion-laptop.c
drwxr-xr-x 1 me me  348 Jan 23 19:34 ../
-rw-r--r-- 1 me me 474K Jan 24 12:01 legion-laptop.o
-rw-r--r-- 1 me me  47K Jan 24 12:01 .legion-laptop.o.cmd
-rw-r--r-- 1 me me  244 Jan 24 12:01 .legion-laptop.mod.cmd
-rw-r--r-- 1 me me   60 Jan 24 12:01 legion-laptop.mod
-rw-r--r-- 1 me me  201 Jan 24 12:01 .modules.order.cmd
-rw-r--r-- 1 me me   61 Jan 24 12:01 modules.order
-rw-r--r-- 1 me me  258 Jan 24 12:01 .Module.symvers.cmd
-rw-r--r-- 1 me me    0 Jan 24 12:01 Module.symvers
-rw-r--r-- 1 me me 1.2K Jan 24 12:01 legion-laptop.mod.c
-rw-r--r-- 1 me me  94K Jan 24 12:01 legion-laptop.mod.o
-rw-r--r-- 1 me me  38K Jan 24 12:01 .legion-laptop.mod.o.cmd
-rw-r--r-- 1 me me  337 Jan 24 12:01 .legion-laptop.ko.cmd
-rw-r--r-- 1 me me 565K Jan 24 12:01 legion-laptop.ko
drwxr-xr-x 1 me me  582 Jan 24 12:01 ./
LenovoLegionLinux/kernel_module on  main via C v12.2.1-gcc 
❯ sudo make reloadmodule
[sudo] password for me: 
rmmod legion-laptop.ko || true
rmmod: ERROR: Module legion_laptop is not currently loaded
insmod legion-laptop.ko
...
[  366.773137] legion_laptop 0.1 starts loading
[  366.773141] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82K8; DMI_BIOS_VERSION:HACN39WW
[  366.773196] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[  366.773198] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82K8; DMI_BIOS_VERSION:HACN39WW
[  366.773201] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0
[  366.773202] legion PNP0C09:00: Module not useable for this laptop because it is not in allowlist. Notify maintainer if you want to add your device or force load with param force.
[  366.773204] legion PNP0C09:00: legion_laptop not loaded for this device
[  366.773238] legion: probe of PNP0C09:00 failed with error -12
LenovoLegionLinux/kernel_module on  main via C v12.2.1-gcc 
❯ sudo make forcereloadmodule
rmmod legion-laptop.ko || true
insmod legion-laptop.ko force=1
...
[  366.773137] legion_laptop 0.1 starts loading
[  366.773141] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82K8; DMI_BIOS_VERSION:HACN39WW
[  366.773196] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[  366.773198] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82K8; DMI_BIOS_VERSION:HACN39WW
[  366.773201] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0
[  366.773202] legion PNP0C09:00: Module not useable for this laptop because it is not in allowlist. Notify maintainer if you want to add your device or force load with param force.
[  366.773204] legion PNP0C09:00: legion_laptop not loaded for this device
[  366.773238] legion: probe of PNP0C09:00 failed with error -12
[  398.045427] legion_laptop 0.1 starts unloading
[  398.045456] legion_laptop 0.1 unloaded
[  398.067961] legion_laptop 0.1 starts loading
[  398.067965] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82K8; DMI_BIOS_VERSION:HACN39WW
[  398.068016] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[  398.068019] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82K8; DMI_BIOS_VERSION:HACN39WW
[  398.068022] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
[  398.068025] legion PNP0C09:00: legion_laptop is forced to load.
[  398.068027] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
[  398.068046] Succeffuly mapped embedded controller: 0xfe00d400 to virtual 0x0000000006fd8256
[  398.068100] legion PNP0C09:00: Expected EC chip id 0x8227 but read 0x5576
[  398.068103] Unloading legion ecram
[  398.068104] Unmapping embedded controller memory at 0xfe00d400 at virtual 0x0000000006fd8256
[  398.068106] Unloading legion ecram done
[  398.068108] Unloading legion shared
[  398.068109] Unloading legion shared done
[  398.068110] legion PNP0C09:00: legion_laptop not loaded for this device
[  398.068150] legion: probe of PNP0C09:00 failed with error -12

Info about the system:

Top of 'dmesg'

[    0.000000] Linux version 6.1.6-203.fsync.fc37.x86_64 (mockbuild@dd663ccef6e54b6aafb53127d00e9c61) (gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4), GNU ld version 2.38-25.fc37) #1 SMP PREEMPT_DYNAMIC TKG Thu Jan 19 19:16:07 UTC 2023
[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.1.6-203.fsync.fc37.x86_64 root=UUID=xxx ro rootflags=subvol=@ rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
❯ inxi -xzF
System:
  Kernel: 6.1.6-203.fsync.fc37.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.38-25.fc37 Desktop: GNOME v: 43.2 Distro: Nobara release 37 (Thirty
    Seven)
Machine:
  Type: Laptop System: LENOVO product: 82K8 v: Legion S7 15ACH6
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76461WIN
    serial: <superuser required> UEFI: LENOVO v: HACN39WW date: 09/21/2022
Battery:
  ID-1: BAT0 charge: 27.7 Wh (38.5%) condition: 72.0/71.0 Wh (101.4%)
    volts: 15.4 min: N/A model: SMP L20M4PD3 status: charging
CPU:
  Info: 6-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 1427 high: 3200 min/max: 1200/4462 boost: disabled
    cores: 1: 1200 2: 1200 3: 3200 4: 1395 5: 1200 6: 1200 7: 1743 8: 1200
    9: 1198 10: 1200 11: 1198 12: 1200 bogomips: 76662
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 525.85.05 arch: Ampere bus-ID: 01:00.0
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5.1 bus-ID: 05:00.0
    temp: 42.0 C
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-3:2
  Display: wayland server: X.Org v: 22.1.7 with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: fbdev,modesetting,nouveau,vesa dri: radeonsi gpu: amdgpu
    resolution: 1920x1080~165Hz
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.6 DRM 3.49 6.1.6-203.fsync.fc37.x86_64) direct render: Yes
Audio:
  Device-1: NVIDIA GA106 High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    bus-ID: 05:00.5
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 05:00.6
  Sound API: ALSA v: k6.1.6-203.fsync.fc37.x86_64 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.64 running: yes
Network:
  Device-1: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtw89_8852ae v: kernel port: 2000 bus-ID: 02:00.0
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-3:3
  Report: rfkill ID: hci0 rfk-id: 4 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 288.5 GiB (60.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L2
    size: 476.94 GiB temp: 33.9 C
Partition:
  ID-1: / size: 475.35 GiB used: 288.18 GiB (60.6%) fs: btrfs dev: /dev/dm-0
    mapped: luks-xxx
  ID-2: /boot size: 973.4 MiB used: 317.3 MiB (32.6%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 17.3 MiB (2.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.35 GiB used: 288.18 GiB (60.6%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-xxx
Swap:
  ID-1: swap-1 type: zram size: 13 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 402 Uptime: 24m Memory: 14.99 GiB used: 3.58 GiB (23.9%)
  Init: systemd target: graphical (5) Compilers: gcc: 12.2.1 Packages: 20
  note: see --rpm Shell: Bash v: 5.2.15 inxi: 3.3.24
❯ sudo lshw
[sudo] password for me: 
nob                    
    description: Notebook
    product: 82K8 (LENOVO_MT_82K8_BU_idea_FM_Legion S7 15ACH6)
    vendor: LENOVO
    version: Legion S7 15ACH6
    serial: xxx
    width: 64 bits
    capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32
    configuration: administrator_password=disabled boot=normal chassis=notebook family=Legion S7 15ACH6 frontpanel_password=disabled keyboard_password=disabled power-on_password=disabled sku=LENOVO_MT_82K8_BU_idea_FM_Legion S7 15ACH6 uuid=xxx
  *-core
       description: Motherboard
       product: LNVNB161216
       vendor: LENOVO
       physical id: 0
       version: SDK0T76461WIN
       serial: xxx
       slot: Base Board Chassis Location
     *-cpu
          description: CPU
          product: AMD Ryzen 7 5800H with Radeon Graphics
          vendor: Advanced Micro Devices [AMD]
          physical id: 6
          bus info: cpu@0
          version: AMD Ryzen 7 5800H with Radeon Graphics
          serial: Null
          slot: FP6
          size: 2553MHz
          capacity: 4462MHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm cpufreq
          configuration: cores=8 enabledcores=8 threads=16
     *-firmware
          description: BIOS
          vendor: LENOVO
          physical id: d
          version: HACN39WW
          date: 09/21/2022
          size: 128KiB
          capacity: 16MiB
          capabilities: acpi usb biosbootspecification netboot uefi

Energy Curve Control

Hello. I have a lenovo legion s7 16arha7 laptop. I wanted to manage power consumption settings to reduce heat and improve battery life. Is it possible now? If not, what can I do to help make this possible?

Lenovo legion 7i 16ithg6

I don't know how to post this correctly, but I have the Legion 7i from 2021 and have packaged it for nixos. From some initial testing everything seems to work, even the battery conservation setting which I've been looking for since switching over to Linux.

If you want more info let me know and I'll post whatever.

Model and Debug Info

Model name: Lenovo legion 7i 16ithg6
CPU model: Core i9-11980HK
GPU model: NVIDIA GeForce RTX 3080 Laptop GPU
Keyboard backlight: RGB

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

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

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 82K6
	Version: Legion 7 16ITHg6
	Serial Number: XXXXXX
	UUID: XXXXX
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_82K6_BU_idea_FM_Legion 7 16ITHg6
	Family: Legion 7 16ITHg6

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

Handle 0x0023, 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 0x0030, 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.3.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
	Vendor: LENOVO
	Version: H1CN35WW
	Release Date: 09/01/2021
	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: 1.35
	Firmware Revision: 1.35

Handle 0x0021, 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:

EC Chip ID: 8227
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
minifancurve feature enabled: 1
minifancurve on cool: true
lock fan controller: false
enable maximumfanspeed: false
enable maximumfanspeed status: 0
fan curve current point id: 6
fan curve points size: 8
Current fan curve in hardware (embedded controller):
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0	0	2	2	0	48	0	60	0	38
1700	1900	2	2	46	48	56	60	35	41
1900	2000	2	2	46	48	56	60	39	45
2100	2200	2	2	46	55	56	60	42	127
2300	2400	2	2	49	64	56	60	127	127
2600	2700	2	2	58	66	56	63	127	127
3000	2800	2	2	63	69	61	65	127	127
3600	3400	2	2	67	127	64	127	127	127
=====================

[BUG] Module loaded and sensors found but no "/sys/kernel/debug/legion/fancurve"

Problem Descripition
As per the title - kernel module seems to load properly:

[ 1374.716146] legion_laptop starts loading
[ 1374.716199] legion PNP0C09:00: legion_laptop platform driver probing
[ 1374.716201] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82JY; DMI_BIOS_VERSION:GKCN59WW
[ 1374.716203] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82JY; DMI_BIOS_VERSION:GKCN59WW
[ 1374.716204] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[ 1374.716206] legion PNP0C09:00: Using configuration for system: GKCN
[ 1374.716254] legion PNP0C09:00: Read embedded controller ID 0x8227
[ 1374.716255] legion PNP0C09:00: Creating debugfs inteface
[ 1374.716260] Creating sysfs inteface
[ 1374.716262] Creating hwmon interface
[ 1374.716309] Creating platform profile support
[ 1374.716312] Init WMI driver support
[ 1374.716330] legion_wmi 887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[ 1374.716356] legion_wmi BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[ 1374.716366] legion_wmi BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[ 1374.716374] legion_wmi D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[ 1374.716381] legion_wmi BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[ 1374.716389] legion_wmi 10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[ 1374.716396] legion_wmi D320289E-8FEA-41E0-86F9-611D83151B5F: Register after probing for WMI.
[ 1374.716420] legion PNP0C09:00: legion_laptop loaded for this device

and sensors are also found:

$ sensors
legion_hwmon-isa-0000
Adapter: ISA adapter
Fan 1:           1760 RPM
Fan 2:           1972 RPM
CPU Temperature:  +40.0°C  
GPU Temperature:  +37.0°C  
IC Temperature:   +40.0°C  

BAT0-acpi-0
Adapter: ACPI interface
in0:          17.12 V  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +40.4°C  

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:            N/A  

but:

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

Model and Debug Info

Model name: Legion 5
CPU model: AMD Ryzen 7 5800H
GPU model: NVIDIA GeForce RTX 3070 Laptop GPU
Keyboard backlight: single color with off/medium/bright
Light in lid or logo: no
Light at IO-Ports at back: not sure - just a small white LED where the power plug goes (if that's what's meant here)

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

# dmidecode -t system
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 82JY
        Version: Legion 5 17ACH6H
        Serial Number: 
        UUID: 
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_82JY_BU_idea_FM_Legion 5 17ACH6H
        Family: Legion 5 17ACH6H

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

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

Output of sudo dmidecode -t bios:

# dmidecode -t bios
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: LENOVO
        Version: GKCN59WW
        Release Date: 11/21/2022
        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: 1.59
        Firmware Revision: 1.59

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

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

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

Nice work!!!

this work is excellent!!!
it works good on my computer.
below is computer configuration:
Lenovo Legion R9000K2021H
AMD® Ryzen 9 5900hx with radeon graphics × 16
NVIDIA Corporation GA104M [GeForce RTX 3080 MobileNVIDIA-SMI 525.85.05
Ubuntu 22.04.1 LTS 64-bit

Lenovo Legion 5 15ARH05 Support

Problem Descripition
Proof of the software working with the model

Model and Debug Info

Distribution: Ubuntu 22.04.2 LTS
Model name: Lenovo Legion 5 15ARH05
CPU model: AMD Ryzen 5 4600H
GPU model: NVIDIA GTX 1650
Keyboard backlight: single color with off/medium/bright
Light in lid or logo: no
Light at IO-Ports at back: yes

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

Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 82B5
	Version: Lenovo Legion 5 15ARH05
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_82B5_BU_idea_FM_Legion 5 15ARH05
	Family: Legion 5 15ARH05

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

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

Output of sudo dmidecode -t bios:

Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

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

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

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

EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289494
temperature access method: 1
CPU temperature error: 0
CPU temperature: 66
CPU temperature EC error: 0
CPU temperature EC: 66
CPU temperature ACPI error: 0
CPU temperature ACPI: 66
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: -14
CPU temperature WMI2: 0
CPU temperature WMI3 error: -14
CPU temperature WMI3: 0
GPU temperature error: 0
GPU temperature: 52
GPU temperature EC error: 0
GPU temperature EC: 52
GPU temperature ACPI error: 0
GPU temperature ACPI: 52
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: -14
GPU temperature WMI2: 0
GPU temperature WMI3 error: -14
GPU temperature WMI3: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 2566
1 fanspeed EC error: 0
1 fanspeed EC: 2566
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 2500
1 fanspeed WMI error: 0
1 fanspeed WMI: 2500
1 fanspeed WMI2 error: -14
1 fanspeed WMI2: 2500
1 fanspeed WMI3 error: -14
1 fanspeed WMI3: 2500
2 fanspeed error: 0
2 fanspeed: 2695
2 fanspeed EC error: 0
2 fanspeed EC: 2695
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 2600
2 fanspeed WMI error: 0
2 fanspeed WMI: 2600
2 fanspeed WMI2 error: -14
2 fanspeed WMI2: 2600
2 fanspeed WMI3 error: -14
2 fanspeed WMI3: 2600
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 17
powermode ACPI error: -5
powermode ACPI: 82676736
powermode WMI error: 0
powermode WMI: 3
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: -5
WMI light IO port: -5
WMI light y logo/lid: -5
EC minifancurve feature enabled: 1
EC minifancurve on cool: true
EC lockfancontroller error: 0
EC lockfancontroller: false
EC fanfullspeed error: false
EC fanfullspeed status: 0
EC fan curve current point id: 3
EC fan curve points size: 10
Current fan curve in hardware:
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0	 0	 2	 2	 0	 59	 0	 54	 0	 38
1700	 1600	 2	 2	 55	 59	 51	 54	 35	 42
2000	 1900	 2	 2	 55	 59	 51	 54	 39	 127
2100	 2100	 2	 2	 55	 72	 51	 54	 39	 127
2300	 2300	 2	 2	 67	 76	 51	 54	 39	 127
2600	 2600	 2	 2	 73	 82	 51	 54	 39	 127
2900	 2900	 2	 2	 76	 87	 51	 58	 39	 127
3500	 3500	 2	 2	 83	 92	 55	 66	 39	 127
3800	 3800	 2	 2	 88	 96	 63	 70	 39	 127
4400	 4400	 2	 2	 93	 127	 67	 127	 39	 127
=====================
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
=====================

legion_hwmon-isa-0000 CPU temp 0%

Hi, First of all, I want to thank you for this wonderful tool
After installation everything works as expected except cpu temperature
FAN speed react/trigger only on GPU temp or IC Temp

OS Manjaro
System: LENOVO 82JF [Legion 5 Pro 16ITH6] (laptop)
Board: LENOVO LNVNB161216
Kernel: 5.15.89-1-MANJARO x86_64
Processor: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (6/141/1)


outpu sensors command coretemp-isa-0000 Adapter: ISA adapter

Package id 0: +76.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +60.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +58.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +76.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +57.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +61.0°C (high = +100.0°C, crit = +100.0°C)
Core 5: +63.0°C (high = +100.0°C, crit = +100.0°C)
Core 6: +59.0°C (high = +100.0°C, crit = +100.0°C)
Core 7: +60.0°C (high = +100.0°C, crit = +100.0°C)

legion_hwmon-isa-0000
Adapter: ISA adapter
Fan 1: 2081 RPM
Fan 2: 2081 RPM
CPU Temperature: +0.0°C
GPU Temperature: +59.0°C
IC Temperature: +55.0°C

nvme-pci-0200
Adapter: PCI adapter
Composite: +52.9°C (low = -0.1°C, high = +82.8°C)
(crit = +83.8°C)
Sensor 1: +45.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +46.9°C (low = -273.1°C, high = +65261.8°C)

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

BAT0-acpi-0
Adapter: ACPI interface
in0: 17.40 V

nvme-pci-5700
Adapter: PCI adapter
Composite: +41.9°C (low = -273.1°C, high = +81.8°C)
(crit = +84.8°C)
Sensor 1: +41.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +43.9°C (low = -273.1°C, high = +65261.8°C)

output sudo dmesg `command` ```

[ 0.000000] microcode: microcode updated early to revision 0x42, date = 2022-06-28

[ 0.000000] Linux version 5.15.89-1-MANJARO (builduser@fv-az617-851) (gcc (GCC) 12.2.1 20230111, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT Wed Jan 18 20:37:11 UTC 2023
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=0279c67c-0706-4286-9458-b82d2df620c3 rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
[ 0.000000] x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[5]: 832, xstate_sizes[5]: 64
[ 0.000000] x86/fpu: xstate_offset[6]: 896, xstate_sizes[6]: 512
[ 0.000000] x86/fpu: xstate_offset[7]: 1408, xstate_sizes[7]: 1024
[ 0.000000] x86/fpu: xstate_offset[9]: 2432, xstate_sizes[9]: 8
[ 0.000000] x86/fpu: Enabled xstate features 0x2e7, context size is 2440 bytes, using 'compacted' format.
[ 0.000000] signal: max sigframe size: 3632
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000039f98fff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000039f99000-0x000000003a898fff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000003a899000-0x00000000434aefff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000434af000-0x000000004387efff] type 20
[ 0.000000] BIOS-e820: [mem 0x000000004387f000-0x00000000452fefff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000452ff000-0x0000000045b2efff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x0000000045b2f000-0x0000000045bfefff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x0000000045bff000-0x0000000045bfffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000045c00000-0x0000000049ffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000004a200000-0x000000004a3fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000004b000000-0x00000000503fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fe010000-0x00000000fe010fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed20000-0x00000000fed7ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000004afbfffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] efi: EFI v2.70 by INSYDE Corp.
[ 0.000000] efi: ACPI=0x45bfe000 ACPI 2.0=0x45bfe014 TPMFinalLog=0x45a85000 SMBIOS=0x439e1000 SMBIOS 3.0=0x439df000 MEMATTR=0x3f285018 ESRT=0x3f284a98
[ 0.000000] SMBIOS 3.3.0 present.
[ 0.000000] DMI: LENOVO 82JF/LNVNB161216, BIOS H1CN51WW 10/08/2022
[ 0.000000] tsc: Detected 2300.000 MHz processor
[ 0.000000] tsc: Detected 2304.000 MHz TSC
[ 0.000005] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000007] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000012] last_pfn = 0x4afc00 max_arch_pfn = 0x400000000
[ 0.000174] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.001161] last_pfn = 0x45c00 max_arch_pfn = 0x400000000
[ 0.008659] esrt: Reserving ESRT space from 0x000000003f284a98 to 0x000000003f284b48.
[ 0.008663] e820: update [mem 0x3f284000-0x3f284fff] usable ==> reserved
[ 0.008675] Using GB pages for direct mapping
[ 0.008858] Secure boot disabled
[ 0.008858] RAMDISK: [mem 0x358b3000-0x36c50fff]
[ 0.008862] ACPI: Early table checksum verification disabled
[ 0.008865] ACPI: RSDP 0x0000000045BFE014 000024 (v02 LENOVO)
[ 0.008867] ACPI: XSDT 0x0000000045BCC188 000114 (v01 LENOVO CB-01 00000001 01000013)
[ 0.008872] ACPI: FACP 0x0000000045BCE000 000114 (v06 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008875] ACPI: DSDT 0x0000000045B7B000 04F496 (v02 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008878] ACPI: FACS 0x0000000045A62000 000040
[ 0.008880] ACPI: UEFI 0x0000000045B2E000 000236 (v01 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008882] ACPI: SSDT 0x0000000045BFA000 00255C (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008884] ACPI: SSDT 0x0000000045BEF000 00ADEF (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008886] ACPI: SSDT 0x0000000045BEB000 0034DA (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008888] ACPI: SSDT 0x0000000045BE7000 003300 (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008890] ACPI: SSDT 0x0000000045BDB000 00B47C (v02 INTEL TcssSsdt 00001000 INTL 20160422)
[ 0.008892] ACPI: SSDT 0x0000000045BDA000 00077B (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008894] ACPI: TPM2 0x0000000045BD9000 00004C (v04 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008896] ACPI: MSDM 0x0000000045BD8000 000055 (v03 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008898] ACPI: SSDT 0x0000000045BD7000 000D8B (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008900] ACPI: NHLT 0x0000000045BD6000 00002D (v00 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008902] ACPI: SSDT 0x0000000045BD5000 000E3E (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008904] ACPI: LPIT 0x0000000045BD4000 0000CC (v01 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008906] ACPI: WSMT 0x0000000045BD3000 000028 (v01 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008908] ACPI: SSDT 0x0000000045BD2000 000B70 (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008910] ACPI: SSDT 0x0000000045BD1000 00012A (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008912] ACPI: DBGP 0x0000000045BD0000 000034 (v01 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008914] ACPI: DBG2 0x0000000045BCF000 000054 (v00 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008916] ACPI: HPET 0x0000000045BCD000 000038 (v01 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008917] ACPI: APIC 0x0000000045BFD000 00012C (v04 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008919] ACPI: MCFG 0x0000000045BCB000 00003C (v01 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008921] ACPI: DMAR 0x0000000045B7A000 0000B8 (v02 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008923] ACPI: SSDT 0x0000000045B6F000 00AC13 (v01 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008925] ACPI: SSDT 0x0000000045B6E000 00005C (v02 LENOVO CB-01 00000001 INTL 20160527)
[ 0.008927] ACPI: SSDT 0x0000000045B6D000 000142 (v02 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008929] ACPI: SSDT 0x0000000045B6C000 0000F8 (v01 LENOVO CB-01 00000001 INTL 20160422)
[ 0.008931] ACPI: FPDT 0x0000000045B6B000 000044 (v01 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008933] ACPI: PTDT 0x0000000045B69000 000CFE (v00 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008935] ACPI: BGRT 0x0000000045B6A000 000038 (v01 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.008937] ACPI: Reserving FACP table memory at [mem 0x45bce000-0x45bce113]
[ 0.008938] ACPI: Reserving DSDT table memory at [mem 0x45b7b000-0x45bca495]
[ 0.008938] ACPI: Reserving FACS table memory at [mem 0x45a62000-0x45a6203f]
[ 0.008939] ACPI: Reserving UEFI table memory at [mem 0x45b2e000-0x45b2e235]
[ 0.008939] ACPI: Reserving SSDT table memory at [mem 0x45bfa000-0x45bfc55b]
[ 0.008940] ACPI: Reserving SSDT table memory at [mem 0x45bef000-0x45bf9dee]
[ 0.008940] ACPI: Reserving SSDT table memory at [mem 0x45beb000-0x45bee4d9]
[ 0.008941] ACPI: Reserving SSDT table memory at [mem 0x45be7000-0x45bea2ff]
[ 0.008941] ACPI: Reserving SSDT table memory at [mem 0x45bdb000-0x45be647b]
[ 0.008942] ACPI: Reserving SSDT table memory at [mem 0x45bda000-0x45bda77a]
[ 0.008942] ACPI: Reserving TPM2 table memory at [mem 0x45bd9000-0x45bd904b]
[ 0.008943] ACPI: Reserving MSDM table memory at [mem 0x45bd8000-0x45bd8054]
[ 0.008943] ACPI: Reserving SSDT table memory at [mem 0x45bd7000-0x45bd7d8a]
[ 0.008944] ACPI: Reserving NHLT table memory at [mem 0x45bd6000-0x45bd602c]
[ 0.008944] ACPI: Reserving SSDT table memory at [mem 0x45bd5000-0x45bd5e3d]
[ 0.008945] ACPI: Reserving LPIT table memory at [mem 0x45bd4000-0x45bd40cb]
[ 0.008945] ACPI: Reserving WSMT table memory at [mem 0x45bd3000-0x45bd3027]
[ 0.008946] ACPI: Reserving SSDT table memory at [mem 0x45bd2000-0x45bd2b6f]
[ 0.008946] ACPI: Reserving SSDT table memory at [mem 0x45bd1000-0x45bd1129]
[ 0.008947] ACPI: Reserving DBGP table memory at [mem 0x45bd0000-0x45bd0033]
[ 0.008947] ACPI: Reserving DBG2 table memory at [mem 0x45bcf000-0x45bcf053]
[ 0.008948] ACPI: Reserving HPET table memory at [mem 0x45bcd000-0x45bcd037]
[ 0.008948] ACPI: Reserving APIC table memory at [mem 0x45bfd000-0x45bfd12b]
[ 0.008949] ACPI: Reserving MCFG table memory at [mem 0x45bcb000-0x45bcb03b]
[ 0.008949] ACPI: Reserving DMAR table memory at [mem 0x45b7a000-0x45b7a0b7]
[ 0.008950] ACPI: Reserving SSDT table memory at [mem 0x45b6f000-0x45b79c12]
[ 0.008950] ACPI: Reserving SSDT table memory at [mem 0x45b6e000-0x45b6e05b]
[ 0.008951] ACPI: Reserving SSDT table memory at [mem 0x45b6d000-0x45b6d141]
[ 0.008951] ACPI: Reserving SSDT table memory at [mem 0x45b6c000-0x45b6c0f7]
[ 0.008952] ACPI: Reserving FPDT table memory at [mem 0x45b6b000-0x45b6b043]
[ 0.008953] ACPI: Reserving PTDT table memory at [mem 0x45b69000-0x45b69cfd]
[ 0.008953] ACPI: Reserving BGRT table memory at [mem 0x45b6a000-0x45b6a037]
[ 0.009146] No NUMA configuration found
[ 0.009147] Faking a node at [mem 0x0000000000000000-0x00000004afbfffff]
[ 0.009149] NODE_DATA(0) allocated [mem 0x4afbfc000-0x4afbfffff]
[ 0.009170] Zone ranges:
[ 0.009171] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.009172] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.009173] Normal [mem 0x0000000100000000-0x00000004afbfffff]
[ 0.009175] Device empty
[ 0.009175] Movable zone start for each node
[ 0.009176] Early memory node ranges
[ 0.009176] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.009177] node 0: [mem 0x0000000000100000-0x0000000039f98fff]
[ 0.009178] node 0: [mem 0x000000003a899000-0x00000000434aefff]
[ 0.009178] node 0: [mem 0x0000000045bff000-0x0000000045bfffff]
[ 0.009179] node 0: [mem 0x0000000100000000-0x00000004afbfffff]
[ 0.009180] Initmem setup node 0 [mem 0x0000000000001000-0x00000004afbfffff]
[ 0.009183] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.009199] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.010249] On node 0, zone DMA32: 2304 pages in unavailable ranges
[ 0.010301] On node 0, zone DMA32: 10064 pages in unavailable ranges
[ 0.030825] On node 0, zone Normal: 9216 pages in unavailable ranges
[ 0.030832] On node 0, zone Normal: 1024 pages in unavailable ranges
[ 0.030869] Reserving Intel graphics memory at [mem 0x4c800000-0x503fffff]
[ 0.031444] ACPI: PM-Timer IO Port: 0x1808
[ 0.031450] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[ 0.031451] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[ 0.031451] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[ 0.031452] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[ 0.031452] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[ 0.031453] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[ 0.031453] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[ 0.031453] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[ 0.031454] ACPI: LAPIC_NMI (acpi_id[0x09] high edge lint[0x1])
[ 0.031454] ACPI: LAPIC_NMI (acpi_id[0x0a] high edge lint[0x1])
[ 0.031455] ACPI: LAPIC_NMI (acpi_id[0x0b] high edge lint[0x1])
[ 0.031455] ACPI: LAPIC_NMI (acpi_id[0x0c] high edge lint[0x1])
[ 0.031456] ACPI: LAPIC_NMI (acpi_id[0x0d] high edge lint[0x1])
[ 0.031456] ACPI: LAPIC_NMI (acpi_id[0x0e] high edge lint[0x1])
[ 0.031456] ACPI: LAPIC_NMI (acpi_id[0x0f] high edge lint[0x1])
[ 0.031457] ACPI: LAPIC_NMI (acpi_id[0x10] high edge lint[0x1])
[ 0.031495] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119
[ 0.031497] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.031498] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.031501] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.031501] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.031507] e820: update [mem 0x3f235000-0x3f274fff] usable ==> reserved
[ 0.031514] TSC deadline timer available
[ 0.031515] smpboot: Allowing 16 CPUs, 0 hotplug CPUs
[ 0.031526] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.031527] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]
[ 0.031529] PM: hibernation: Registered nosave memory: [mem 0x39f99000-0x3a898fff]
[ 0.031530] PM: hibernation: Registered nosave memory: [mem 0x3f235000-0x3f274fff]
[ 0.031531] PM: hibernation: Registered nosave memory: [mem 0x3f284000-0x3f284fff]
[ 0.031531] PM: hibernation: Registered nosave memory: [mem 0x434af000-0x4387efff]
[ 0.031532] PM: hibernation: Registered nosave memory: [mem 0x4387f000-0x452fefff]
[ 0.031532] PM: hibernation: Registered nosave memory: [mem 0x452ff000-0x45b2efff]
[ 0.031533] PM: hibernation: Registered nosave memory: [mem 0x45b2f000-0x45bfefff]
[ 0.031534] PM: hibernation: Registered nosave memory: [mem 0x45c00000-0x49ffffff]
[ 0.031534] PM: hibernation: Registered nosave memory: [mem 0x4a000000-0x4a1fffff]
[ 0.031535] PM: hibernation: Registered nosave memory: [mem 0x4a200000-0x4a3fffff]
[ 0.031535] PM: hibernation: Registered nosave memory: [mem 0x4a400000-0x4affffff]
[ 0.031535] PM: hibernation: Registered nosave memory: [mem 0x4b000000-0x503fffff]
[ 0.031536] PM: hibernation: Registered nosave memory: [mem 0x50400000-0xbfffffff]
[ 0.031536] PM: hibernation: Registered nosave memory: [mem 0xc0000000-0xcfffffff]
[ 0.031537] PM: hibernation: Registered nosave memory: [mem 0xd0000000-0xfe00ffff]
[ 0.031537] PM: hibernation: Registered nosave memory: [mem 0xfe010000-0xfe010fff]
[ 0.031538] PM: hibernation: Registered nosave memory: [mem 0xfe011000-0xfed1ffff]
[ 0.031538] PM: hibernation: Registered nosave memory: [mem 0xfed20000-0xfed7ffff]
[ 0.031538] PM: hibernation: Registered nosave memory: [mem 0xfed80000-0xfeffffff]
[ 0.031539] PM: hibernation: Registered nosave memory: [mem 0xff000000-0xffffffff]
[ 0.031540] [mem 0x50400000-0xbfffffff] available for PCI devices
[ 0.031540] Booting paravirtualized kernel on bare hardware
[ 0.031543] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[ 0.034908] setup_percpu: NR_CPUS:320 nr_cpumask_bits:320 nr_cpu_ids:16 nr_node_ids:1
[ 0.035160] percpu: Embedded 61 pages/cpu s212992 r8192 d28672 u262144
[ 0.035165] pcpu-alloc: s212992 r8192 d28672 u262144 alloc=1*2097152
[ 0.035166] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15
[ 0.035185] Built 1 zonelists, mobility grouping on. Total pages: 4074001
[ 0.035186] Policy zone: Normal
[ 0.035187] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=0279c67c-0706-4286-9458-b82d2df620c3 rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
[ 0.035240] Unknown kernel command line parameters "splash BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64", will be passed to user space.
[ 0.035715] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[ 0.035962] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.036151] mem auto-init: stack:byref_all(zero), heap alloc:on, heap free:off
[ 0.067323] Memory: 16078624K/16555320K available (16392K kernel code, 2086K rwdata, 10936K rodata, 2016K init, 3656K bss, 476436K reserved, 0K cma-reserved)
[ 0.067812] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[ 0.067833] ftrace: allocating 44488 entries in 174 pages
[ 0.082471] ftrace: allocated 174 pages with 5 groups
[ 0.082592] rcu: Preemptible hierarchical RCU implementation.
[ 0.082593] rcu: RCU dyntick-idle grace-period acceleration is enabled.
[ 0.082593] rcu: RCU restricting CPUs from NR_CPUS=320 to nr_cpu_ids=16.
[ 0.082594] rcu: RCU priority boosting: priority 1 delay 500 ms.
[ 0.082594] Trampoline variant of Tasks RCU enabled.
[ 0.082595] Rude variant of Tasks RCU enabled.
[ 0.082595] Tracing variant of Tasks RCU enabled.
[ 0.082596] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[ 0.082596] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[ 0.085146] NR_IRQS: 20736, nr_irqs: 2184, preallocated irqs: 16
[ 0.085530] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[ 0.085569] Console: colour dummy device 80x25
[ 0.085578] printk: console [tty0] enabled
[ 0.085603] ACPI: Core revision 20210730
[ 0.085857] hpet: HPET dysfunctional in PC10. Force disabled.
[ 0.085858] APIC: Switch to symmetric I/O mode setup
[ 0.085859] DMAR: Host address width 39
[ 0.085860] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.085863] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[ 0.085864] DMAR: DRHD base: 0x000000fed84000 flags: 0x0
[ 0.085867] DMAR: dmar1: reg_base_addr fed84000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.085869] DMAR: DRHD base: 0x000000fed86000 flags: 0x0
[ 0.085872] DMAR: dmar2: reg_base_addr fed86000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.085873] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.085877] DMAR: dmar3: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.085879] DMAR: RMRR base: 0x0000004c000000 end: 0x000000503fffff
[ 0.085880] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 3
[ 0.085881] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.085882] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.087916] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.087918] x2apic enabled
[ 0.087960] Switched APIC routing to cluster x2apic.
[ 0.092526] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2135f7c97c8, max_idle_ns: 440795273205 ns
[ 0.092531] Calibrating delay loop (skipped), value calculated using timer frequency.. 4609.00 BogoMIPS (lpj=7680000)
[ 0.092533] pid_max: default: 32768 minimum: 301
[ 0.094228] LSM: Security Framework initializing
[ 0.094232] landlock: Up and running.
[ 0.094233] Yama: becoming mindful.
[ 0.094259] AppArmor: AppArmor initialized
[ 0.094334] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.094359] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.094643] CPU0: Thermal monitoring enabled (TM1)
[ 0.094645] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[ 0.094737] process: using mwait in idle threads
[ 0.094738] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.094738] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.094741] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.094742] Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
[ 0.094743] Spectre V2 : Mitigation: Enhanced IBRS
[ 0.094743] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.094744] Spectre V2 : Spectre v2 / PBRSB-eIBRS: Retire a single CALL on VMEXIT
[ 0.094745] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.094746] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[ 0.095863] Freeing SMP alternatives memory: 36K
[ 0.095863] smpboot: Estimated ratio of average max frequency by base frequency (times 1024): 2003
[ 0.095863] smpboot: CPU0: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (family: 0x6, model: 0x8d, stepping: 0x1)
[ 0.095863] Performance Events: PEBS fmt4+-baseline, AnyThread deprecated, Icelake events, 32-deep LBR, full-width counters, Intel PMU driver.
[ 0.095863] ... version: 5
[ 0.095863] ... bit width: 48
[ 0.095863] ... generic registers: 8
[ 0.095863] ... value mask: 0000ffffffffffff
[ 0.095863] ... max period: 00007fffffffffff
[ 0.095863] ... fixed-purpose events: 4
[ 0.095863] ... event mask: 0001000f000000ff
[ 0.095863] rcu: Hierarchical SRCU implementation.
[ 0.095863] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 0.095863] smp: Bringing up secondary CPUs ...
[ 0.095863] x86: Booting SMP configuration:
[ 0.095863] .... node #0, CPUs: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 #15
[ 0.125919] smp: Brought up 1 node, 16 CPUs
[ 0.125919] smpboot: Max logical packages: 1
[ 0.125919] smpboot: Total of 16 processors activated (73757.00 BogoMIPS)
[ 0.129740] devtmpfs: initialized
[ 0.129740] x86/mm: Memory block size: 128MB
[ 0.129977] ACPI: PM: Registering ACPI NVS region [mem 0x452ff000-0x45b2efff] (8585216 bytes)
[ 0.129977] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.129977] futex hash table entries: 4096 (order: 6, 262144 bytes, linear)
[ 0.129977] pinctrl core: initialized pinctrl subsystem
[ 0.129977] PM: RTC time: 12:09:37, date: 2023-02-03
[ 0.130017] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.130183] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.130270] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.130356] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.130365] audit: initializing netlink subsys (disabled)
[ 0.130369] audit: type=2000 audit(1675426177.036:1): state=initialized audit_enabled=0 res=1
[ 0.130369] thermal_sys: Registered thermal governor 'fair_share'
[ 0.130369] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.130369] thermal_sys: Registered thermal governor 'step_wise'
[ 0.130369] thermal_sys: Registered thermal governor 'user_space'
[ 0.130369] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.130369] cpuidle: using governor ladder
[ 0.130369] cpuidle: using governor menu
[ 0.130369] HugeTLB: can free 4094 vmemmap pages for hugepages-1048576kB
[ 0.130369] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[ 0.130369] ACPI: bus type PCI registered
[ 0.130369] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.130369] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xc0000000-0xcfffffff] (base 0xc0000000)
[ 0.130369] PCI: MMCONFIG at [mem 0xc0000000-0xcfffffff] reserved in E820
[ 0.130369] PCI: Using configuration type 1 for base access
[ 0.130369] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[ 0.133204] Kprobes globally optimized
[ 0.133206] HugeTLB: can free 6 vmemmap pages for hugepages-2048kB
[ 0.133206] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.133206] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.133206] ACPI: Added _OSI(Module Device)
[ 0.133206] ACPI: Added _OSI(Processor Device)
[ 0.133206] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.133206] ACPI: Added OSI(Processor Aggregator Device)
[ 0.133206] ACPI: Added OSI(Linux-Dell-Video)
[ 0.133206] ACPI: Added OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.133206] ACPI: Added OSI(Linux-HPI-Hybrid-Graphics)
[ 0.191253] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0], AE_NOT_FOUND (20210730/dswload2-162)
[ 0.191257] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210730/psobject-220)
[ 0.191259] ACPI: Skipping parse of AML opcode: Scope (0x0010)
[ 0.191512] ACPI: 15 ACPI AML tables successfully acquired and loaded
[ 0.202726] ACPI: Dynamic OEM Table Load:
[ 0.202733] ACPI: SSDT 0xFFFF9D6C40293000 0001C6 (v02 PmRef Cpu0Psd 00003000 INTL 20160422)
[ 0.203375] ACPI: _SB
.PR00: OSC native thermal LVT Acked
[ 0.204117] ACPI: Dynamic OEM Table Load:
[ 0.204121] ACPI: SSDT 0xFFFF9D6C41ED6000 000386 (v02 PmRef Cpu0Cst 00003001 INTL 20160422)
[ 0.204894] ACPI: Dynamic OEM Table Load:
[ 0.204898] ACPI: SSDT 0xFFFF9D6C427FC800 00051E (v02 PmRef Cpu0Ist 00003000 INTL 20160422)
[ 0.205737] ACPI: Dynamic OEM Table Load:
[ 0.205741] ACPI: SSDT 0xFFFF9D6C41ED6400 00028B (v02 PmRef Cpu0Hwp 00003000 INTL 20160422)
[ 0.206658] ACPI: Dynamic OEM Table Load:
[ 0.206663] ACPI: SSDT 0xFFFF9D6C40123000 0008E7 (v02 PmRef ApIst 00003000 INTL 20160422)
[ 0.207550] ACPI: Dynamic OEM Table Load:
[ 0.207553] ACPI: SSDT 0xFFFF9D6C427FA800 00048A (v02 PmRef ApHwp 00003000 INTL 20160422)
[ 0.208363] ACPI: Dynamic OEM Table Load:
[ 0.208366] ACPI: SSDT 0xFFFF9D6C427FB800 0004D4 (v02 PmRef ApPsd 00003000 INTL 20160422)
[ 0.209161] ACPI: Dynamic OEM Table Load:
[ 0.209165] ACPI: SSDT 0xFFFF9D6C427FE800 00048A (v02 PmRef ApCst 00003000 INTL 20160422)
[ 0.214571] ACPI: EC: EC started
[ 0.214571] ACPI: EC: interrupt blocked
[ 0.269396] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.269398] ACPI: _SB
.PC00.LPCB.EC0
: Boot DSDT EC used to handle transactions
[ 0.269400] ACPI: Interpreter enabled
[ 0.269477] ACPI: PM: (supports S0 S3 S4 S5)
[ 0.269478] ACPI: Using IOAPIC for interrupt routing
[ 0.269537] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.270359] ACPI: Enabled 9 GPEs in block 00 to 7F
[ 0.271840] ACPI: PM: Power Resource [PG01]
[ 0.304827] ACPI: PM: Power Resource [BTRT]
[ 0.312726] ACPI: PM: Power Resource [V0PR]
[ 0.312830] ACPI: PM: Power Resource [V1PR]
[ 0.312933] ACPI: PM: Power Resource [V2PR]
[ 0.316273] ACPI: PM: Power Resource [WRST]
[ 0.316446] ACPI: PM: Power Resource [TBT0]
[ 0.316454] ACPI: PM: Power Resource [TBT1]
[ 0.316462] ACPI: PM: Power Resource [D3C]
[ 0.552460] ACPI: PM: Power Resource [PIN]
[ 0.552750] ACPI: PCI Root Bridge [PC00] (domain 0000 [bus 00-fe])
[ 0.552755] acpi PNP0A08:00: OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[ 0.554454] acpi PNP0A08:00: OSC: platform does not support [AER]
[ 0.557593] acpi PNP0A08:00: OSC: OS now controls [PCIeHotplug SHPCHotplug PME PCIeCapability LTR DPC]
[ 0.557594] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[ 0.560695] PCI host bridge to bus 0000:00
[ 0.560696] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.560697] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.560698] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 0.560699] pci_bus 0000:00: root bus resource [mem 0x50400000-0xbfffffff window]
[ 0.560700] pci_bus 0000:00: root bus resource [mem 0x4000000000-0x7fffffffff window]
[ 0.560701] pci_bus 0000:00: root bus resource [bus 00-fe]
[ 0.561702] pci 0000:00:00.0: [8086:9a36] type 00 class 0x060000
[ 0.564740] pci 0000:00:01.0: [8086:9a01] type 01 class 0x060400
[ 0.564797] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[ 0.564819] pci 0000:00:01.0: PTM enabled (root), 4ns granularity
[ 0.567209] pci 0000:00:02.0: [8086:9a60] type 00 class 0x030000
[ 0.567217] pci 0000:00:02.0: reg 0x10: [mem 0x612c000000-0x612cffffff 64bit]
[ 0.567222] pci 0000:00:02.0: reg 0x18: [mem 0x4000000000-0x400fffffff 64bit pref]
[ 0.567225] pci 0000:00:02.0: reg 0x20: [io 0x5000-0x503f]
[ 0.567238] pci 0000:00:02.0: BAR 2: assigned to efifb
[ 0.567239] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[ 0.567241] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.567265] pci 0000:00:02.0: reg 0x344: [mem 0x00000000-0x00ffffff 64bit]
[ 0.567266] pci 0000:00:02.0: VF(n) BAR0 space: [mem 0x00000000-0x06ffffff 64bit] (contains BAR0 for 7 VFs)
[ 0.567269] pci 0000:00:02.0: reg 0x34c: [mem 0x00000000-0x1fffffff 64bit pref]
[ 0.567270] pci 0000:00:02.0: VF(n) BAR2 space: [mem 0x00000000-0xdfffffff 64bit pref] (contains BAR2 for 7 VFs)
[ 0.569353] pci 0000:00:04.0: [8086:9a03] type 00 class 0x118000
[ 0.569370] pci 0000:00:04.0: reg 0x10: [mem 0x612d180000-0x612d19ffff 64bit]
[ 0.571601] pci 0000:00:06.0: [8086:9a0f] type 01 class 0x060400
[ 0.571674] pci 0000:00:06.0: PME# supported from D0 D3hot D3cold
[ 0.571705] pci 0000:00:06.0: PTM enabled (root), 4ns granularity
[ 0.574090] pci 0000:00:07.0: [8086:9a2b] type 01 class 0x060400
[ 0.574153] pci 0000:00:07.0: PME# supported from D0 D3hot D3cold
[ 0.574174] pci 0000:00:07.0: DPC: RP PIO log size 0 is invalid
[ 0.576787] pci 0000:00:07.2: [8086:9a2f] type 01 class 0x060400
[ 0.576851] pci 0000:00:07.2: PME# supported from D0 D3hot D3cold
[ 0.576872] pci 0000:00:07.2: DPC: RP PIO log size 0 is invalid
[ 0.578518] pci 0000:00:0a.0: [8086:9a0d] type 00 class 0x118000
[ 0.578525] pci 0000:00:0a.0: reg 0x10: [mem 0x612d1b0000-0x612d1b7fff 64bit]
[ 0.578545] pci 0000:00:0a.0: enabling Extended Tags
[ 0.581570] pci 0000:00:0d.0: [8086:9a17] type 00 class 0x0c0330
[ 0.581583] pci 0000:00:0d.0: reg 0x10: [mem 0x612d1a0000-0x612d1affff 64bit]
[ 0.581640] pci 0000:00:0d.0: PME# supported from D3hot D3cold
[ 0.583923] pci 0000:00:0d.2: [8086:9a1f] type 00 class 0x0c0340
[ 0.583934] pci 0000:00:0d.2: reg 0x10: [mem 0x612d140000-0x612d17ffff 64bit]
[ 0.583941] pci 0000:00:0d.2: reg 0x18: [mem 0x612d1cb000-0x612d1cbfff 64bit]
[ 0.583973] pci 0000:00:0d.2: supports D1 D2
[ 0.583974] pci 0000:00:0d.2: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.586044] pci 0000:00:0d.3: [8086:9a21] type 00 class 0x0c0340
[ 0.586054] pci 0000:00:0d.3: reg 0x10: [mem 0x612d100000-0x612d13ffff 64bit]
[ 0.586061] pci 0000:00:0d.3: reg 0x18: [mem 0x612d1ca000-0x612d1cafff 64bit]
[ 0.586093] pci 0000:00:0d.3: supports D1 D2
[ 0.586094] pci 0000:00:0d.3: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.588206] pci 0000:00:14.0: [8086:43ed] type 00 class 0x0c0330
[ 0.588223] pci 0000:00:14.0: reg 0x10: [mem 0x6c580000-0x6c58ffff 64bit]
[ 0.588295] pci 0000:00:14.0: PME# supported from D3hot D3cold
[ 0.589603] pci 0000:00:14.2: [8086:43ef] type 00 class 0x050000
[ 0.589623] pci 0000:00:14.2: reg 0x10: [mem 0x612d1c0000-0x612d1c3fff 64bit]
[ 0.589637] pci 0000:00:14.2: reg 0x18: [mem 0x612d1c9000-0x612d1c9fff 64bit]
[ 0.592716] pci 0000:00:14.3: [8086:43f0] type 00 class 0x028000
[ 0.592737] pci 0000:00:14.3: reg 0x10: [mem 0x612d1bc000-0x612d1bffff 64bit]
[ 0.592863] pci 0000:00:14.3: PME# supported from D0 D3hot D3cold
[ 0.595043] pci 0000:00:15.0: [8086:43e8] type 00 class 0x0c8000
[ 0.595065] pci 0000:00:15.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.597424] pci 0000:00:15.1: [8086:43e9] type 00 class 0x0c8000
[ 0.597452] pci 0000:00:15.1: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.599803] pci 0000:00:15.2: [8086:43ea] type 00 class 0x0c8000
[ 0.599827] pci 0000:00:15.2: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.602128] pci 0000:00:16.0: [8086:43e0] type 00 class 0x078000
[ 0.602149] pci 0000:00:16.0: reg 0x10: [mem 0x612d1c5000-0x612d1c5fff 64bit]
[ 0.602229] pci 0000:00:16.0: PME# supported from D3hot
[ 0.604538] pci 0000:00:17.0: [8086:43d3] type 00 class 0x010601
[ 0.604554] pci 0000:00:17.0: reg 0x10: [mem 0x6c590000-0x6c591fff]
[ 0.604563] pci 0000:00:17.0: reg 0x14: [mem 0x6c594000-0x6c5940ff]
[ 0.604573] pci 0000:00:17.0: reg 0x18: [io 0x5080-0x5087]
[ 0.604583] pci 0000:00:17.0: reg 0x1c: [io 0x5088-0x508b]
[ 0.604592] pci 0000:00:17.0: reg 0x20: [io 0x5060-0x507f]
[ 0.604602] pci 0000:00:17.0: reg 0x24: [mem 0x6c593000-0x6c5937ff]
[ 0.604646] pci 0000:00:17.0: PME# supported from D3hot
[ 0.607098] pci 0000:00:1d.0: [8086:43b0] type 01 class 0x060400
[ 0.607206] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[ 0.607247] pci 0000:00:1d.0: PTM enabled (root), 4ns granularity
[ 0.609733] pci 0000:00:1d.6: [8086:43b6] type 01 class 0x060400
[ 0.609831] pci 0000:00:1d.6: PME# supported from D0 D3hot D3cold
[ 0.609868] pci 0000:00:1d.6: PTM enabled (root), 4ns granularity
[ 0.612339] pci 0000:00:1f.0: [8086:438b] type 00 class 0x060100
[ 0.614601] pci 0000:00:1f.3: [8086:43c8] type 00 class 0x040380
[ 0.614641] pci 0000:00:1f.3: reg 0x10: [mem 0x612d1b8000-0x612d1bbfff 64bit]
[ 0.614693] pci 0000:00:1f.3: reg 0x20: [mem 0x612d000000-0x612d0fffff 64bit]
[ 0.614793] pci 0000:00:1f.3: PME# supported from D3hot D3cold
[ 0.617106] pci 0000:00:1f.4: [8086:43a3] type 00 class 0x0c0500
[ 0.617129] pci 0000:00:1f.4: reg 0x10: [mem 0x612d1c4000-0x612d1c40ff 64bit]
[ 0.617156] pci 0000:00:1f.4: reg 0x20: [io 0xefa0-0xefbf]
[ 0.618347] pci 0000:00:1f.5: [8086:43a4] type 00 class 0x0c8000
[ 0.618364] pci 0000:00:1f.5: reg 0x10: [mem 0xfe010000-0xfe010fff]
[ 0.619481] pci 0000:01:00.0: [10de:25e2] type 00 class 0x030000
[ 0.619490] pci 0000:01:00.0: reg 0x10: [mem 0x6d000000-0x6dffffff]
[ 0.619497] pci 0000:01:00.0: reg 0x14: [mem 0x6000000000-0x60ffffffff 64bit pref]
[ 0.619504] pci 0000:01:00.0: reg 0x1c: [mem 0x6100000000-0x6101ffffff 64bit pref]
[ 0.619510] pci 0000:01:00.0: reg 0x24: [io 0x4000-0x407f]
[ 0.619515] pci 0000:01:00.0: reg 0x30: [mem 0xfff80000-0xffffffff pref]
[ 0.619560] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 0.619615] pci 0000:01:00.0: 126.024 Gb/s available PCIe bandwidth, limited by 16.0 GT/s PCIe x8 link at 0000:00:01.0 (capable of 252.048 Gb/s with 16.0 GT/s PCIe x16 link)
[ 0.619752] pci 0000:01:00.1: [10de:2291] type 00 class 0x040300
[ 0.619759] pci 0000:01:00.1: reg 0x10: [mem 0x6e000000-0x6e003fff]
[ 0.619846] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.619848] pci 0000:00:01.0: bridge window [io 0x4000-0x4fff]
[ 0.619849] pci 0000:00:01.0: bridge window [mem 0x6d000000-0x6e0fffff]
[ 0.619852] pci 0000:00:01.0: bridge window [mem 0x6000000000-0x6101ffffff 64bit pref]
[ 0.620048] pci 0000:02:00.0: [1c5c:174a] type 00 class 0x010802
[ 0.620063] pci 0000:02:00.0: reg 0x10: [mem 0x6c400000-0x6c403fff 64bit]
[ 0.620069] pci 0000:02:00.0: reg 0x18: [mem 0x6c405000-0x6c405fff]
[ 0.620076] pci 0000:02:00.0: reg 0x1c: [mem 0x6c404000-0x6c404fff]
[ 0.620257] pci 0000:00:06.0: PCI bridge to [bus 02]
[ 0.620260] pci 0000:00:06.0: bridge window [mem 0x6c400000-0x6c4fffff]
[ 0.620292] pci 0000:00:07.0: PCI bridge to [bus 03-2c]
[ 0.620295] pci 0000:00:07.0: bridge window [mem 0x60000000-0x6c1fffff]
[ 0.620298] pci 0000:00:07.0: bridge window [mem 0x6110000000-0x612bffffff 64bit pref]
[ 0.620328] pci 0000:00:07.2: PCI bridge to [bus 2d-56]
[ 0.620332] pci 0000:00:07.2: bridge window [mem 0x52000000-0x5e1fffff]
[ 0.620335] pci 0000:00:07.2: bridge window [mem 0x6130000000-0x614bffffff 64bit pref]
[ 0.620506] pci 0000:57:00.0: [144d:a809] type 00 class 0x010802
[ 0.620528] pci 0000:57:00.0: reg 0x10: [mem 0x6c300000-0x6c303fff 64bit]
[ 0.620810] pci 0000:00:1d.0: PCI bridge to [bus 57]
[ 0.620814] pci 0000:00:1d.0: bridge window [mem 0x6c300000-0x6c3fffff]
[ 0.620889] pci 0000:58:00.0: [10ec:8168] type 00 class 0x020000
[ 0.620911] pci 0000:58:00.0: reg 0x10: [io 0x3000-0x30ff]
[ 0.620939] pci 0000:58:00.0: reg 0x18: [mem 0x6c204000-0x6c204fff 64bit]
[ 0.620957] pci 0000:58:00.0: reg 0x20: [mem 0x6c200000-0x6c203fff 64bit]
[ 0.621074] pci 0000:58:00.0: supports D1 D2
[ 0.621074] pci 0000:58:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.621234] pci 0000:00:1d.6: PCI bridge to [bus 58]
[ 0.621236] pci 0000:00:1d.6: bridge window [io 0x3000-0x3fff]
[ 0.621239] pci 0000:00:1d.6: bridge window [mem 0x6c200000-0x6c2fffff]
[ 0.623627] ACPI: EC: interrupt unblocked
[ 0.623628] ACPI: EC: event unblocked
[ 0.623649] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.623649] ACPI: EC: GPE=0x6e
[ 0.623650] ACPI: _SB
.PC00.LPCB.EC0
: Boot DSDT EC initialization complete
[ 0.623651] ACPI: _SB
.PC00.LPCB.EC0
: EC: Used to handle transactions and events
[ 0.623687] iommu: Default domain type: Translated
[ 0.623688] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.623694] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 0.623694] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.623694] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[ 0.623694] pci 0000:00:02.0: vgaarb: no bridge control possible
[ 0.623694] pci 0000:01:00.0: vgaarb: bridge control possible
[ 0.623694] vgaarb: loaded
[ 0.623694] SCSI subsystem initialized
[ 0.623694] libata version 3.00 loaded.
[ 0.623694] ACPI: bus type USB registered
[ 0.623694] usbcore: registered new interface driver usbfs
[ 0.623694] usbcore: registered new interface driver hub
[ 0.623694] usbcore: registered new device driver usb
[ 0.623694] pps_core: LinuxPPS API ver. 1 registered
[ 0.623694] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.623694] PTP clock support registered
[ 0.623694] EDAC MC: Ver: 3.0.0
[ 0.623694] Registered efivars operations
[ 0.623694] NetLabel: Initializing
[ 0.623694] NetLabel: domain hash size = 128
[ 0.623694] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.623694] NetLabel: unlabeled traffic allowed by default
[ 0.623694] PCI: Using ACPI for IRQ routing
[ 0.641355] PCI: pci_cache_line_size set to 64 bytes
[ 0.641575] pci 0000:00:1f.5: can't claim BAR 0 [mem 0xfe010000-0xfe010fff]: no compatible bridge window
[ 0.641789] e820: reserve RAM buffer [mem 0x0009f000-0x0009ffff]
[ 0.641790] e820: reserve RAM buffer [mem 0x39f99000-0x3bffffff]
[ 0.641791] e820: reserve RAM buffer [mem 0x3f235000-0x3fffffff]
[ 0.641791] e820: reserve RAM buffer [mem 0x3f284000-0x3fffffff]
[ 0.641792] e820: reserve RAM buffer [mem 0x434af000-0x43ffffff]
[ 0.641793] e820: reserve RAM buffer [mem 0x45c00000-0x47ffffff]
[ 0.641793] e820: reserve RAM buffer [mem 0x4afc00000-0x4afffffff]
[ 0.642584] clocksource: Switched to clocksource tsc-early
[ 0.649649] VFS: Disk quotas dquot_6.6.0
[ 0.649663] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.649748] AppArmor: AppArmor Filesystem Enabled
[ 0.649770] pnp: PnP ACPI init
[ 0.650009] system 00:00: [io 0x0680-0x069f] has been reserved
[ 0.650011] system 00:00: [io 0x164e-0x164f] has been reserved
[ 0.650100] system 00:01: [io 0x1854-0x1857] has been reserved
[ 0.650537] pnp 00:03: disabling [mem 0xc0000000-0xcfffffff] because it overlaps 0000:00:02.0 BAR 9 [mem 0x00000000-0xdfffffff 64bit pref]
[ 0.650550] system 00:03: [mem 0xfedc0000-0xfedc7fff] has been reserved
[ 0.650552] system 00:03: [mem 0xfeda0000-0xfeda0fff] has been reserved
[ 0.650553] system 00:03: [mem 0xfeda1000-0xfeda1fff] has been reserved
[ 0.650554] system 00:03: [mem 0xfed20000-0xfed7ffff] could not be reserved
[ 0.650555] system 00:03: [mem 0xfed90000-0xfed93fff] could not be reserved
[ 0.650555] system 00:03: [mem 0xfed45000-0xfed8ffff] could not be reserved
[ 0.650556] system 00:03: [mem 0xfee00000-0xfeefffff] has been reserved
[ 0.651074] system 00:04: [io 0x1800-0x18fe] could not be reserved
[ 0.651075] system 00:04: [mem 0xfe000000-0xfe01ffff] could not be reserved
[ 0.651076] system 00:04: [mem 0xfe04c000-0xfe04ffff] has been reserved
[ 0.651077] system 00:04: [mem 0xfe050000-0xfe0affff] has been reserved
[ 0.651078] system 00:04: [mem 0xfe0d0000-0xfe0fffff] has been reserved
[ 0.651079] system 00:04: [mem 0xfe200000-0xfe7fffff] has been reserved
[ 0.651084] system 00:04: [mem 0xff000000-0xffffffff] has been reserved
[ 0.651085] system 00:04: [mem 0xfd000000-0xfd68ffff] has been reserved
[ 0.651086] system 00:04: [mem 0xfd6c0000-0xfd6cffff] has been reserved
[ 0.651087] system 00:04: [mem 0xfd6f0000-0xfdffffff] has been reserved
[ 0.651318] system 00:05: [io 0x2000-0x20fe] has been reserved
[ 0.651646] pnp: PnP ACPI: found 7 devices
[ 0.656861] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.656929] NET: Registered PF_INET protocol family
[ 0.657048] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.658067] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.658102] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.658158] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.658280] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.658330] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.658407] MPTCP token hash table entries: 16384 (order: 6, 393216 bytes, linear)
[ 0.658449] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.658483] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.658552] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.658556] NET: Registered PF_XDP protocol family
[ 0.658557] pci 0000:01:00.0: can't claim BAR 6 [mem 0xfff80000-0xffffffff pref]: no compatible bridge window
[ 0.658560] pci 0000:00:07.0: bridge window [io 0x1000-0x0fff] to [bus 03-2c] add_size 1000
[ 0.658562] pci 0000:00:07.2: bridge window [io 0x1000-0x0fff] to [bus 2d-56] add_size 1000
[ 0.658572] pci 0000:00:02.0: BAR 9: assigned [mem 0x4020000000-0x40ffffffff 64bit pref]
[ 0.658575] pci 0000:00:02.0: BAR 7: assigned [mem 0x4010000000-0x4016ffffff 64bit]
[ 0.658577] pci 0000:00:07.0: BAR 13: assigned [io 0x6000-0x6fff]
[ 0.658578] pci 0000:00:07.2: BAR 13: assigned [io 0x7000-0x7fff]
[ 0.658579] pci 0000:00:15.0: BAR 0: assigned [mem 0x4017000000-0x4017000fff 64bit]
[ 0.658633] pci 0000:00:15.1: BAR 0: assigned [mem 0x4017001000-0x4017001fff 64bit]
[ 0.658650] pci 0000:00:15.2: BAR 0: assigned [mem 0x4017002000-0x4017002fff 64bit]
[ 0.658668] pci 0000:00:1f.5: BAR 0: assigned [mem 0x50400000-0x50400fff]
[ 0.658679] pci 0000:01:00.0: BAR 6: assigned [mem 0x6e080000-0x6e0fffff pref]
[ 0.658681] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.658682] pci 0000:00:01.0: bridge window [io 0x4000-0x4fff]
[ 0.658684] pci 0000:00:01.0: bridge window [mem 0x6d000000-0x6e0fffff]
[ 0.658686] pci 0000:00:01.0: bridge window [mem 0x6000000000-0x6101ffffff 64bit pref]
[ 0.658689] pci 0000:00:06.0: PCI bridge to [bus 02]
[ 0.658691] pci 0000:00:06.0: bridge window [mem 0x6c400000-0x6c4fffff]
[ 0.658694] pci 0000:00:07.0: PCI bridge to [bus 03-2c]
[ 0.658696] pci 0000:00:07.0: bridge window [io 0x6000-0x6fff]
[ 0.658698] pci 0000:00:07.0: bridge window [mem 0x60000000-0x6c1fffff]
[ 0.658700] pci 0000:00:07.0: bridge window [mem 0x6110000000-0x612bffffff 64bit pref]
[ 0.658704] pci 0000:00:07.2: PCI bridge to [bus 2d-56]
[ 0.658705] pci 0000:00:07.2: bridge window [io 0x7000-0x7fff]
[ 0.658708] pci 0000:00:07.2: bridge window [mem 0x52000000-0x5e1fffff]
[ 0.658710] pci 0000:00:07.2: bridge window [mem 0x6130000000-0x614bffffff 64bit pref]
[ 0.658713] pci 0000:00:1d.0: PCI bridge to [bus 57]
[ 0.658726] pci 0000:00:1d.0: bridge window [mem 0x6c300000-0x6c3fffff]
[ 0.658732] pci 0000:00:1d.6: PCI bridge to [bus 58]
[ 0.658734] pci 0000:00:1d.6: bridge window [io 0x3000-0x3fff]
[ 0.658737] pci 0000:00:1d.6: bridge window [mem 0x6c200000-0x6c2fffff]
[ 0.658743] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 0.658744] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 0.658745] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 0.658746] pci_bus 0000:00: resource 7 [mem 0x50400000-0xbfffffff window]
[ 0.658747] pci_bus 0000:00: resource 8 [mem 0x4000000000-0x7fffffffff window]
[ 0.658747] pci_bus 0000:01: resource 0 [io 0x4000-0x4fff]
[ 0.658748] pci_bus 0000:01: resource 1 [mem 0x6d000000-0x6e0fffff]
[ 0.658749] pci_bus 0000:01: resource 2 [mem 0x6000000000-0x6101ffffff 64bit pref]
[ 0.658749] pci_bus 0000:02: resource 1 [mem 0x6c400000-0x6c4fffff]
[ 0.658750] pci_bus 0000:03: resource 0 [io 0x6000-0x6fff]
[ 0.658751] pci_bus 0000:03: resource 1 [mem 0x60000000-0x6c1fffff]
[ 0.658751] pci_bus 0000:03: resource 2 [mem 0x6110000000-0x612bffffff 64bit pref]
[ 0.658752] pci_bus 0000:2d: resource 0 [io 0x7000-0x7fff]
[ 0.658753] pci_bus 0000:2d: resource 1 [mem 0x52000000-0x5e1fffff]
[ 0.658753] pci_bus 0000:2d: resource 2 [mem 0x6130000000-0x614bffffff 64bit pref]
[ 0.658754] pci_bus 0000:57: resource 1 [mem 0x6c300000-0x6c3fffff]
[ 0.658755] pci_bus 0000:58: resource 0 [io 0x3000-0x3fff]
[ 0.658755] pci_bus 0000:58: resource 1 [mem 0x6c200000-0x6c2fffff]
[ 0.660913] pci 0000:01:00.1: D0 power state depends on 0000:01:00.0
[ 0.661049] PCI: CLS 64 bytes, default 64
[ 0.661053] DMAR: Intel-IOMMU force enabled due to platform opt in
[ 0.661083] DMAR: No ATSR found
[ 0.661084] DMAR: No SATC found
[ 0.661084] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.661085] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.661086] DMAR: IOMMU feature nwfs inconsistent
[ 0.661086] DMAR: IOMMU feature dit inconsistent
[ 0.661087] DMAR: IOMMU feature sc_support inconsistent
[ 0.661087] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.661087] DMAR: dmar2: Using Queued invalidation
[ 0.661090] DMAR: dmar1: Using Queued invalidation
[ 0.661092] DMAR: dmar0: Using Queued invalidation
[ 0.661093] DMAR: dmar3: Using Queued invalidation
[ 0.661119] Trying to unpack rootfs image as initramfs...
[ 0.661225] pci 0000:00:00.0: Adding to iommu group 0
[ 0.661231] pci 0000:00:01.0: Adding to iommu group 1
[ 0.661238] pci 0000:00:02.0: Adding to iommu group 2
[ 0.661242] pci 0000:00:04.0: Adding to iommu group 3
[ 0.661247] pci 0000:00:06.0: Adding to iommu group 4
[ 0.661253] pci 0000:00:07.0: Adding to iommu group 5
[ 0.661262] pci 0000:00:07.2: Adding to iommu group 6
[ 0.661266] pci 0000:00:0a.0: Adding to iommu group 7
[ 0.661276] pci 0000:00:0d.0: Adding to iommu group 8
[ 0.661280] pci 0000:00:0d.2: Adding to iommu group 8
[ 0.661284] pci 0000:00:0d.3: Adding to iommu group 8
[ 0.661301] pci 0000:00:14.0: Adding to iommu group 9
[ 0.661305] pci 0000:00:14.2: Adding to iommu group 9
[ 0.661309] pci 0000:00:14.3: Adding to iommu group 10
[ 0.661319] pci 0000:00:15.0: Adding to iommu group 11
[ 0.661323] pci 0000:00:15.1: Adding to iommu group 11
[ 0.661328] pci 0000:00:15.2: Adding to iommu group 11
[ 0.661337] pci 0000:00:16.0: Adding to iommu group 12
[ 0.661341] pci 0000:00:17.0: Adding to iommu group 13
[ 0.661356] pci 0000:00:1d.0: Adding to iommu group 14
[ 0.661362] pci 0000:00:1d.6: Adding to iommu group 15
[ 0.661377] pci 0000:00:1f.0: Adding to iommu group 16
[ 0.661382] pci 0000:00:1f.3: Adding to iommu group 16
[ 0.661387] pci 0000:00:1f.4: Adding to iommu group 16
[ 0.661391] pci 0000:00:1f.5: Adding to iommu group 16
[ 0.661400] pci 0000:01:00.0: Adding to iommu group 17
[ 0.661406] pci 0000:01:00.1: Adding to iommu group 17
[ 0.661414] pci 0000:02:00.0: Adding to iommu group 18
[ 0.661429] pci 0000:57:00.0: Adding to iommu group 19
[ 0.661435] pci 0000:58:00.0: Adding to iommu group 20
[ 0.661538] DMAR: Intel(R) Virtualization Technology for Directed I/O
[ 0.661539] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.661540] software IO TLB: mapped [mem 0x00000000318b3000-0x00000000358b3000] (64MB)
[ 0.661564] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2135f7c97c8, max_idle_ns: 440795273205 ns
[ 0.661592] clocksource: Switched to clocksource tsc
[ 0.661604] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.673918] Initialise system trusted keyrings
[ 0.673930] Key type blacklist registered
[ 0.673987] workingset: timestamp_bits=41 max_order=22 bucket_order=0
[ 0.674918] zbud: loaded
[ 0.681518] Key type asymmetric registered
[ 0.681519] Asymmetric key parser 'x509' registered
[ 0.681525] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
[ 0.681576] io scheduler mq-deadline registered
[ 0.681577] io scheduler kyber registered
[ 0.681611] io scheduler bfq registered
[ 0.683699] pcieport 0000:00:01.0: PME: Signaling with IRQ 124
[ 0.683862] pcieport 0000:00:06.0: PME: Signaling with IRQ 125
[ 0.684024] pcieport 0000:00:07.0: PME: Signaling with IRQ 126
[ 0.684035] pcieport 0000:00:07.0: pciehp: Slot #0 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl+ IbPresDis- LLActRep+
[ 0.684238] pcieport 0000:00:07.2: PME: Signaling with IRQ 127
[ 0.684249] pcieport 0000:00:07.2: pciehp: Slot #0 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl+ IbPresDis- LLActRep+
[ 0.684446] pcieport 0000:00:1d.0: PME: Signaling with IRQ 128
[ 0.684628] pcieport 0000:00:1d.6: PME: Signaling with IRQ 129
[ 0.684702] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 0.684863] Monitor-Mwait will be used to enter C-1 state
[ 0.684865] Monitor-Mwait will be used to enter C-2 state
[ 0.684867] Monitor-Mwait will be used to enter C-3 state
[ 0.684868] ACPI: _SB
.PR00: Found 3 idle states
[ 0.685482] ACPI: AC: AC Adapter [ADP0] (on-line)
[ 0.685518] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[ 0.685530] ACPI: button: Lid Switch [LID0]
[ 0.685545] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[ 0.685558] ACPI: button: Power Button [PWRB]
[ 0.685579] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
[ 0.685593] ACPI: button: Sleep Button [SLPB]
[ 0.685610] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[ 0.685881] ACPI: button: Power Button [PWRF]
[ 0.686023] smpboot: Estimated ratio of average max frequency by base frequency (times 1024): 2003
[ 0.689597] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.690775] hpet_acpi_add: no address or irqs in _CRS
[ 0.690792] Non-volatile memory driver v1.3
[ 0.690793] Linux agpgart interface v0.103
[ 0.690793] AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug.
[ 0.692430] nvme nvme0: pci function 0000:02:00.0
[ 0.692450] nvme nvme1: pci function 0000:57:00.0
[ 0.692465] ahci 0000:00:17.0: version 3.0
[ 0.692927] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
[ 0.692939] ahci 0000:00:17.0: flags: 64bit ncq sntf pm clo only pio slum part ems deso sadm sds
[ 0.693335] scsi host0: ahci
[ 0.693388] ata1: SATA max UDMA/133 abar m2048@0x6c593000 port 0x6c593100 irq 130
[ 0.693416] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.693418] ehci-pci: EHCI PCI platform driver
[ 0.693422] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.693424] ohci-pci: OHCI PCI platform driver
[ 0.693428] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.693451] usbcore: registered new interface driver usbserial_generic
[ 0.693453] usbserial: USB Serial support registered for generic
[ 0.693623] rtc_cmos rtc_cmos: RTC can wake from S4
[ 0.694426] rtc_cmos rtc_cmos: registered as rtc0
[ 0.694589] rtc_cmos rtc_cmos: setting system clock to 2023-02-03T12:09:37 UTC (1675426177)
[ 0.694617] rtc_cmos rtc_cmos: alarms up to one month, y3k, 114 bytes nvram
[ 0.695152] intel_pstate: Intel P-state driver initializing
[ 0.696276] intel_pstate: HWP enabled
[ 0.696649] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.696807] efifb: probing for efifb
[ 0.696814] efifb: showing boot graphics
[ 0.698854] efifb: framebuffer at 0x4000000000, using 16000k, total 16000k
[ 0.698855] efifb: mode is 2560x1600x32, linelength=10240, pages=1
[ 0.698855] efifb: scrolling: redraw
[ 0.698856] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 0.698920] fbcon: Deferring console take-over
[ 0.698921] fb0: EFI VGA frame buffer device
[ 0.698937] hid: raw HID events driver (C) Jiri Kosina
[ 0.698985] ashmem: initialized
[ 0.699049] intel_pmc_core INT33A1:00: initialized
[ 0.699095] drop_monitor: Initializing network drop monitor service
[ 0.699133] Initializing XFRM netlink socket
[ 0.699234] NET: Registered PF_INET6 protocol family
[ 0.706637] nvme nvme1: Shutdown timeout set to 8 seconds
[ 0.728570] nvme nvme1: allocated 64 MiB host memory buffer.
[ 0.768132] nvme nvme0: 16/0/0 default/read/poll queues
[ 0.774084] nvme0n1: p1 p2 p3 p4 p5
[ 0.777958] nvme nvme1: 12/0/0 default/read/poll queues
[ 0.782727] ACPI: battery: Slot [BAT0] (battery present)
[ 0.784059] Freeing initrd memory: 20088K
[ 0.784712] nvme1n1: p1 p2
[ 0.787994] Segment Routing with IPv6
[ 0.787995] RPL Segment Routing with IPv6
[ 0.788006] In-situ OAM (IOAM) with IPv6
[ 0.788027] NET: Registered PF_PACKET protocol family
[ 0.789758] microcode: sig=0x806d1, pf=0x2, revision=0x42
[ 0.790450] microcode: Microcode Update Driver: v2.2.
[ 0.791351] resctrl: L2 allocation detected
[ 0.791360] IPI shorthand broadcast: enabled
[ 0.791369] sched_clock: Marking stable (784257842, 7075646)->(811635313, -20301825)
[ 0.791935] registered taskstats version 1
[ 0.793086] Loading compiled-in X.509 certificates
[ 0.794672] Loaded X.509 cert 'Build time autogenerated kernel key: a04985617783cb2b7525c9d3b54d13d065c7b159'
[ 0.796746] zswap: loaded using pool zstd/z3fold
[ 0.797821] Key type .fscrypt registered
[ 0.797821] Key type fscrypt-provisioning registered
[ 0.797870] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.798075] PM: Magic number: 11:88:177
[ 0.798138] acpi device:0d: hash matches
[ 0.798303] RAS: Correctable Errors collector initialized.
[ 1.002588] ata1: SATA link down (SStatus 4 SControl 300)
[ 1.011208] Freeing unused decrypted memory: 2036K
[ 1.011808] Freeing unused kernel image (initmem) memory: 2016K
[ 1.011813] Write protecting the kernel read-only data: 30720k
[ 1.012695] Freeing unused kernel image (text/rodata gap) memory: 2036K
[ 1.013177] Freeing unused kernel image (rodata/data gap) memory: 1352K
[ 1.027934] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 1.027938] rodata_test: all tests were successful
[ 1.027949] Run /init as init process
[ 1.027950] with arguments:
[ 1.027951] /init
[ 1.027952] splash
[ 1.027953] with environment:
[ 1.027954] HOME=/
[ 1.027954] TERM=linux
[ 1.027955] BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
[ 1.187644] xhci_hcd 0000:00:0d.0: xHCI Host Controller
[ 1.187651] xhci_hcd 0000:00:0d.0: new USB bus registered, assigned bus number 1
[ 1.188737] xhci_hcd 0000:00:0d.0: hcc params 0x20007fc1 hci version 0x120 quirks 0x0000000200009810
[ 1.189047] xhci_hcd 0000:00:0d.0: xHCI Host Controller
[ 1.189058] xhci_hcd 0000:00:0d.0: new USB bus registered, assigned bus number 2
[ 1.189060] xhci_hcd 0000:00:0d.0: Host supports USB 3.1 Enhanced SuperSpeed
[ 1.189091] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.189092] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.189093] usb usb1: Product: xHCI Host Controller
[ 1.189094] usb usb1: Manufacturer: Linux 5.15.89-1-MANJARO xhci-hcd
[ 1.189095] usb usb1: SerialNumber: 0000:00:0d.0
[ 1.189226] hub 1-0:1.0: USB hub found
[ 1.189234] hub 1-0:1.0: 1 port detected
[ 1.189348] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.189350] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.189351] usb usb2: Product: xHCI Host Controller
[ 1.189353] usb usb2: Manufacturer: Linux 5.15.89-1-MANJARO xhci-hcd
[ 1.189354] usb usb2: SerialNumber: 0000:00:0d.0
[ 1.189432] hub 2-0:1.0: USB hub found
[ 1.189439] hub 2-0:1.0: 4 ports detected
[ 1.190241] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 1.190259] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[ 1.190663] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 1.190665] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 1.191346] xhci_hcd 0000:00:14.0: hcc params 0x20007fc1 hci version 0x120 quirks 0x0000000200009810
[ 1.191659] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.191701] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 1.191703] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
[ 1.191705] xhci_hcd 0000:00:14.0: Host supports USB 3.2 Enhanced SuperSpeed
[ 1.191740] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.191741] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.191742] usb usb3: Product: xHCI Host Controller
[ 1.191742] usb usb3: Manufacturer: Linux 5.15.89-1-MANJARO xhci-hcd
[ 1.191743] usb usb3: SerialNumber: 0000:00:14.0
[ 1.191830] hub 3-0:1.0: USB hub found
[ 1.191850] hub 3-0:1.0: 16 ports detected
[ 1.193711] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.193712] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.193713] usb usb4: Product: xHCI Host Controller
[ 1.193714] usb usb4: Manufacturer: Linux 5.15.89-1-MANJARO xhci-hcd
[ 1.193714] usb usb4: SerialNumber: 0000:00:14.0
[ 1.193772] hub 4-0:1.0: USB hub found
[ 1.193798] hub 4-0:1.0: 8 ports detected
[ 1.194378] usb: port power management may be unreliable
[ 1.201796] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[ 1.247217] EXT4-fs (nvme0n1p5): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 1.334936] systemd[1]: systemd 252.4-2-manjaro running in system mode (+PAM +AUDIT -SELINUX -APPARMOR -IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[ 1.334944] systemd[1]: Detected architecture x86-64.
[ 1.336639] systemd[1]: Hostname set to .
[ 1.367634] systemd[1]: bpf-lsm: BPF LSM hook not enabled in the kernel, BPF LSM not supported
[ 1.442551] usb 3-4: new full-speed USB device number 2 using xhci_hcd
[ 1.484146] systemd[1]: Queued start job for default target Graphical Interface.
[ 1.485375] systemd[1]: Created slice Slice /system/getty.
[ 1.485598] systemd[1]: Created slice Slice /system/modprobe.
[ 1.485802] systemd[1]: Created slice Slice /system/systemd-fsck.
[ 1.485992] systemd[1]: Created slice User and Session Slice.
[ 1.486044] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 1.486159] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 1.486188] systemd[1]: Reached target Login Prompts.
[ 1.486206] systemd[1]: Reached target Local Integrity Protected Volumes.
[ 1.486234] systemd[1]: Reached target Remote File Systems.
[ 1.486247] systemd[1]: Reached target Slice Units.
[ 1.486262] systemd[1]: Reached target Mounting snaps.
[ 1.486282] systemd[1]: Reached target Swaps.
[ 1.486299] systemd[1]: Reached target Local Verity Protected Volumes.
[ 1.486351] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 1.486499] systemd[1]: Listening on LVM2 poll daemon socket.
[ 1.487050] systemd[1]: Listening on Process Core Dump Socket.
[ 1.487107] systemd[1]: Listening on Journal Audit Socket.
[ 1.487150] systemd[1]: Listening on Journal Socket (/dev/log).
[ 1.487193] systemd[1]: Listening on Journal Socket.
[ 1.487248] systemd[1]: Listening on udev Control Socket.
[ 1.487286] systemd[1]: Listening on udev Kernel Socket.
[ 1.487656] systemd[1]: Mounting Huge Pages File System...
[ 1.487981] systemd[1]: Mounting POSIX Message Queue File System...
[ 1.488355] systemd[1]: Mounting Kernel Debug File System...
[ 1.488736] systemd[1]: Mounting Kernel Trace File System...
[ 1.489188] systemd[1]: Starting Load AppArmor profiles...
[ 1.489631] systemd[1]: Starting Create List of Static Device Nodes...
[ 1.490044] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[ 1.490488] systemd[1]: Starting Load Kernel Module configfs...
[ 1.490940] systemd[1]: Starting Load Kernel Module drm...
[ 1.491383] systemd[1]: Starting Load Kernel Module fuse...
[ 1.491455] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[ 1.492066] systemd[1]: Starting Load Kernel Modules...
[ 1.492522] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 1.492570] systemd[1]: Repartition Root Disk was skipped because no trigger condition checks were met.
[ 1.493029] systemd[1]: Starting Coldplug All udev Devices...
[ 1.493624] systemd[1]: Mounted Huge Pages File System.
[ 1.493731] systemd[1]: Mounted POSIX Message Queue File System.
[ 1.493847] systemd[1]: Mounted Kernel Debug File System.
[ 1.493929] systemd[1]: Mounted Kernel Trace File System.
[ 1.494069] systemd[1]: Finished Create List of Static Device Nodes.
[ 1.494263] systemd[1]: [email protected]: Deactivated successfully.
[ 1.494318] systemd[1]: Finished Load Kernel Module configfs.
[ 1.494418] systemd[1]: [email protected]: Deactivated successfully.
[ 1.494470] systemd[1]: Finished Load Kernel Module drm.
[ 1.495001] systemd[1]: Mounting Kernel Configuration File System...
[ 1.495647] EXT4-fs (nvme0n1p5): re-mounted. Opts: (null). Quota mode: none.
[ 1.496237] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 1.496354] systemd[1]: Mounted Kernel Configuration File System.
[ 1.496432] systemd[1]: First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[ 1.496990] systemd[1]: Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc).
[ 1.497426] systemd[1]: Starting Load/Save Random Seed...
[ 1.497456] systemd[1]: Create System Users was skipped because no trigger condition checks were met.
[ 1.497882] random: lvm: uninitialized urandom read (4 bytes read)
[ 1.497948] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 1.498478] systemd[1]: Starting Setup Virtual Console...
[ 1.501617] fuse: init (API version 7.34)
[ 1.501994] systemd[1]: [email protected]: Deactivated successfully.
[ 1.502086] systemd[1]: Finished Load Kernel Module fuse.
[ 1.502571] systemd[1]: Mounting FUSE Control File System...
[ 1.503426] systemd[1]: Mounted FUSE Control File System.
[ 1.519058] systemd[1]: Finished Create Static Device Nodes in /dev.
[ 1.519307] systemd[1]: Entropy Daemon based on the HAVEGE algorithm was skipped because of an unmet condition check (ConditionKernelVersion=<5.6).
[ 1.519791] audit: type=1400 audit(1675426178.323:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="dovecot-anvil" pid=398 comm="apparmor_parser"
[ 1.520051] audit: type=1400 audit(1675426178.323:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="klogd" pid=394 comm="apparmor_parser"
[ 1.520541] systemd[1]: Starting Journal Service...
[ 1.521242] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[ 1.521473] systemd[1]: Finished Setup Virtual Console.
[ 1.531599] audit: type=1400 audit(1675426178.333:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=387 comm="apparmor_parser"
[ 1.532400] audit: type=1400 audit(1675426178.333:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=387 comm="apparmor_parser"
[ 1.532503] audit: type=1400 audit(1675426178.333:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=386 comm="apparmor_parser"
[ 1.534272] audit: type=1400 audit(1675426178.336:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ping" pid=385 comm="apparmor_parser"
[ 1.537649] audit: type=1400 audit(1675426178.339:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="samba-rpcd" pid=391 comm="apparmor_parser"
[ 1.538829] audit: type=1400 audit(1675426178.339:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="samba-dcerpcd" pid=390 comm="apparmor_parser"
[ 1.543998] audit: type=1400 audit(1675426178.346:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="dovecot-auth" pid=399 comm="apparmor_parser"
[ 1.563496] systemd[1]: Started Journal Service.
[ 1.569337] systemd-journald[405]: Received client request to flush runtime journal.
[ 1.585761] usb 3-4: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.11
[ 1.585767] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.585769] usb 3-4: Product: USB Receiver
[ 1.585771] usb 3-4: Manufacturer: Logitech
[ 1.728861] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 1.728941] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 1.729118] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 1.729165] acpi PNP0C14:04: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 1.729219] acpi PNP0C14:05: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 1.729277] acpi PNP0C14:06: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 1.765560] loop: module loaded
[ 1.775878] usb 3-7: new full-speed USB device number 3 using xhci_hcd
[ 1.791032] loop0: detected capacity change from 0 to 113888
[ 1.791105] loop1: detected capacity change from 0 to 236144
[ 1.791240] loop2: detected capacity change from 0 to 337424
[ 1.791270] loop3: detected capacity change from 0 to 113888
[ 1.791296] loop4: detected capacity change from 0 to 101624
[ 1.791746] loop5: detected capacity change from 0 to 187776
[ 1.792014] loop6: detected capacity change from 0 to 240544
[ 1.792391] loop7: detected capacity change from 0 to 8
[ 1.792464] legion_laptop: loading out-of-tree module taints kernel.
[ 1.792498] legion_laptop: module verification failed: signature and/or required key missing - tainting kernel
[ 1.792876] legion_laptop 0.1 starts loading
[ 1.792877] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82JF; DMI_BIOS_VERSION:H1CN51WW
[ 1.792935] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[ 1.792936] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82JF; DMI_BIOS_VERSION:H1CN51WW
[ 1.792938] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[ 1.792940] legion PNP0C09:00: Using configuration for system: H1CN
[ 1.792947] Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0xc400 (in EC) to virtual 0x00000000ac59ed6d
[ 1.793238] legion PNP0C09:00: Read embedded controller ID 0x8227
[ 1.793239] legion PNP0C09:00: Creating debugfs inteface
[ 1.793243] Creating sysfs inteface
[ 1.793246] Creating hwmon interface
[ 1.794380] ACPI: bus type thunderbolt registered
[ 1.795512] intel-pmt 0000:00:0a.0: Watcher not supported
[ 1.795517] intel-pmt 0000:00:0a.0: Crashlog not supported
[ 1.796042] Creating platform profile support
[ 1.796046] Init WMI driver support
[ 1.796067] legion_wmi PNP0C14:02-887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[ 1.796098] legion_wmi PNP0C14:02-BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[ 1.796113] legion_wmi PNP0C14:02-D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[ 1.796123] legion_wmi PNP0C14:02-BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[ 1.796132] legion_wmi PNP0C14:02-BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[ 1.796141] legion_wmi PNP0C14:02-10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[ 1.796150] legion_wmi PNP0C14:02-D320289E-8FEA-41E0-86F9-611D83151B5F: Register after probing for WMI.
[ 1.796168] legion_wmi PNP0C14:03-8FC0DE0C-B4E4-43FD-B0F3-8871711C1294: Register after probing for WMI.
[ 1.796186] legion PNP0C09:00: legion_laptop loaded for this device
[ 1.797572] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.804474] loop8: detected capacity change from 0 to 102048
[ 1.822551] intel-lpss 0000:00:15.0: enabling device (0004 -> 0006)
[ 1.823020] idma64 idma64.0: Found Intel integrated DMA 64-bit
[ 1.919270] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.920567] input: Ideapad extra buttons as /devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input5
[ 1.920601] ideapad_acpi VPC2004:00: Keyboard backlight control not available
[ 1.921336] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.922344] usb 3-7: New USB device found, idVendor=048d, idProduct=c965, bcdDevice= 1.00
[ 1.922346] usb 3-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.922348] usb 3-7: Product: ITE Device(8295)
[ 1.922348] usb 3-7: Manufacturer: ITE Tech. Inc.
[ 1.923808] intel_rapl_common: Found RAPL domain package
[ 1.923988] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[ 1.924035] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[ 1.925875] intel-lpss 0000:00:15.1: enabling device (0004 -> 0006)
[ 1.926192] idma64 idma64.1: Found Intel integrated DMA 64-bit
[ 1.930758] ideapad_acpi VPC2004:00: DYTC interface is not available
[ 1.931387] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[ 1.933831] i2c i2c-1: 2/2 memory slots populated (from DMI)
[ 1.934176] i2c i2c-1: Successfully instantiated SPD at 0x50
[ 1.952574] intel-lpss 0000:00:15.2: enabling device (0004 -> 0006)
[ 1.952897] idma64 idma64.2: Found Intel integrated DMA 64-bit
[ 2.040224] Intel(R) Wireless WiFi driver for Linux
[ 2.041023] input: PC Speaker as /devices/platform/pcspkr/input/input6
[ 2.042941] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[ 2.042953] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[ 2.043208] iwlwifi 0000:00:14.3: loaded firmware version 66.f1c864e0.0 QuZ-a0-hr-b0-66.ucode op_mode iwlmvm
[ 2.045874] usb 3-9: new full-speed USB device number 4 using xhci_hcd
[ 2.053618] resource sanity check: requesting [mem 0xfedc0000-0xfedcdfff], which spans more than pnp 00:03 [mem 0xfedc0000-0xfedc7fff]
[ 2.053620] caller tgl_uncore_imc_freerunning_init_box+0xba/0x120 [intel_uncore] mapping multiple BARs
[ 2.063145] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 2.063229] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 2.064840] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 2.065680] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_12.bin (v2.12)
[ 2.097135] input: MSFT0001:01 06CB:CE78 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-MSFT0001:01/0018:06CB:CE78.0001/input/input7
[ 2.097173] input: MSFT0001:01 06CB:CE78 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-MSFT0001:01/0018:06CB:CE78.0001/input/input8
[ 2.097204] hid-generic 0018:06CB:CE78.0001: input,hidraw0: I2C HID v1.00 Mouse [MSFT0001:01 06CB:CE78] on i2c-MSFT0001:01
[ 2.146546] cryptd: max_cpu_qlen set to 1000
[ 2.157240] intel-spi 0000:00:1f.5: gd25q64 (8192 Kbytes)
[ 2.157681] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 2.157715] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 2.158462] r8169 0000:58:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 2.159528] Creating 1 MTD partitions on "0000:00:1f.5":
[ 2.159531] 0x000000000000-0x000001800000 : "BIOS"
[ 2.159533] mtd: partition "BIOS" extends beyond the end of device "0000:00:1f.5" -- size truncated to 0x800000
[ 2.160013] AVX2 version of gcm_enc/dec engaged.
[ 2.160096] AES CTR mode by8 optimization enabled
[ 2.160532] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 2.160605] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 2.160611] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 2.174095] r8169 0000:58:00.0 eth0: RTL8168h/8111h, 90:2e:16:4a:be:e7, XID 541, IRQ 214
[ 2.174098] r8169 0000:58:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 2.208966] usb 3-9: New USB device found, idVendor=048d, idProduct=c101, bcdDevice= 8.00
[ 2.208969] usb 3-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.208970] usb 3-9: Product: ITE Device(8910)
[ 2.208971] usb 3-9: Manufacturer: ITE Tech. Inc.
[ 2.221163] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 2.221661] ACPI: video: [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[ 2.221674] ACPI: video: Video Device [PEGP] (multi-head: yes rom: no post: no)
[ 2.221696] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:02/LNXVIDEO:00/input/input10
[ 2.222643] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 2.222862] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input11
[ 2.222937] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 2.225106] fbcon: i915drmfb (fb0) is primary device
[ 2.225109] fbcon: Deferring console take-over
[ 2.225111] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 2.312630] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
[ 2.312666] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[ 2.312694] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[ 2.312722] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[ 2.312748] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[ 2.312776] input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[ 2.332566] usb 3-14: new full-speed USB device number 5 using xhci_hcd
[ 2.343457] nvidia: module license 'NVIDIA' taints kernel.
[ 2.343460] Disabling lock debugging due to kernel taint
[ 2.458331] nvidia-nvlink: Nvlink Core is being initialized, major device number 510

[ 2.458674] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[ 2.459245] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x354
[ 2.459267] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 2.462853] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC287: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 2.462857] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 2.462859] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 2.462861] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 2.462862] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 2.462863] snd_hda_codec_realtek hdaudioC0D0: Mic=0x19
[ 2.462864] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[ 2.471837] thermal thermal_zone10: failed to read out thermal zone (-61)
[ 2.473853] usb 3-14: New USB device found, idVendor=8087, idProduct=0026, bcdDevice= 0.02
[ 2.473856] usb 3-14: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.509511] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 470.161.03 Wed Oct 19 00:10:36 UTC 2022
[ 2.529595] iTCO_vendor_support: vendor-support=0
[ 2.581849] iwlwifi 0000:00:14.3: Detected RF HR B5, rfid=0x10a100
[ 2.586326] intel_rapl_common: Found RAPL domain package
[ 2.586328] intel_rapl_common: Found RAPL domain core
[ 2.586329] intel_rapl_common: Found RAPL domain uncore
[ 2.587659] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/0003:046D:C52B.0002/input/input20
[ 2.588627] iTCO_wdt iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
[ 2.588699] iTCO_wdt iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 2.599278] ee1004 1-0050: 512 byte EE1004-compliant SPD EEPROM, read-only
[ 2.600292] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[ 2.604650] intel_tcc_cooling: Programmable TCC Offset detected
[ 2.609656] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 2.612543] random: crng init done
[ 2.642681] hid-generic 0003:046D:C52B.0002: input,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-4/input0
[ 2.642705] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[ 2.642728] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
[ 2.642747] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
[ 2.642764] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input23
[ 2.642782] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input24
[ 2.642799] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input25
[ 2.642815] input: HDA Intel PCH HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input26
[ 2.642830] input: HDA Intel PCH HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input27
[ 2.642846] input: HDA Intel PCH HDMI/DP,pcm=13 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input28
[ 2.642862] input: HDA Intel PCH HDMI/DP,pcm=14 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input29
[ 2.642876] input: HDA Intel PCH HDMI/DP,pcm=15 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input30
[ 2.642892] input: HDA Intel PCH HDMI/DP,pcm=16 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input31
[ 2.642907] input: HDA Intel PCH HDMI/DP,pcm=17 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input32
[ 2.645616] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.1/0003:046D:C52B.0003/input/input33
[ 2.645667] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.1/0003:046D:C52B.0003/input/input34
[ 2.647588] iwlwifi 0000:00:14.3: base HW address: a8:64:f1:b5:70:66
[ 2.661746] r8169 0000:58:00.0 enp88s0: renamed from eth0
[ 2.677392] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 470.161.03 Wed Oct 19 00:05:15 UTC 2022
[ 2.699317] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.1/0003:046D:C52B.0003/input/input35
[ 2.733017] hid-generic 0003:046D:C52B.0003: input,hiddev96,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-4/input1
[ 2.735766] hid-generic 0003:046D:C52B.0004: hiddev97,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-4/input2
[ 2.737331] input: ITE Tech. Inc. ITE Device(8295) Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/0003:048D:C965.0005/input/input37
[ 2.765853] input: MSFT0001:01 06CB:CE78 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-MSFT0001:01/0018:06CB:CE78.0001/input/input38
[ 2.813134] hid-generic 0003:048D:C965.0005: input,hiddev98,hidraw0: USB HID v1.10 Keyboard [ITE Tech. Inc. ITE Device(8295)] on usb-0000:00:14.0-7/input0
[ 2.813137] input: MSFT0001:01 06CB:CE78 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-MSFT0001:01/0018:06CB:CE78.0001/input/input39
[ 2.813358] hid-multitouch 0018:06CB:CE78.0001: input,hidraw4: I2C HID v1.00 Mouse [MSFT0001:01 06CB:CE78] on i2c-MSFT0001:01
[ 2.814334] hid-generic 0003:048D:C965.0006: hiddev99,hidraw5: USB HID v1.10 Device [ITE Tech. Inc. ITE Device(8295)] on usb-0000:00:14.0-7/input1
[ 2.827036] input: ITE Tech. Inc. ITE Device(8910) Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.0/0003:048D:C101.0007/input/input41
[ 2.886169] input: ITE Tech. Inc. ITE Device(8910) Wireless Radio Control as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.0/0003:048D:C101.0007/input/input42
[ 2.886232] hid-generic 0003:048D:C101.0007: input,hiddev100,hidraw6: USB HID v1.10 Keyboard [ITE Tech. Inc. ITE Device(8910)] on usb-0000:00:14.0-9/input0
[ 2.886252] usbcore: registered new interface driver usbhid
[ 2.886253] usbhid: USB HID core driver
[ 2.886289] mousedev: PS/2 mouse device common for all mice
[ 2.986893] Bluetooth: Core ver 2.22
[ 2.986915] NET: Registered PF_BLUETOOTH protocol family
[ 2.986916] Bluetooth: HCI device and connection manager initialized
[ 2.986922] Bluetooth: HCI socket layer initialized
[ 2.986924] Bluetooth: L2CAP socket layer initialized
[ 2.986926] Bluetooth: SCO socket layer initialized
[ 3.001692] usbcore: registered new interface driver btusb
[ 3.002119] Bluetooth: hci0: Bootloader revision 0.4 build 0 week 30 2018
[ 3.003126] Bluetooth: hci0: Device revision is 2
[ 3.003128] Bluetooth: hci0: Secure boot is enabled
[ 3.003129] Bluetooth: hci0: OTP lock is enabled
[ 3.003130] Bluetooth: hci0: API lock is enabled
[ 3.003130] Bluetooth: hci0: Debug lock is disabled
[ 3.003131] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 3.003962] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[ 3.015336] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[ 3.407387] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 3.407390] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 3.470970] device-mapper: uevent: version 1.0.3
[ 3.471014] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: [email protected]
[ 3.486763] logitech-djreceiver 0003:046D:C52B.0004: hiddev96,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-4/input2
[ 3.605460] input: Logitech Wireless Device PID:4082 Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.2/0003:046D:C52B.0004/0003:046D:4082.0008/input/input43
[ 3.605671] input: Logitech Wireless Device PID:4082 Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.2/0003:046D:C52B.0004/0003:046D:4082.0008/input/input44
[ 3.605779] hid-generic 0003:046D:4082.0008: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Device PID:4082] on usb-0000:00:14.0-4/input2:1
[ 3.869144] input: Logitech MX Master 3 as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.2/0003:046D:C52B.0004/0003:046D:4082.0008/input/input48
[ 3.869244] logitech-hidpp-device 0003:046D:4082.0008: input,hidraw2: USB HID v1.11 Keyboard [Logitech MX Master 3] on usb-0000:00:14.0-4/input2:1
[ 3.897833] nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
[ 3.902888] nvidia-uvm: Loaded the UVM driver, major device number 508.
[ 3.948931] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.948933] Bluetooth: BNEP filters: protocol multicast
[ 3.948937] Bluetooth: BNEP socket layer initialized
[ 3.971858] loop9: detected capacity change from 0 to 8
[ 4.090211] NET: Registered PF_QIPCRTR protocol family
[ 4.125917] Generic FE-GE Realtek PHY r8169-0-5800:00: attached PHY driver (mii_bus:phy_addr=r8169-0-5800:00, irq=MAC)
[ 4.306063] r8169 0000:58:00.0 enp88s0: Link is Down
[ 4.794303] Bluetooth: hci0: Waiting for firmware download to complete
[ 4.795122] Bluetooth: hci0: Firmware loaded in 1749176 usecs
[ 4.795183] Bluetooth: hci0: Waiting for device to boot
[ 4.810190] Bluetooth: hci0: Device booted in 14666 usecs
[ 4.810297] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-0-4.ddc
[ 4.812135] Bluetooth: hci0: Applying Intel DDC parameters completed
[ 4.815210] Bluetooth: hci0: Firmware revision 0.4 build 15 week 45 2022
[ 4.903958] NET: Registered PF_ALG protocol family
[ 5.848750] kauditd_printk_skb: 207 callbacks suppressed
[ 5.848756] audit: type=1130 audit(1675426182.650:128): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=powertop comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 7.393684] audit: type=1334 audit(1675426184.196:129): prog-id=36 op=LOAD
[ 7.417494] audit: type=1130 audit(1675426184.220:130): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=accounts-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 7.425227] audit: type=1100 audit(1675426184.226:131): pid=4118 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:authentication grantors=pam_succeed_if,pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=server addr=? terminal=/dev/tty1 res=success'
[ 7.425300] audit: type=1101 audit(1675426184.226:132): pid=4118 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:accounting grantors=pam_succeed_if,pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=server addr=? terminal=/dev/tty1 res=success'
[ 7.426040] audit: type=1103 audit(1675426184.230:133): pid=4118 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:setcred grantors=pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=server addr=? terminal=/dev/tty1 res=success'
[ 7.426220] audit: type=1006 audit(1675426184.230:134): pid=4118 uid=0 subj=unconfined old-auid=4294967295 auid=120 tty=(none) old-ses=4294967295 ses=1 res=1
[ 7.426224] audit: type=1300 audit(1675426184.230:134): arch=c000003e syscall=1 success=yes exit=3 a0=8 a1=7fffe636bc40 a2=3 a3=7fffe636b955 items=0 ppid=3430 pid=4118 auid=120 uid=0 gid=120 euid=0 suid=0 fsuid=0 egid=120 sgid=120 fsgid=120 tty=(none) ses=1 comm="gdm-session-wor" exe="/usr/lib/gdm-session-worker" subj=unconfined key=(null)
[ 7.426225] audit: type=1327 audit(1675426184.230:134): proctitle=67646D2D73657373696F6E2D776F726B6572205B70616D2F67646D2D6C61756E63682D656E7669726F6E6D656E745D
[ 7.435274] audit: type=1130 audit(1675426184.236:135): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=user-runtime-dir@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 7.708486] ACPI Warning: _SB.PC00.PEG1.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20210730/nsarguments-61)
[ 8.018663] NVRM: nv_acpi_dsm_method: DSM data invalid!
[ 8.520497] wlp0s20f3: authenticate with e8:65:d4:16:92:70
[ 8.525117] wlp0s20f3: send auth to e8:65:d4:16:92:70 (try 1/3)
[ 8.551962] wlp0s20f3: authenticated
[ 8.552537] wlp0s20f3: associate with e8:65:d4:16:92:70 (try 1/3)
[ 8.569413] wlp0s20f3: RX AssocResp from e8:65:d4:16:92:70 (capab=0x411 status=0 aid=7)
[ 8.574362] wlp0s20f3: associated
[ 8.599701] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-4
[ 8.608821] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-4
[ 8.702910] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 9.572865] i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[ 10.257880] rfkill: input handler disabled
[ 10.406210] Fan event: legion type: 2; acpi type: 3 (1=integer)
[ 11.286891] kauditd_printk_skb: 51 callbacks suppressed
[ 11.286893] audit: type=1130 audit(1675426188.090:171): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=plymouth-quit-wait comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 14.104424] audit: type=1131 audit(1675426190.906:172): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 15.766688] audit: type=1100 audit(1675426192.570:173): pid=4590 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="server" exe="/usr/lib/gdm-session-worker" hostname=server addr=? terminal=/dev/tty1 res=success'
[ 15.767087] audit: type=1101 audit(1675426192.570:174): pid=4590 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="server" exe="/usr/lib/gdm-session-worker" hostname=server addr=? terminal=/dev/tty1 res=success'
[ 15.767564] audit: type=1103 audit(1675426192.570:175): pid=4590 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="server" exe="/usr/lib/gdm-session-worker" hostname=server addr=? terminal=/dev/tty1 res=success'
[ 15.767774] audit: type=1006 audit(1675426192.570:176): pid=4590 uid=0 subj=unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=3 res=1
[ 15.767778] audit: type=1300 audit(1675426192.570:176): arch=c000003e syscall=1 success=yes exit=4 a0=a a1=7ffeda19b1d0 a2=4 a3=7ffeda19aee4 items=0 ppid=3430 pid=4590 auid=1000 uid=0 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm="gdm-session-wor" exe="/usr/lib/gdm-session-worker" subj=unconfined key=(null)
[ 15.767782] audit: type=1327 audit(1675426192.570:176): proctitle=67646D2D73657373696F6E2D776F726B6572205B70616D2F67646D2D70617373776F72645D
[ 15.776485] audit: type=1130 audit(1675426192.580:177): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 15.779656] audit: type=1101 audit(1675426192.583:178): pid=4608 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="server" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 16.282449] rfkill: input handler enabled
[ 18.005683] kauditd_printk_skb: 31 callbacks suppressed
[ 18.005684] audit: type=1130 audit(1675426194.806:196): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=udisks2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 18.374732] rfkill: input handler disabled
[ 18.665221] Bluetooth: RFCOMM TTY layer initialized
[ 18.665229] Bluetooth: RFCOMM socket layer initialized
[ 18.665231] Bluetooth: RFCOMM ver 1.11
[ 20.425327] audit: type=1106 audit(1675426197.226:197): pid=4118 uid=0 auid=120 ses=1 subj=unconfined msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_succeed_if,pam_permit,pam_systemd,pam_env acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=server addr=? terminal=/dev/tty1 res=success'
[ 20.425356] audit: type=1104 audit(1675426197.226:198): pid=4118 uid=0 auid=120 ses=1 subj=unconfined msg='op=PAM:setcred grantors=pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=server addr=? terminal=/dev/tty1 res=success'
[ 30.688238] audit: type=1131 audit(1675426207.490:199): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=user@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 30.693152] audit: type=1131 audit(1675426207.496:200): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=user-runtime-dir@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 31.712748] audit: type=1130 audit(1675426208.516:201): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=pkgfile-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 31.712753] audit: type=1131 audit(1675426208.516:202): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=pkgfile-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 31.754053] audit: type=1334 audit(1675426208.556:203): prog-id=0 op=UNLOAD
[ 33.156136] systemd-journald[405]: Time jumped backwards, rotating.
[ 34.344333] audit: type=1131 audit(1675419011.321:204): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 34.369462] audit: type=1334 audit(1675419011.348:205): prog-id=0 op=UNLOAD
[ 34.369465] audit: type=1334 audit(1675419011.348:206): prog-id=0 op=UNLOAD
[ 34.369466] audit: type=1334 audit(1675419011.348:207): prog-id=0 op=UNLOAD
[ 37.063701] logitech-hidpp-device 0003:046D:4082.0008: HID++ 4.5 device connected.
[ 41.033681] audit: type=1131 audit(1675419018.011:208): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 41.084568] audit: type=1334 audit(1675419018.061:209): prog-id=0 op=UNLOAD
[ 48.440861] audit: type=1131 audit(1675419025.418:210): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 48.537531] audit: type=1131 audit(1675419025.514:211): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 48.552689] audit: type=1334 audit(1675419025.531:212): prog-id=0 op=UNLOAD
[ 48.552693] audit: type=1334 audit(1675419025.531:213): prog-id=0 op=UNLOAD
[ 48.552695] audit: type=1334 audit(1675419025.531:214): prog-id=0 op=UNLOAD
[ 48.669452] audit: type=1334 audit(1675419025.648:215): prog-id=0 op=UNLOAD
[ 48.669455] audit: type=1334 audit(1675419025.648:216): prog-id=0 op=UNLOAD
[ 48.669457] audit: type=1334 audit(1675419025.648:217): prog-id=0 op=UNLOAD
[ 57.297655] audit: type=1334 audit(1675419034.274:218): prog-id=57 op=LOAD
[ 57.297885] audit: type=1334 audit(1675419034.274:219): prog-id=58 op=LOAD
[ 57.297997] audit: type=1334 audit(1675419034.274:220): prog-id=59 op=LOAD
[ 57.323962] audit: type=1130 audit(1675419034.301:221): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 70.036402] audit: type=1131 audit(1675419046.985:222): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 87.205272] usb 3-4: USB disconnect, device number 2
[ 87.414858] audit: type=1131 audit(1675419064.332:223): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 87.501817] audit: type=1334 audit(1675419064.418:224): prog-id=0 op=UNLOAD
[ 87.501821] audit: type=1334 audit(1675419064.418:225): prog-id=0 op=UNLOAD
[ 87.501822] audit: type=1334 audit(1675419064.418:226): prog-id=0 op=UNLOAD
[ 91.129838] usb 3-4: new full-speed USB device number 6 using xhci_hcd
[ 91.274178] usb 3-4: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.11
[ 91.274190] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 91.274192] usb 3-4: Product: USB Receiver
[ 91.274193] usb 3-4: Manufacturer: Logitech
[ 91.283993] logitech-djreceiver 0003:046D:C52B.000B: hiddev96,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-4/input2
[ 91.407790] input: Logitech MX Master 3 as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.2/0003:046D:C52B.000B/0003:046D:4082.000C/input/input49
[ 91.408068] logitech-hidpp-device 0003:046D:4082.000C: input,hidraw2: USB HID v1.11 Keyboard [Logitech MX Master 3] on usb-0000:00:14.0-4/input2:1
[ 91.492211] audit: type=1100 audit(1675419068.407:227): pid=6941 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:authentication grantors=pam_rootok acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 91.492265] audit: type=1101 audit(1675419068.407:228): pid=6941 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:accounting grantors=pam_unix acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 91.492692] audit: type=1103 audit(1675419068.407:229): pid=6941 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:setcred grantors=pam_rootok acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 91.492750] audit: type=1105 audit(1675419068.407:230): pid=6941 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:session_open grantors=pam_unix acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 91.515405] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 91.560437] audit: type=1106 audit(1675419068.477:231): pid=6941 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:session_close grantors=pam_unix acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 91.560441] audit: type=1104 audit(1675419068.477:232): pid=6941 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:setcred grantors=pam_rootok acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 91.991751] logitech-hidpp-device 0003:046D:4082.000C: HID++ 4.5 device connected.
[ 92.316931] r8169 0000:58:00.0 enp88s0: Link is Down
[ 92.605248] audit: type=1100 audit(1675419069.520:233): pid=7666 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:authentication grantors=pam_rootok acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 92.605297] audit: type=1101 audit(1675419069.520:234): pid=7666 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:accounting grantors=pam_unix acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 92.605728] audit: type=1103 audit(1675419069.520:235): pid=7666 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:setcred grantors=pam_rootok acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 92.605805] audit: type=1105 audit(1675419069.520:236): pid=7666 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:session_open grantors=pam_unix acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 92.662643] audit: type=1106 audit(1675419069.577:237): pid=7666 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:session_close grantors=pam_unix acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 92.662660] audit: type=1104 audit(1675419069.577:238): pid=7666 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:setcred grantors=pam_rootok acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 92.802914] audit: type=1100 audit(1675419069.717:239): pid=8357 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:authentication grantors=pam_rootok acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 92.802945] audit: type=1101 audit(1675419069.717:240): pid=8357 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:accounting grantors=pam_unix acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 92.803277] audit: type=1103 audit(1675419069.717:241): pid=8357 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:setcred grantors=pam_rootok acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 92.803314] audit: type=1105 audit(1675419069.717:242): pid=8357 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='op=PAM:session_open grantors=pam_unix acct="server" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
[ 304.289737] kauditd_printk_skb: 2 callbacks suppressed
[ 304.289739] audit: type=1334 audit(1675419281.290:245): prog-id=60 op=LOAD
[ 304.289838] audit: type=1334 audit(1675419281.290:246): prog-id=61 op=LOAD
[ 304.289956] audit: type=1334 audit(1675419281.290:247): prog-id=62 op=LOAD
[ 304.314704] audit: type=1130 audit(1675419281.316:248): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 334.340739] audit: type=1131 audit(1675419311.348:249): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 334.378738] audit: type=1334 audit(1675419311.385:250): prog-id=0 op=UNLOAD
[ 334.378746] audit: type=1334 audit(1675419311.385:251): prog-id=0 op=UNLOAD
[ 334.378747] audit: type=1334 audit(1675419311.385:252): prog-id=0 op=UNLOAD
[ 459.163205] audit: type=1334 audit(1675419436.189:253): prog-id=63 op=LOAD
[ 459.163298] audit: type=1334 audit(1675419436.189:254): prog-id=64 op=LOAD
[ 459.163328] audit: type=1334 audit(1675419436.189:255): prog-id=65 op=LOAD
[ 459.189538] audit: type=1130 audit(1675419436.215:256): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 465.503074] audit: type=1334 audit(1675419442.530:257): prog-id=66 op=LOAD
[ 465.503131] audit: type=1334 audit(1675419442.530:258): prog-id=67 op=LOAD
[ 465.503156] audit: type=1334 audit(1675419442.530:259): prog-id=68 op=LOAD
[ 465.529749] audit: type=1130 audit(1675419442.557:260): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 489.216141] audit: type=1131 audit(1675419466.249:261): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 489.243471] audit: type=1334 audit(1675419466.275:262): prog-id=0 op=UNLOAD
[ 489.243483] audit: type=1334 audit(1675419466.275:263): prog-id=0 op=UNLOAD
[ 489.243484] audit: type=1334 audit(1675419466.275:264): prog-id=0 op=UNLOAD
[ 490.209721] audit: type=1334 audit(1675419467.242:265): prog-id=69 op=LOAD
[ 490.246722] audit: type=1130 audit(1675419467.279:266): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 493.005469] audit: type=1100 audit(1675419470.040:267): pid=13043 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:authentication grantors=pam_unix acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 493.006542] audit: type=1101 audit(1675419470.040:268): pid=13043 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 493.006997] audit: type=1110 audit(1675419470.040:269): pid=13043 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 493.007054] audit: type=1105 audit(1675419470.040:270): pid=13043 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 495.563389] audit: type=1131 audit(1675419472.600:271): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 495.683328] audit: type=1334 audit(1675419472.720:272): prog-id=0 op=UNLOAD
[ 495.683336] audit: type=1334 audit(1675419472.720:273): prog-id=0 op=UNLOAD
[ 495.683337] audit: type=1334 audit(1675419472.720:274): prog-id=0 op=UNLOAD
[ 520.974690] audit: type=1131 audit(1675419498.016:275): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 521.010890] audit: type=1334 audit(1675419498.053:276): prog-id=0 op=UNLOAD
[ 658.455136] Fan event: legion type: 2; acpi type: 3 (1=integer)
[ 903.353940] audit: type=1130 audit(1675419880.347:277): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 903.353945] audit: type=1131 audit(1675419880.347:278): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 997.002596] audit: type=1334 audit(1675419973.993:279): prog-id=70 op=LOAD
[ 997.040658] audit: type=1130 audit(1675419974.033:280): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 998.919150] audit: type=1100 audit(1675419975.910:281): pid=14467 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:authentication grantors=pam_unix acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 998.919893] audit: type=1101 audit(1675419975.910:282): pid=14467 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 998.920450] audit: type=1110 audit(1675419975.913:283): pid=14467 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 998.920506] audit: type=1105 audit(1675419975.913:284): pid=14467 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 998.932114] audit: type=1106 audit(1675419975.923:285): pid=14467 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 998.932142] audit: type=1104 audit(1675419975.923:286): pid=14467 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1006.244593] audit: type=1101 audit(1675419983.237:287): pid=14491 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1006.244924] audit: type=1110 audit(1675419983.237:288): pid=14491 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1006.244931] audit: type=1105 audit(1675419983.237:289): pid=14491 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1006.252817] audit: type=1106 audit(1675419983.243:290): pid=14491 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1006.252823] audit: type=1104 audit(1675419983.243:291): pid=14491 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1014.958394] audit: type=1101 audit(1675419991.950:292): pid=14532 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1014.958539] audit: type=1110 audit(1675419991.950:293): pid=14532 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1014.958589] audit: type=1105 audit(1675419991.950:294): pid=14532 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1014.967446] legion_laptop 0.1 starts unloading
[ 1014.967456] Unloading legion
[ 1014.967457] Unloading legion WMI
[ 1014.967524] Unloading legion WMI done
[ 1014.967524] Unloading legion platform profile
[ 1014.967526] Unloading legion platform profile done
[ 1016.468076] Unloading legion hwon
[ 1016.468127] Unloading legion hwon done
[ 1016.468128] Unloading legion sysfs
[ 1016.468129] Unloading legion sysfs done
[ 1016.468130] Unloading legion dubugfs
[ 1016.468136] Unloading legion dubugfs done
[ 1016.468136] Unloading legion ecram
[ 1016.468137] Unmapping embedded controller memory at 0xfe00d400 (in RAM)/0xc400 (in EC) at virtual 0x00000000ac59ed6d
[ 1016.468149] Unloading legion ecram done
[ 1016.468150] Unloading legion shared
[ 1016.468150] Unloading legion shared done
[ 1016.468150] Legion platform unloaded
[ 1016.469011] legion_laptop 0.1 unloaded
[ 1016.496203] legion_laptop 0.1 starts loading
[ 1016.496210] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82JF; DMI_BIOS_VERSION:H1CN51WW
[ 1016.496260] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[ 1016.496261] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82JF; DMI_BIOS_VERSION:H1CN51WW
[ 1016.496263] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[ 1016.496263] legion PNP0C09:00: Using configuration for system: H1CN
[ 1016.496274] Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0xc400 (in EC) to virtual 0x00000000ac59ed6d
[ 1016.496568] legion PNP0C09:00: Read embedded controller ID 0x8227
[ 1016.496569] legion PNP0C09:00: Creating debugfs inteface
[ 1016.496572] Creating sysfs inteface
[ 1016.496574] Creating hwmon interface
[ 1016.496614] Creating platform profile support
[ 1016.496615] Init WMI driver support
[ 1016.496628] legion_wmi PNP0C14:02-887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[ 1016.496645] legion_wmi PNP0C14:02-BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[ 1016.496652] legion_wmi PNP0C14:02-D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[ 1016.496659] legion_wmi PNP0C14:02-BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[ 1016.496666] legion_wmi PNP0C14:02-BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[ 1016.496671] legion_wmi PNP0C14:02-10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[ 1016.496676] legion_wmi PNP0C14:02-D320289E-8FEA-41E0-86F9-611D83151B5F: Register after probing for WMI.
[ 1016.496687] legion_wmi PNP0C14:03-8FC0DE0C-B4E4-43FD-B0F3-8871711C1294: Register after probing for WMI.
[ 1016.496698] legion PNP0C09:00: legion_laptop loaded for this device
[ 1016.518913] audit: type=1106 audit(1675419993.510:295): pid=14532 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1016.518922] audit: type=1104 audit(1675419993.510:296): pid=14532 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 1016.546494] Fan event: legion type: 2; acpi type: 3 (1=integer)
[ 1027.020567] audit: type=1131 audit(1675420004.014:297): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1027.053018] audit: type=1334 audit(1675420004.047:298): prog-id=0 op=UNLOAD
[ 1229.944940] Ignoring invalid fancurve value 1500 for attribute 1 at point 0
[ 1229.958887] Ignoring invalid fancurve value 1500 for attribute 2 at point 0
[ 1363.431244] Ignoring invalid fancurve value 1500 for attribute 1 at point 0
[ 1363.445175] Ignoring invalid fancurve value 1500 for attribute 2 at point 0
[ 1444.717641] audit: type=1334 audit(1675420421.719:299): prog-id=71 op=LOAD
[ 1444.755827] audit: type=1130 audit(1675420421.759:300): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1446.424624] audit: type=1100 audit(1675420423.425:301): pid=15128 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:authentication grantors=pam_unix acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1446.425612] audit: type=1101 audit(1675420423.428:302): pid=15128 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1446.426178] audit: type=1110 audit(1675420423.428:303): pid=15128 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1446.426180] audit: type=1105 audit(1675420423.428:304): pid=15128 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1446.435488] audit: type=1106 audit(1675420423.438:305): pid=15128 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1446.435497] audit: type=1104 audit(1675420423.438:306): pid=15128 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1459.649947] audit: type=1101 audit(1675420436.651:307): pid=15161 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1459.650220] audit: type=1110 audit(1675420436.651:308): pid=15161 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1459.650230] audit: type=1105 audit(1675420436.651:309): pid=15161 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1469.378772] audit: type=1334 audit(1675420446.381:310): prog-id=72 op=LOAD
[ 1469.379051] audit: type=1334 audit(1675420446.381:311): prog-id=73 op=LOAD
[ 1469.379138] audit: type=1334 audit(1675420446.381:312): prog-id=74 op=LOAD
[ 1469.404131] audit: type=1130 audit(1675420446.405:313): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1471.159731] audit: type=1334 audit(1675420448.161:314): prog-id=75 op=LOAD
[ 1471.159735] audit: type=1334 audit(1675420448.161:315): prog-id=0 op=UNLOAD
[ 1471.159894] audit: type=1334 audit(1675420448.161:316): prog-id=76 op=LOAD
[ 1471.159991] audit: type=1334 audit(1675420448.161:317): prog-id=77 op=LOAD
[ 1471.159996] audit: type=1334 audit(1675420448.161:318): prog-id=0 op=UNLOAD
[ 1471.160000] audit: type=1334 audit(1675420448.161:319): prog-id=0 op=UNLOAD
[ 1475.012010] kauditd_printk_skb: 28 callbacks suppressed
[ 1475.012012] audit: type=1131 audit(1675420452.014:348): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1475.043346] audit: type=1334 audit(1675420452.044:349): prog-id=0 op=UNLOAD
[ 1512.437449] audit: type=1131 audit(1675420489.441:350): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1512.546144] audit: type=1334 audit(1675420489.551:351): prog-id=0 op=UNLOAD
[ 1512.546155] audit: type=1334 audit(1675420489.551:352): prog-id=0 op=UNLOAD
[ 1512.546156] audit: type=1334 audit(1675420489.551:353): prog-id=0 op=UNLOAD
[ 1978.010015] systemd[1]: systemd 252.5-1-manjaro running in system mode (+PAM +AUDIT -SELINUX -APPARMOR -IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[ 1978.026223] systemd[1]: Detected architecture x86-64.
[ 1978.028377] audit: type=1334 audit(1675420955.040:354): prog-id=92 op=LOAD
[ 1978.028383] audit: type=1334 audit(1675420955.040:355): prog-id=0 op=UNLOAD
[ 1978.028384] audit: type=1334 audit(1675420955.040:356): prog-id=93 op=LOAD
[ 1978.028386] audit: type=1334 audit(1675420955.040:357): prog-id=0 op=UNLOAD
[ 1978.028656] audit: type=1334 audit(1675420955.040:358): prog-id=94 op=LOAD
[ 1978.028658] audit: type=1334 audit(1675420955.040:359): prog-id=0 op=UNLOAD
[ 1978.028809] audit: type=1334 audit(1675420955.040:360): prog-id=95 op=LOAD
[ 1978.028810] audit: type=1334 audit(1675420955.040:361): prog-id=0 op=UNLOAD
[ 1978.028921] audit: type=1334 audit(1675420955.040:362): prog-id=96 op=LOAD
[ 1978.028922] audit: type=1334 audit(1675420955.040:363): prog-id=0 op=UNLOAD
[ 1978.042509] systemd[1]: bpf-lsm: BPF LSM hook not enabled in the kernel, BPF LSM not supported
[ 1987.522445] kauditd_printk_skb: 46 callbacks suppressed
[ 1987.522447] audit: type=1334 audit(1675420964.537:410): prog-id=120 op=LOAD
[ 1987.522685] audit: type=1334 audit(1675420964.537:411): prog-id=121 op=LOAD
[ 1987.522811] audit: type=1334 audit(1675420964.537:412): prog-id=122 op=LOAD
[ 1987.546441] audit: type=1130 audit(1675420964.561:413): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1990.892378] audit: type=1334 audit(1675420967.904:414): prog-id=123 op=LOAD
[ 1990.892381] audit: type=1334 audit(1675420967.904:415): prog-id=0 op=UNLOAD
[ 1990.893008] audit: type=1334 audit(1675420967.904:416): prog-id=124 op=LOAD
[ 1990.893011] audit: type=1334 audit(1675420967.904:417): prog-id=0 op=UNLOAD
[ 1990.894340] audit: type=1334 audit(1675420967.904:418): prog-id=125 op=LOAD
[ 1990.894433] audit: type=1334 audit(1675420967.904:419): prog-id=126 op=LOAD
[ 2026.058974] kauditd_printk_skb: 26 callbacks suppressed
[ 2026.058976] audit: type=1131 audit(1675421003.072:446): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2026.171004] audit: type=1334 audit(1675421003.185:447): prog-id=0 op=UNLOAD
[ 2026.171007] audit: type=1334 audit(1675421003.185:448): prog-id=0 op=UNLOAD
[ 2026.171008] audit: type=1334 audit(1675421003.185:449): prog-id=0 op=UNLOAD
[ 2034.506508] audit: type=1106 audit(1675421011.519:450): pid=15161 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2034.506529] audit: type=1104 audit(1675421011.519:451): pid=15161 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2046.730809] audit: type=1334 audit(1675421023.746:452): prog-id=139 op=LOAD
[ 2046.769266] audit: type=1130 audit(1675421023.783:453): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2048.779169] audit: type=1100 audit(1675421025.793:454): pid=30280 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:authentication grantors=pam_unix acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2048.780292] audit: type=1101 audit(1675421025.796:455): pid=30280 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2048.780892] audit: type=1110 audit(1675421025.796:456): pid=30280 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2048.780896] audit: type=1105 audit(1675421025.796:457): pid=30280 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2048.825808] audit: type=1131 audit(1675421025.840:458): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=lm_sensors comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2076.998481] audit: type=1131 audit(1675421054.011:459): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2077.022282] audit: type=1334 audit(1675421054.038:460): prog-id=0 op=UNLOAD
[ 2089.985445] audit: type=1334 audit(1675421067.001:461): prog-id=140 op=LOAD
[ 2089.985449] audit: type=1334 audit(1675421067.001:462): prog-id=0 op=UNLOAD
[ 2089.986154] audit: type=1334 audit(1675421067.001:463): prog-id=141 op=LOAD
[ 2089.986163] audit: type=1334 audit(1675421067.001:464): prog-id=0 op=UNLOAD
[ 2089.987513] audit: type=1334 audit(1675421067.001:465): prog-id=142 op=LOAD
[ 2089.987619] audit: type=1334 audit(1675421067.001:466): prog-id=143 op=LOAD
[ 2089.987629] audit: type=1334 audit(1675421067.001:467): prog-id=0 op=UNLOAD
[ 2089.987634] audit: type=1334 audit(1675421067.001:468): prog-id=0 op=UNLOAD
[ 2089.988579] audit: type=1334 audit(1675421067.005:469): prog-id=144 op=LOAD
[ 2089.988592] audit: type=1334 audit(1675421067.005:470): prog-id=0 op=UNLOAD
[ 2280.512908] kauditd_printk_skb: 19 callbacks suppressed
[ 2280.512910] audit: type=1334 audit(1675421257.536:490): prog-id=153 op=LOAD
[ 2280.513054] audit: type=1334 audit(1675421257.536:491): prog-id=154 op=LOAD
[ 2280.513288] audit: type=1334 audit(1675421257.540:492): prog-id=155 op=LOAD
[ 2280.540485] audit: type=1130 audit(1675421257.566:493): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2284.368724] audit: type=1701 audit(1675421261.393:494): auid=1000 uid=1000 gid=1000 ses=4 subj=unconfined pid=5228 comm=5468726561642028706F6F6C656429 exe="/usr/lib/baloo_file" sig=6 res=1
[ 2284.385121] audit: type=1334 audit(1675421261.410:495): prog-id=156 op=LOAD
[ 2284.385187] audit: type=1334 audit(1675421261.410:496): prog-id=157 op=LOAD
[ 2284.385295] audit: type=1334 audit(1675421261.410:497): prog-id=158 op=LOAD
[ 2284.386118] audit: type=1130 audit(1675421261.410:498): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-coredump@0-31160-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2284.613520] audit: type=1131 audit(1675421261.640:499): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-coredump@0-31160-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2310.570991] kauditd_printk_skb: 3 callbacks suppressed
[ 2310.571010] audit: type=1131 audit(1675421287.594:503): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2310.718645] audit: type=1334 audit(1675421287.744:504): prog-id=0 op=UNLOAD
[ 2310.718656] audit: type=1334 audit(1675421287.744:505): prog-id=0 op=UNLOAD
[ 2310.718658] audit: type=1334 audit(1675421287.744:506): prog-id=0 op=UNLOAD
[ 3064.505987] audit: type=1334 audit(1675422041.533:507): prog-id=159 op=LOAD
[ 3064.544204] audit: type=1130 audit(1675422041.573:508): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3066.857355] audit: type=1100 audit(1675422043.887:509): pid=31818 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:authentication grantors=pam_unix acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 3066.858511] audit: type=1101 audit(1675422043.887:510): pid=31818 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="server" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 3066.858986] audit: type=1110 audit(1675422043.887:511): pid=31818 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 3066.859035] audit: type=1105 audit(1675422043.887:512): pid=31818 uid=1000 auid=1000 ses=4 subj=unconfined msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'



</details>

Add releases to ensure some basic stability

It seems this module is growing every day gaining more features, which is pretty awesome 😃
However I recently came across stability issues, errors while building a module, DKMS build script missing, etc.

IMHO it will be a good idea to do use releases to give people some anchor points on which version works for them, because main branch is a work in progress and today could be fine but tomorrow could be totally broken - which already happened more than once.

[BUG] Nobara 38 module keeps unlaoding after restart

Problem Descripition
Usually i do not have problems installing this module but on nobara its a diffrent story
The module doesn't load after install , i have to type "sudo make reloadmodule" to properly load it and it goes away after
a restart
This does not happen on fedora either

Sorry if this is a very obvious fix , i am a novice in linux

Model and Debug Info

Lenovo Ideapad Gaming 3 15aCH6

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

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

Legion S7 16ARHA7: Module fails to load on F37

Hello John, and thank you for the good work you're doing!

Can't load the module on my S7, but i'm ready to provide all the info you need.

LenovoLegionLinux/kernel_module on  main via C v12.2.1-gcc
❯ make
make -C /lib/modules/6.1.6-200.fc37.x86_64/build M=/home/tonky/projects/LenovoLegionLinux/kernel_module modules
make[1]: Entering directory '/usr/src/kernels/6.1.6-200.fc37.x86_64'
make[1]: Leaving directory '/usr/src/kernels/6.1.6-200.fc37.x86_64'

❯ sudo make reloadmodule
[...]
[126675.495248] legion_laptop: loading out-of-tree module taints kernel.
[126675.495305] legion_laptop: module verification failed: signature and/or required key missing - tainting kernel
[126675.495928] legion_laptop 0.1 starts loading
[126675.495930] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UG; DMI_BIOS_VERSION:KFCN32WW
[126675.495980] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[126675.495981] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UG; DMI_BIOS_VERSION:KFCN32WW
[126675.495982] legion PNP0C09:00: is_denied: 0; is_allowed: 0
[126675.495983] legion PNP0C09:00: Module not useable for this laptop because it is not in allowlist. Notify maintainer if you want to add your device or force load with param force.
[126675.495984] legion PNP0C09:00: legion_laptop not loaded for this device
[126675.496014] legion: probe of PNP0C09:00 failed with error -12

❯ uname -a
Linux fedora 6.1.6-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jan 14 16:55:06 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

top of lshw:

fedora
    description: Notebook
    product: 82UG (LENOVO_MT_82UG_BU_idea_FM_Legion S7 16ARHA7)
    vendor: LENOVO
    version: Legion S7 16ARHA7
    serial: PF46VJ2P
    width: 64 bits
    capabilities: smbios-3.4.0 dmi-3.4.0 smp vsyscall32
    configuration: administrator_password=disabled boot=normal chassis=notebook family=Legion S7 16ARHA7 frontpanel_password=disabled keyboard_password=disabled power-on_pass
word=disabled sku=LENOVO_MT_82UG_BU_idea_FM_Legion S7 16ARHA7 uuid=F7DB42E0-5845-ED11-80F3-9C2DCDA28A9E
  *-core
       description: Motherboard
       product: LNVNB161216
       vendor: LENOVO
       physical id: 0
       version: NO DPK
       serial: PF46VJ2P
       slot: Base Board Chassis Location
     *-firmware
          description: BIOS
          vendor: LENOVO
          physical id: 0
          version: KFCN32WW
          date: 09/29/2022
          size: 128KiB
          capacity: 32MiB
          capabilities: pci upgrade shadowing cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb biosbootspecification uefi
     *-cpu
          description: CPU
          product: AMD Ryzen 9 6900HX with Radeon Graphics
          vendor: Advanced Micro Devices [AMD]
          physical id: 4
          bus info: cpu@0
          version: AMD Ryzen 9 6900HX with Radeon Graphics
          serial: Unknown
          slot: FP7

[BUG] Can't disable G-Sync on Legion 5 17ACH6

Problem Descripition
I have a Legion 5 17ACH6. The display has no G-Sync support.
After enabling G-Sync through the UI, it can't be disabled anymore. The checkbox stays checked.

Model and Debug Info

Model name: Legion 5 17ACH6
CPU model: AMD Ryzen 7 5800H
GPU model: NVIDIA RTX 3070
Keyboard backlight: single color with off/medium/bright

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

# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 82JY
	Version: Legion 5 17ACH6H
	Serial Number: xxx
	UUID: xxx
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_82JY_BU_idea_FM_Legion 5 17ACH6H
	Family: Legion 5 17ACH6H

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

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

Output of sudo dmidecode -t bios:

# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
	Vendor: LENOVO
	Version: GKCN58WW
	Release Date: 09/15/2022
	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: 1.58
	Firmware Revision: 1.58

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

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

EC Chip ID: 8227
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289482
temperature access method: 1
CPU temperature error: 0
CPU temperature: 63
CPU temperature EC error: 0
CPU temperature EC: 63
CPU temperature ACPI error: 0
CPU temperature ACPI: 63
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: 0
CPU temperature WMI2: 63
GPU temperature error: 0
GPU temperature: 47
GPU temperature EC error: 0
GPU temperature EC: 47
GPU temperature ACPI error: 0
GPU temperature ACPI: 47
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: 0
GPU temperature WMI2: 47
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 5458
1 fanspeed EC error: 0
1 fanspeed EC: 5458
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 5400
1 fanspeed WMI error: 0
1 fanspeed WMI: 0
1 fanspeed WMI2 error: 0
1 fanspeed WMI2: 5400
2 fanspeed error: 0
2 fanspeed: 5528
2 fanspeed EC error: 0
2 fanspeed EC: 5528
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 5500
2 fanspeed WMI error: 0
2 fanspeed WMI: 0
2 fanspeed WMI2 error: 0
2 fanspeed WMI2: 5500
powermode access method: 3
powermode error: 0
powermode: 255
powermode EC error: 0
powermode EC: 1
powermode ACPI error: -5
powermode ACPI: -1750041368
powermode WMI error: 0
powermode WMI: 255
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: 2
EC minifancurve feature enabled: 1
EC minifancurve on cool: true
EC lockfancontroller error: 0
EC lockfancontroller: false
EC fanfullspeed error: false
EC fanfullspeed status: 0
EC fan curve current point id: 4
EC fan curve points size: 10
Current fan curve in hardware (embedded controller):
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0	 0	 2	 2	 0	 48	 0	 60	 0	 42
1700	 1900	 2	 2	 45	 54	 56	 60	 39	 44
1900	 2000	 2	 2	 51	 58	 56	 60	 42	 50
2200	 2100	 2	 2	 55	 62	 56	 60	 46	 127
2300	 2400	 2	 2	 59	 71	 56	 60	 127	 127
2600	 2700	 2	 2	 68	 76	 56	 65	 127	 127
2900	 3000	 2	 2	 72	 81	 61	 69	 127	 127
3500	 3500	 2	 2	 78	 90	 66	 77	 127	 127
3800	 3800	 2	 2	 87	 95	 72	 79	 127	 127
4500	 4500	 2	 2	 91	 127	 78	 127	 127	 127
=====================

Battery Conservation Percentage Slider

Is your feature request related to a problem? Please describe.
I don't have a particularly striking issue, however I wish that the Battery Conservation's set percentage was higher than 50%.

Describe the solution you'd like
I think having a slider feature to select at what percentage of battery this tool will stay at would be good.

Describe alternatives you've considered
I haven't found any alternatives as of writing this.

Model and Debug Info

Model name: Lenovo Legion Y9000P IAH7H
CPU model: Intel Core i7-12700H
GPU model: NVIDIA RTX 3060
Keyboard backlight: Single color with off/medium/bright

Extra Note: Also, my main reason for making a feature request was cuz I wanted to ask if there was a way for be to configure conservation mode to hold the power at around 80%. If someone can tell me how I can do that, it would be super great.

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

Getting SMBIOS data from sysfs.
SMBIOS 3.3 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 82RF
	Version: Legion Y9000P IAH7H
	Serial Number: --------------
	UUID: -------------
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_82RF_BU_idea_FM_Legion Y9000P IAH7H
	Family: Legion Y9000P IAH7H

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:

Getting SMBIOS data from sysfs.
SMBIOS 3.3 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
	Vendor: LENOVO
	Version: J2CN49WW
	Release Date: 11/25/2022
	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: 1.49
	Firmware Revision: 1.49

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:

EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289494
temperature access method: 1
CPU temperature error: 0
CPU temperature: 46
CPU temperature EC error: 0
CPU temperature EC: 46
CPU temperature ACPI error: 0
CPU temperature ACPI: 45
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: 0
CPU temperature WMI2: 45
GPU temperature error: 0
GPU temperature: 0
GPU temperature EC error: 0
GPU temperature EC: 0
GPU temperature ACPI error: 0
GPU temperature ACPI: 0
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: 0
GPU temperature WMI2: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 2024
1 fanspeed EC error: 0
1 fanspeed EC: 2024
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 2000
1 fanspeed WMI error: 0
1 fanspeed WMI: 0
1 fanspeed WMI2 error: 0
1 fanspeed WMI2: 2000
2 fanspeed error: 0
2 fanspeed: 2145
2 fanspeed EC error: 0
2 fanspeed EC: 2145
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 2100
2 fanspeed WMI error: 0
2 fanspeed WMI: 0
2 fanspeed WMI2 error: 0
2 fanspeed WMI2: 2100
powermode access method: 3
powermode error: 0
powermode: 1
powermode EC error: 0
powermode EC: 2
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
EC minifancurve feature enabled: 1
EC minifancurve on cool: true
EC lockfancontroller error: 0
EC lockfancontroller: false
EC fanfullspeed error: false
EC fanfullspeed status: 0
EC fan curve current point id: 3
EC fan curve points size: 9
Current fan curve in hardware (embedded controller):
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0	 0	 5	 5	 0	 127	 0	 47	 0	 37
1700	 1600	 5	 5	 127	 127	 43	 52	 33	 41
1800	 1800	 5	 5	 127	 127	 48	 57	 38	 48
2000	 2100	 5	 5	 127	 127	 53	 64	 43	 127
2200	 2300	 2	 2	 127	 127	 60	 75	 127	 127
2500	 2600	 2	 2	 127	 127	 71	 78	 127	 127
2800	 2900	 2	 2	 127	 127	 75	 81	 127	 127
3000	 3100	 2	 2	 127	 127	 78	 84	 127	 127
3400	 3500	 2	 2	 127	 127	 81	 127	 127	 127
=====================

Legion Slim 5 16APH8 Support

Model name: Lenovo Legion Slim 5 16APH8
CPU model: AMD Ryzen 7 7840HS
GPU model: NVIDIA RTX 4060 Mobile
Keyboard backlight: RGB
OS: Archlinux

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

SMBIOS 3.4.0 present.

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

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

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

Output of sudo dmidecode -t bios:

Getting SMBIOS data from sysfs.
SMBIOS 3.4.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: LENOVO
        Version: M3CN31WW
        Release Date: 04/21/2023
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 32 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: 1.31
        Firmware Revision: 1.31

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

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

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

fwts_wmi.log
acpi_re.tar.gz
wmi_windows.txt

Output of sudo make forcereloadmodule:

legion_laptop: legion_laptop starts loading
legion PNP0C09:00: legion_laptop platform driver probing
legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82Y9;  DMI_BIOS_VERSION:M3CN31WW
legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82Y9; DMI_BIOS_VERSION:M3CN31WW
legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0
legion PNP0C09:00: Module not useable for this laptop because it is not in allowlist. Notify maintainer if you want to add your device or force load with param force.
legion PNP0C09:00: legion_laptop not loaded for this device
legion: probe of PNP0C09:00 failed with error -12
legion_laptop: legion_laptop exit
legion_laptop: legion_laptop starts loading
legion PNP0C09:00: legion_laptop platform driver probing
legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82Y9; DMI_BIOS_VERSION:M3CN31WW
legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82Y9; DMI_BIOS_VERSION:M3CN31WW
legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
legion PNP0C09:00: legion_laptop is forced to load.
legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
legion PNP0C09:00: Using configuration for system: GKCN
legion PNP0C09:00: Could not evaluate ACPI _STA
legion PNP0C09:00: Could not init ACPI access
legion_laptop: Unloading legion shared
legion_laptop: Unloading legion shared done
legion PNP0C09:00: legion_laptop not loaded for this device
legion: probe of PNP0C09:00 failed with error -5
legion_laptop: legion_laptop exit
legion_laptop: legion_laptop starts loading
legion PNP0C09:00: legion_laptop platform driver probing
legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82Y9; DMI_BIOS_VERSION:M3CN31WW
legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82Y9; DMI_BIOS_VERSION:M3CN31WW
legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
legion PNP0C09:00: legion_laptop is forced to load.
legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
legion PNP0C09:00: Using configuration for system: GKCN
legion PNP0C09:00: Could not evaluate ACPI _STA
legion PNP0C09:00: Could not init ACPI access
legion_laptop: Unloading legion shared
legion_laptop: Unloading legion shared done
legion PNP0C09:00: legion_laptop not loaded for this device

Thanks, let me know if you need any more information to get this model working.

Secure Boot key signing

Hello!, first of all, thank you for create LenovoLegionLinux!!!

I'm trying to follow your guide, but no idea how to sign -whatever... file?- to get secure boot enabled and have everything working.

From here:
https://github.com/dell/dkms#secure-boot

"With the appropriate key material on the system, enroll the public key:"

What's "appropiate key material" of LLL? LenovoLegionLinux/kernel_module/legion-laptop.ko?. If I do: mokutil --import /LenovoLegionLinux/kernel_module/legion-laptop.ko
it tells to me:
Abort!!! legion-laptop.ko is not a valid x509 certificate in DER format

Sorry, I've never in my life signed anything, I have no idea what to do or what I need to sign or why if I use

<<mokutil --import /var/lib/dkms/mok.pub">> (with than end " and without it)

I don't receive any requesting for put a secure boot password.

I'm absolutely blind about this issue.

Anybody can point so lose people as myself in the right way?

Lenovo Ideapad Gaming 3 15ACH6 Power plan in Gnome

Fan control and other Legion stuff will never be supported for this laptop but when i was testing i noticed that power profiles also didn't work

Is there any way to make them work with gnome power profile daemon so we get better integration , would make Linux much nicer to use
IDK if it's possible tho

Support Fn+R refresh rate toggle

now I use a script to toggle refresh rate

https://github.com/st0nie/refreshd

and acpid event file

event=1E3391A1-2C89- 000000e8 00000000
action=sudo -u ston HOME=/home/ston/ DIPLAY=":1" XDG_RUNTIME_DIR=/run/user/1000 QT_QPA_PLATFORM=wayland /home/ston/.local/bin/refreshed toggle

But there is a problem with this. any fn+letter key combination triggers this toggle. Is there a way to only use fn+q?

Kernel patch?

Would you be able to provide a kernel patch as an alternative to the kernel module?

I would feel much more comfortable patching this into the Nobara kernel and providing the GUI tool as a package rather than relying on users to try install the kernel module.

Support for Lenovo Legion 7 2022 - Legion 7 16ARHA7

Hi,

I found your project when looking around for options to tweak power profiles so that I can get more battery life.

From a previous ticket I saw you guiding the reporter to provide you the DSDT.dsl file ( #13 ) so I went ahead and already uploaded that.

The current code compiles but the module refuses to load on 6.1, 6.2 and 6.3 the messages are identical.

sudo make reloadmodule

...
[ 1741.406538] legion_laptop 0.1 starts unloading
[ 1741.406569] legion_laptop 0.1 unloaded
[ 1741.421131] legion_laptop 0.1 starts loading
[ 1741.421133] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UH; DMI_BIOS_VERSION:K9CN38WW
[ 1741.421193] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[ 1741.421194] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UH; DMI_BIOS_VERSION:K9CN38WW
[ 1741.421196] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0
[ 1741.421197] legion PNP0C09:00: Module not useable for this laptop because it is not in allowlist. Notify maintainer if you want to add your device or force load with param force.
[ 1741.421198] legion PNP0C09:00: legion_laptop not loaded for this device
[ 1741.421237] legion: probe of PNP0C09:00 failed with error -12

When trying to load with forcereload I get the following:

sudo make forcereloadmodule

...
[ 1686.086164] legion_laptop 0.1 starts unloading
[ 1686.086203] legion_laptop 0.1 unloaded
[ 1686.097996] legion_laptop 0.1 starts loading
[ 1686.097998] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UH; DMI_BIOS_VERSION:K9CN38WW
[ 1686.098058] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[ 1686.098060] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UH; DMI_BIOS_VERSION:K9CN38WW
[ 1686.098061] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
[ 1686.098063] legion PNP0C09:00: legion_laptop is forced to load.
[ 1686.098063] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
[ 1686.098064] legion PNP0C09:00: Using configuration for system: GKCN
[ 1686.098078] Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0xc400 (in EC) to virtual 0x00000000f573450b
[ 1686.098174] legion PNP0C09:00: Read embedded controller ID 0x5507
[ 1686.098175] legion PNP0C09:00: Expected EC chip id 0x8227 but read 0x5507
[ 1686.098176] Unloading legion ecram
[ 1686.098176] Unmapping embedded controller memory at 0xfe00d400 (in RAM)/0xc400 (in EC) at virtual 0x00000000f573450b
[ 1686.098177] Unloading legion ecram done
[ 1686.098177] Unloading legion shared
[ 1686.098178] Unloading legion shared done
[ 1686.098178] legion PNP0C09:00: legion_laptop not loaded for this device
[ 1686.098238] legion: probe of PNP0C09:00 failed with error -12

As requested in the other ticket, please find attached the DSDT.dsl file:

DSDT_16ARHA7.zip

I took a look around and found the region with most of the fields is at: 0xFE0B0400

OperationRegion (ERAX, SystemMemory, 0xFE0B0400, 0xFF)
                    Field (ERAX, ByteAcc, Lock, Preserve)

The next best list of fields was a bit further down:

                    Scope (\)
                    {
                        OperationRegion (LFCN, SystemMemory, 0x92DD2298, 0x0377)
                        Field (LFCN, AnyAcc, Lock, Preserve)

I also had a look at your code but couldn't figure out how you know what to map.

Thank you for this project. Let me know if any further information is needed.

[BUG] Is Legion 7i Pro 2023 supported?

Problem Descripition
I am running latest Arch Linux and I successfully installed the kernel dkms.

The modules legion_laptop are loaded, however in dmesg I found that legion PNP0C09:00: legion_laptop not loaded for this device.

Just wondering if we can use the tool for the latest Legion 7i Pro 2023, in China Y9000P 至尊版 2023

Model and Debug Info

Distribution: 6.3.4-2-MANJARO (64-bit) (including version, e.g. Ubuntu 24.04)
Model name: Legion Y9000P IRX8H
CPU model: Intel 13900HX (e.g. AMD Ryzen 7 5800H)
GPU model: NVIDIA RTX 4090 (e.g NVIDIA RTX 3700)
Keyboard backlight: single color with off/medium/bright (RGB, single color with off/on, single color with off/medium/bright)
Light in lid or logo: ??? (yes/no)
Light at IO-Ports at back: ??? (yes/no)

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

Getting SMBIOS data from sysfs.
SMBIOS 3.4 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 82WQ
        Version: Legion Y9000P IRX8H
        Serial Number: 
        UUID: 
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_82WQ_BU_idea_FM_Legion Y9000P IRX8H
        Family: Legion Y9000P IRX8H

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.5
Getting SMBIOS data from sysfs.
SMBIOS 3.4 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: LENOVO
        Version: KWCN36WW
        Release Date: 04/28/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: 1.36
        Firmware Revision: 1.36

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

help pls

i accidentally installed the app and messed up the whole fan curve how can i set it back to normal how it was before
current config

EC Chip ID: 8227
EC Chip Version: 2a4
legion_laptop version: 0.1
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
minifancurve feature enabled: 1
minifancurve on cool: false
lock fan controller: true
enable maximumfanspeed: error
enable maximumfanspeed status: -1
fan curve current point id: 0
fan curve points size: 4
Current fan curve in hardware (embedded controller):
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0 0 2 2 0 0 0 127 0 37
1800 1800 2 2 0 35 127 127 33 40
2400 2400 2 2 35 45 127 127 37 43
2800 2800 2 2 45 59 127 127 40 43

please send me a good config or how to reset it in basic ways since its been only 1 moth i startes using ubuntu

[BUG] Keyboard leds on 2021 model

Problem Descripition
Running sudo dmesg everything seems fine except for the keyboard LEDs apparently. I received the following lines from the command output:

[47680.799426] legion_laptop: Error ACPI call for reading keyboard brightness: expected a value between 1 and 2, but got 0
[47680.799427] legion_laptop: Error reading brighntess for light: 5
[47680.799428] legion PNP0C09:00: Init IO-Port LED driver failed. Skipping ...

But I didn't notice any apparent impact, I can still change the intensity of the keyboard's leds with FN+Space.
In all other tests listed in the README there were no errors.

Model and Debug Info

Distribution: Fedora 37
Model name: Lenovo Legion 5 15ACH6
CPU model: AMD Ryzen 7 5800H
GPU model: NVIDIA RTX 3050
Keyboard backlight: single color with off/medium/bright
Light in lid or logo: no
Light at IO-Ports at back: yes

Note: All information below was taken with the module not permanently installed.

Output of sudo dmidecode -t system.

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

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 82QJ
	Version: Legion 5 15ACH6
	Serial Number: xxxxxxxx
	UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_82QJ_BU_idea_FM_Legion 5 15ACH6
	Family: Legion 5 15ACH6

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

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

Output of sudo dmidecode -t bios:

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

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
	Vendor: LENOVO
	Version: HHCN29WW
	Release Date: 06/16/2022
	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: 1.29
	Firmware Revision: 1.29

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

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

EC Chip ID: 8227
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289482
temperature access method: 1
CPU temperature error: 0
CPU temperature: 50
CPU temperature EC error: 0
CPU temperature EC: 50
CPU temperature ACPI error: 0
CPU temperature ACPI: 50
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: 0
CPU temperature WMI2: 50
GPU temperature error: 0
GPU temperature: 0
GPU temperature EC error: 0
GPU temperature EC: 0
GPU temperature ACPI error: 0
GPU temperature ACPI: 0
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: 0
GPU temperature WMI2: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 1761
1 fanspeed EC error: 0
1 fanspeed EC: 1761
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 1700
1 fanspeed WMI error: 0
1 fanspeed WMI: 0
1 fanspeed WMI2 error: 0
1 fanspeed WMI2: 1700
2 fanspeed error: 0
2 fanspeed: 1767
2 fanspeed EC error: 0
2 fanspeed EC: 1767
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1700
2 fanspeed WMI error: 0
2 fanspeed WMI: 0
2 fanspeed WMI2 error: 0
2 fanspeed WMI2: 1700
powermode access method: 3
powermode error: 0
powermode: 2
powermode EC error: 0
powermode EC: 0
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 2
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: 0
WMI light IO port: 0
WMI light y logo/lid: 0
EC minifancurve feature enabled: 1
EC minifancurve on cool: true
EC lockfancontroller error: 0
EC lockfancontroller: false
EC fanfullspeed error: false
EC fanfullspeed status: 0
EC fan curve current point id: 1
EC fan curve points size: 9
Current fan curve in hardware (embedded controller):
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0	 0	 2	 2	 0	 59	 0	 60	 0	 35
1700	 1700	 2	 2	 54	 59	 56	 60	 32	 41
1900	 1900	 2	 2	 54	 59	 56	 60	 35	 48
2100	 2100	 2	 2	 54	 62	 56	 60	 43	 127
2300	 2300	 2	 2	 58	 68	 56	 60	 127	 127
2600	 2600	 2	 2	 64	 72	 56	 60	 127	 127
2900	 2900	 2	 2	 68	 78	 56	 64	 127	 127
3500	 3500	 2	 2	 73	 85	 60	 70	 127	 127
3700	 3700	 2	 2	 80	 127	 64	 127	 127	 127
=====================

Support for older Legion y720

I know it's an older model, but it always had overheating problems (99 C while gaming) and i was hoping this would help
image

Distribution: Pop!_OS 22.04 LTS
Model name: Legion Y720
CPU model: Intel i7 7700HQ
GPU model: Nvidia GTX 1060
Keyboard backlight: single color with off/medium/bright
Light in lid or logo: yes, but i dont think its configurable, at least not on windows
Light at IO-Ports at back: no

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

# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 80VR
	Version: Lenovo Y720-15IKB
	Serial Number: -
	UUID: -
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_80VR_BU_idea_FM_Y720-15IKB
	Family: Y720-15IKB

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

Handle 0x0023, 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 0x0030, DMI type 32, 11 bytes
System Boot Information
	Status: No errors detected

Output of sudo dmidecode -t bios:

Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: LENOVO
	Version: 4GCN38WW
	Release Date: 07/18/2018
	Address: 0xE0000
	Runtime Size: 128 kB
	ROM Size: 6 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: 1.38
	Firmware Revision: 1.38

Handle 0x0020, 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:

doesn't exist

Lenovo Legion 5i/Y7000 2019 PG0 support?

Model and Debug Info

Model name: Legion 5i(not sure)/Y7000 2019 PG0
CPU model: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
GPU model: NVIDIA GeForce GTX 1650/PCIe/SSE2
Keyboard backlight: single color with off/medium/bright
Light in lid or logo: yes
Light at IO-Ports at back: no

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

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.0.1 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: INVALID
        Version: INVALID
        Serial Number: INVALID
        UUID: --deleted--
        Wake-up Type: Power Switch
        SKU Number: LENOVO_BI_IDEAPADBH_BU_idea_FM_IDEAPAD
        Family: IDEAPAD

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

Handle 0x0025, 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 0x0032, DMI type 32, 11 bytes
System Boot Information
        Status: No errors detected

Output of sudo dmidecode -t bios:

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.0.1 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: LENOVO
        Version: BHCN45WW
        Release Date: 05/24/2022
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 10 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: 1.45
        Firmware Revision: 1.45

Handle 0x0021, 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(by replacing 0x8227 by 0x8226,I force load the module):

EC Chip ID: 8226
EC Chip Version: 1a2
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 4228773126
temperature access method: 1
CPU temperature error: 0
CPU temperature: 0
CPU temperature EC error: 0
CPU temperature EC: 0
CPU temperature ACPI error: 0
CPU temperature ACPI: 50
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: -14
CPU temperature WMI2: 0
CPU temperature WMI3 error: -14
CPU temperature WMI3: 0
GPU temperature error: 0
GPU temperature: 0
GPU temperature EC error: 0
GPU temperature EC: 0
GPU temperature ACPI error: 0
GPU temperature ACPI: 46
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: -14
GPU temperature WMI2: 0
GPU temperature WMI3 error: -14
GPU temperature WMI3: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 0
1 fanspeed EC error: 0
1 fanspeed EC: 0
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 1700
1 fanspeed WMI error: 0
1 fanspeed WMI: 1700
1 fanspeed WMI2 error: -14
1 fanspeed WMI2: 1700
1 fanspeed WMI3 error: -14
1 fanspeed WMI3: 1700
2 fanspeed error: 0
2 fanspeed: 0
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1400
2 fanspeed WMI error: 0
2 fanspeed WMI: 1400
2 fanspeed WMI2 error: -14
2 fanspeed WMI2: 1400
2 fanspeed WMI3 error: -14
2 fanspeed WMI3: 1400
powermode access method: 3
powermode error: 0
powermode: 1
powermode EC error: 0
powermode EC: 0
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: -5
WMI light IO port: -5
WMI light y logo/lid: -5
EC minifancurve feature enabled: 1
EC minifancurve on cool: error
EC lockfancontroller error: 0
EC lockfancontroller: false
EC fanfullspeed error: false
EC fanfullspeed status: 0
EC fan curve current point id: 0
EC fan curve points size: 0
Current fan curve in hardware (embedded controller):
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
=====================

The following information would be useful.
DSDT.zip

Automatic recompilation on kernel update [Arch]

Arch updates the kernel quite frequently and this is becoming a hassle to constantly recompile (I am also worried it'll break the kernel or something). I am wondering if its possible to have it in the AUR (I looked around but couldn't find any AUR packages) so this recompiles automatically when the kernel updates?

I understand that you eventually want to mainline this into the kernel, but in the meantime can this be a stopgap measure? Its less of an issue on other distros I imagine as they don't update the kernel as often.

Legion Pro 5 2023 ( R9000P 2023 in China ) support

Problem Descripition
This model come with up to AMD Ryzen 7945HX processor and up to NVIDIA 4070 GPU.

By default legion-laptop module will not loaded in this model:

[ 3746.695747] legion_laptop: legion_laptop starts loading
[ 3746.695800] legion PNP0C09:00: legion_laptop platform driver probing
[ 3746.695801] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82WM; DMI_BIOS_VERSION:LPCN41WW
[ 3746.695802] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82WM; DMI_BIOS_VERSION:LPCN41WW
[ 3746.695804] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0
[ 3746.695805] legion PNP0C09:00: Module not useable for this laptop because it is not in allowlist. Notify maintainer if you want to add your device or force load with param force.
[ 3746.695805] legion PNP0C09:00: legion_laptop not loaded for this device

If I force load it with parameter, it also failed to load due to EC version mismatch:

[ 5262.433770] legion_laptop: legion_laptop starts loading
[ 5262.433829] legion PNP0C09:00: legion_laptop platform driver probing
[ 5262.433831] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82WM; DMI_BIOS_VERSION:LPCN41WW
[ 5262.433832] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82WM; DMI_BIOS_VERSION:LPCN41WW
[ 5262.433834] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
[ 5262.433835] legion PNP0C09:00: legion_laptop is forced to load.
[ 5262.433835] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
[ 5262.433836] legion PNP0C09:00: Using configuration for system: GKCN
[ 5262.433872] legion PNP0C09:00: ACPI CFG: 2081289482
[ 5262.433873] legion_laptop: Creating RAM access to embedded controller
[ 5262.433883] legion_laptop: Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0x0 (in EC) to virtual 0x00000000b588faf2
[ 5262.434072] legion PNP0C09:00: Read embedded controller ID 0x5507
[ 5262.434073] legion PNP0C09:00: Expected EC chip id 0x8227 but read 0x5507
[ 5262.434074] legion_laptop: Unloading legion ecram
[ 5262.434075] legion_laptop: Unloading legion ecram done
[ 5262.434075] legion_laptop: Unmapping embedded controller memory at 0xfe00d400 (in RAM)/0x0 (in EC) at virtual 0x00000000b588faf2
[ 5262.434077] legion_laptop: Unloading legion shared
[ 5262.434077] legion_laptop: Unloading legion shared done
[ 5262.434078] legion PNP0C09:00: legion_laptop not loaded for this device
[ 5262.434425] legion: probe of PNP0C09:00 failed with error -12

This is because if the module is forced to load, it will only use the first model. So I modify the source code, and move KWCN model to the first one, and then force load it, it finally loads, but with many errors:

[ 3776.873002] legion_laptop: legion_laptop starts loading
[ 3776.873052] legion PNP0C09:00: legion_laptop platform driver probing
[ 3776.873053] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82WM; DMI_BIOS_VERSION:LPCN41WW
[ 3776.873055] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82WM; DMI_BIOS_VERSION:LPCN41WW
[ 3776.873056] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
[ 3776.873057] legion PNP0C09:00: legion_laptop is forced to load.
[ 3776.873057] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
[ 3776.873058] legion PNP0C09:00: Using configuration for system: KWCN
[ 3776.873083] legion PNP0C09:00: ACPI CFG: 2081289482
[ 3776.873084] legion_laptop: Creating RAM access to embedded controller
[ 3776.873089] legion_laptop: Succeffuly mapped embedded controller: 0xfe0b0400 (in RAM)/0x0 (in EC) to virtual 0x00000000b588faf2
[ 3776.873279] legion PNP0C09:00: Read embedded controller ID 0x5507
[ 3776.873279] legion PNP0C09:00: Creating debugfs inteface
[ 3776.873284] legion_laptop: Creating sysfs inteface
[ 3776.873293] legion_laptop: Creating hwmon interface
[ 3776.873313] legion_laptop: Creating platform profile support
[ 3776.873315] legion_laptop: Init WMI driver support
[ 3776.873330] legion_wmi <UUID1>: Register after probing for WMI.
[ 3776.873457] legion_wmi <UUID2>: Register after probing for WMI.
[ 3776.873463] legion_wmi <UUID3>: Register after probing for WMI.
[ 3776.873468] legion_wmi <UUID4>: Register after probing for WMI.
[ 3776.873473] legion_wmi <UUID5>: Register after probing for WMI.
[ 3776.873480] legion_wmi <UUID6>: Register after probing for WMI.
[ 3776.873486] legion_wmi <UUID7>: Register after probing for WMI.
[ 3776.873500] legion_wmi <UUID8>: Register after probing for WMI.
[ 3776.873510] legion_laptop: Init keyboard backlight LED driver
[ 3776.873925] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2
[ 3776.874308] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2
[ 3776.874309] legion_laptop: Init Y-Logo LED driver
[ 3776.874810] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2
[ 3776.875082] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2
[ 3776.875083] legion_laptop: Init IO-Port LED driver
[ 3776.875095] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2
[ 3776.875095] legion_laptop: Error WMI call for reading brightness: expected a value between 1 and 2, but got 0
[ 3776.875096] legion_laptop: Error reading brighntess for light: 5
[ 3776.875096] legion PNP0C09:00: Init IO-Port LED driver failed. Skipping ...
[ 3776.875097] legion PNP0C09:00: legion_laptop loaded for this device
[ 3776.905136] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2
[ 3836.243834] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2
[ 3836.243849] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2
[ 3836.244149] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2
[ 3836.244245] legion_laptop: Unexpected value in MINIFANCURVE register:0
[ 3836.244447] legion_laptop: No access method for fancurve:0
[ 3836.244448] legion_laptop: Size of object: 48
[ 3836.244581] legion_laptop: ACPI result for <UUID10>:5: ACPI buffer length: 88
[ 3898.310317] legion_laptop: ACPI result for <UUID9>:1: ACPI buffer length: 2

Model and Debug Info

Distribution: Arch (including version, e.g. Ubuntu 24.04)
Model name: Legion Pro 5 2023 ( R9000P in China )
CPU model: AMD Ryzen 9 7945HX
GPU model: NVIDIA RTX 4060
Keyboard backlight: single color with off/medium/bright
Light in lid or logo: yes
Light at IO-Ports at back: no, only power cable has a light

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

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.4.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 82WM
        Version: Legion R9000P ARX8
        Serial Number: <Serial>
        UUID: <UUID11>
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_82WM_BU_idea_FM_Legion R9000P ARX8
        Family: Legion R9000P ARX8

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

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

Output of sudo dmidecode -t bios:

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.4.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: LENOVO
        Version: LPCN41WW
        Release Date: 05/24/2023
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 32 MB
        Characteristics:
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
                UEFI is supported
        BIOS Revision: 1.41
        Firmware Revision: 1.41

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

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

EC Chip ID: 5507
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 1
ACPI CFG error: 0
ACPI CFG: 2081289482
temperature access method: 5
CPU temperature error: 0
CPU temperature: 60
CPU temperature EC error: 0
CPU temperature EC: 0
CPU temperature ACPI error: 0
CPU temperature ACPI: 60
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 60
GPU temperature error: 0
GPU temperature: 48
GPU temperature EC error: 0
GPU temperature EC: 0
GPU temperature ACPI error: 0
GPU temperature ACPI: 48
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: 0
GPU temperature WMI2: 0
GPU temperature WMI3 error: 0
GPU temperature WMI3: 48
fan speed access method: 5
1 fanspeed error: 0
1 fanspeed: 2100
1 fanspeed EC error: 0
1 fanspeed EC: 48
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 2100
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: 2100
2 fanspeed error: 0
2 fanspeed: 2100
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 2100
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: 2100
powermode access method: 3
powermode error: 0
powermode: 255
powermode EC error: 0
powermode EC: 17
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 255
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 1
WMI backlight 2 state: 0
WMI backlight 3 state: 0
WMI light IO port: 0
WMI light y logo/lid: 0
EC minifancurve feature enabled: 0
EC minifancurve on cool: error
EC lockfancontroller error: 0
EC lockfancontroller: false
EC fanfullspeed error: false
EC fanfullspeed status: 0
EC fan curve current point id: 0
EC fan curve points size: 0
Current fan curve in hardware (embedded controller):
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
100      0       0       0       0       0       0       0       0       0
200      0       0       0       0       0       0       0       0       0
300      0       0       0       0       0       0       0       0       0
400      0       0       0       0       0       0       0       0       0
500      0       0       0       0       0       0       0       0       0
600      0       0       0       0       0       0       0       0       0
700      0       0       0       0       0       0       0       0       0
800      0       0       0       0       0       0       0       0       0
900      0       0       0       0       0       0       0       0       0
1000     0       0       0       0       0       0       0       0       0
=====================

Touchpad enabled option doesn't untick when it is disabled

Hi,

I'm using this utility with Legion 5 Pro 16ACH6H (AMD 5800H + Nvidia RTX 3070) on PopOS (22.04 LTS with kernel 6.0.12-76060006-generic). Everything works as expected. Thanks for this awesome utility! I found this visual bug where the touchpad enabled option doesn't untick when it is disabled. Functionally it works as expected by turning on/off the touchpad. This issue also only happens in the currently opened session i.e. if I close the GUI and open it again, the touchpad enabled option is unticked.

Screencast of the issue:
Screencast from 02-19-2023 12:54:47 AM.webm

[BUG] 81Y6 Lenovo Legion 5 15IMH05H Backlight stopped working

Problem Descripition
Keyboard backlight stopped working on 81Y6 Lenovo Legion 5 15IMH05H

Briefly turns on at system reboot before the Lenovo Legion logo appears then turns off and cannot be activated by buttons or software

Model and Debug Info

Distribution: Archlinux 6.3.1-arch2-1 kernel
Model name: 81Y6 Lenovo Legion 5 15IMH05H
CPU model: Intel i7-10750H (12) @ 5.000GHz
GPU model: NVIDIA GeForce RTX 2060 Mobile
Keyboard backlight: Single color with off/medium/bright
Light in lid or logo: no
Light at IO-Ports at back: no

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

Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 81Y6
        Version: Lenovo Legion 5 15IMH05H
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_81Y6_BU_idea_FM_Legion 5 15IMH05H
        Family: Legion 5 15IMH05H

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

Handle 0x0024, 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 0x0031, DMI type 32, 11 bytes
System Boot Information
        Status: No errors detected

Output of sudo dmidecode -t bios:

Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: LENOVO
        Version: EFCN46WW
        Release Date: 12/04/2020
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 11 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: 1.46
        Firmware Revision: 1.46

Handle 0x0021, 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:

EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289494
temperature access method: 1
CPU temperature error: 0
CPU temperature: 52
CPU temperature EC error: 0
CPU temperature EC: 52
CPU temperature ACPI error: 0
CPU temperature ACPI: 57
CPU temperature WMI error: 0
CPU temperature WMI: 0
CPU temperature WMI2 error: -14
CPU temperature WMI2: 0
GPU temperature error: 0
GPU temperature: 46
GPU temperature EC error: 0
GPU temperature EC: 46
GPU temperature ACPI error: 0
GPU temperature ACPI: 46
GPU temperature WMI error: 0
GPU temperature WMI: 0
GPU temperature WMI2 error: -14
GPU temperature WMI2: 0
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 2015
1 fanspeed EC error: 0
1 fanspeed EC: 2015
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 2000
1 fanspeed WMI error: 0
1 fanspeed WMI: 2000
1 fanspeed WMI2 error: -14
1 fanspeed WMI2: 2000
2 fanspeed error: 0
2 fanspeed: 1921
2 fanspeed EC error: 0
2 fanspeed EC: 1921
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1900
2 fanspeed WMI error: 0
2 fanspeed WMI: 1900
2 fanspeed WMI2 error: -14
2 fanspeed WMI2: 1900
powermode access method: 3
powermode error: 0
powermode: 1
powermode EC error: 0
powermode EC: 1
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: -5
EC minifancurve feature enabled: 1
EC minifancurve on cool: true
EC lockfancontroller error: 0
EC lockfancontroller: false
EC fanfullspeed error: false
EC fanfullspeed status: 0
EC fan curve current point id: 2
EC fan curve points size: 9
Current fan curve in hardware (embedded controller):
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0        0       5       7       0       127     0       52      0       38
1700     1600    5       7       127     127     48      52      35      45
2000     1900    5       7       127     127     48      52      41      50
2100     2100    5       7       127     127     48      52      47      127
2300     2300    5       7       127     127     48      56      127     127
2600     2600    5       7       127     127     53      60      127     127
2900     2900    5       7       127     127     57      64      127     127
3500     3500    5       7       127     127     61      73      127     127
3800     3800    5       7       127     127     64      127     127     127
=====================

[BUG] Archlinux KDE Plasma power management service problem.

Problem Descripition
on Archlinux KDE plasma 5.27.6
I get an error on power management service for KDE Plasma and also the battery indicator on system tray is gone.
Screenshot_20230625_112212

UPDATE:
I keep getting this error in system log:

6/25/23 11:34 AM	systemd	plasma-powerdevil.service: Scheduled restart job, restart counter is at 55.
6/25/23 11:34 AM	systemd	Stopped Powerdevil.
6/25/23 11:34 AM	systemd	Starting Powerdevil...
6/25/23 11:34 AM	org_kde_powerdevil	org.kde.powerdevil: KDE Power Management System init failed!
6/25/23 11:34 AM	org_kde_powerdevil	org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
6/25/23 11:34 AM	systemd	plasma-powerdevil.service: start operation timed out. Terminating.
6/25/23 11:34 AM	systemd	plasma-powerdevil.service: Failed with result 'timeout'.
6/25/23 11:34 AM	systemd	Failed to start Powerdevil.

Model and Debug Info

Model name: Legion 5 Pro 16IAH7H
CPU model: 12th Gen Intel® Core™ i7-12700H
GPU model: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Keyboard backlight: RGB, 3 zone color
OS: Archlinux (latest packages)

sudo dmidecode -t system # dmidecode 3.5 Getting SMBIOS data from sysfs. SMBIOS 3.3 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: 82RF
Version: Legion 5 Pro 16IAH7H
Serial Number: PF40P4AF
UUID: af305adc-22de-11ed-80f2-9c2dcd5b9b65
Wake-up Type: Power Switch
SKU Number: LENOVO_MT_82RF_BU_idea_FM_Legion 5 Pro 16IAH7H
Family: Legion 5 Pro 16IAH7H

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

sudo dmidecode -t bios # dmidecode 3.5 Getting SMBIOS data from sysfs. SMBIOS 3.3 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: LENOVO
Version: J2CN49WW
Release Date: 11/25/2022
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: 1.49
Firmware Revision: 1.49

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

fancurve.txt
acpi_re.zip

Lenovo 7 16IAX7 support

Hi there.

I have this model. And stuck at first step of tests.

image

As I can understand my laptop is not supported. Any things I can do to fix it?

Is your feature request related to a problem? Please describe.
Cannot pass first test

Describe the solution you'd like
My laptop version is supported

Describe alternatives you've considered

Model and Debug Info

Distribution: Arch Linux x86_64 (kernel 6.3.8-arch1-1)
Model name: Legion 7 16IAX7
CPU model: 12th Gen Intel i7-12800HX (24) @ 4.700GHz
GPU model: NVIDIA Geforce RTX 3070 Ti Laptop GPU
Keyboard backlight: RGB
Light in lid or logo: seems no (not sure)
Light at IO-Ports at back: yes

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

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.3 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 82TD
	Version: Legion 7 16IAX7
	Serial Number: ***
	UUID: ***
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_82TD_BU_idea_FM_Legion 7 16IAX7
	Family: Legion 7 16IAX7

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.5
Getting SMBIOS data from sysfs.
SMBIOS 3.3 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
	Vendor: LENOVO
	Version: K1CN28WW
	Release Date: 06/15/2022
	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: 1.28
	Firmware Revision: 1.32

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)

Create a simple script to patch the kernel for simplicity

Including a simple script in LenovoLegionLinux/kernel_module for kernel patch could ease the use since Arch has constant kernel update compared to the rest.

#!/bin/bash

make
sudo make install
sudo make reloadmodule | tail -n 5 | bat
sudo systemctl restart power-profiles-daemon

echo "Done"

Enable kernel module on Legion 5 15ACH6A

Hi, I just found out about this project from the ArchWiki. Great work!

A quick test on my Legion 5 15ACH6A (the all-AMD variant of 15ACH6) using sudo make forcereloadmodule showed that almost everything worked well - I skipped the custom fan curve test though, as I don't want to mess around too much with fan curve; but theoretically it should work as well. I think this mean the kernel module is safe to enable on most 15ACH6A variants.

Output from dmidecode - I omitted some irrelevant infos, please let me know if you need full output:

dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.
Table at 0xCB707000.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: LENOVO
        Version: G9CN30WW
        Release Date: 09/06/2022
        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: 1.30
        Firmware Revision: 1.30

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 82NW
        Version: Legion 5 15ACH6A
        Serial Number: PF38FE75
        UUID: 6c487ae0-00bc-11ec-80f0-902e16ceaceb
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_82NW_BU_idea_FM_Legion 5 15ACH6A
        Family: Legion 5 15ACH6A

Handle 0x0002, DMI type 2, 16 bytes
Base Board Information
        Manufacturer: LENOVO
        Product Name: LNVNB161216
        Version: SDK0Q55749 WIN
        Serial Number: PF38FE75
        Asset Tag: NO Asset Tag
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: Base Board Chassis Location
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Handle 0x0034, DMI type 133, 5 bytes
OEM-specific Type
        Header and Data:
                85 05 34 00 01
        Strings:
                KHOIHGIUCCHHII

Handle 0x0035, DMI type 200, 16 bytes
OEM-specific Type
        Header and Data:
                C8 10 35 00 01 02 01 27 01 14 01 53 B0 80 01 05
        Strings:
                IdeaPad
                82NW003CVN

Handle 0x0036, DMI type 248, 18 bytes
OEM-specific Type
        Header and Data:
                F8 12 36 00 AC AC AA 17 00 00 00 00 00 00 00 00
                00 00

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table

Trying to get a legion Y530-15ICH to work: fan curve points is 0

Great project! I'm trying to get my older gaming laptop working to use as a development machine. After setting it up I've found the fans to spin way too loudly so I poked around and happily found your project. Thanks for putting this together!

As I'm familiar with all things Linux I figured I'd try to get this working on my machine.
Following your instructions I got to the point where I needed to force the module to load due to this allowlist error:

[ 1412.449348] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 81FV; DMI_BIOS_VERSION:8JCN56WW
[ 1412.449389] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[ 1412.449390] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 81FV; DMI_BIOS_VERSION:8JCN56WW
[ 1412.449393] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0
[ 1412.449394] legion PNP0C09:00: Module not useable for this laptop because it is not in allowlist. Notify maintainer if you want to add your device or force load with param force.
[ 1412.449395] legion PNP0C09:00: legion_laptop not loaded for this device
[ 1412.449428] legion: probe of PNP0C09:00 failed with error -12

I then had to replace the EC chip ID from 0x8227 to 0x8226 for my attempt at getting this working

sed -i 's|0x8227|0x8226|g' legion-laptop.c

dmesg

[ 1827.143935] legion_laptop 0.1 starts loading
[ 1827.143937] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 81FV; DMI_BIOS_VERSION:8JCN56WW
[ 1827.143982] legion PNP0C09:00: legion_laptop platform driver 0.1 probing
[ 1827.143983] Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 81FV; DMI_BIOS_VERSION:8JCN56WW
[ 1827.143985] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
[ 1827.143987] legion PNP0C09:00: legion_laptop is forced to load.
[ 1827.143987] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
[ 1827.143988] legion PNP0C09:00: Using configuration for system: GKCN
[ 1827.144001] Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0xc400 (in EC) to virtual 0x000000006aaf2a43
[ 1827.144381] legion PNP0C09:00: Read embedded controller ID 0x8226
[ 1827.144383] legion PNP0C09:00: Creating debugfs inteface
[ 1827.144389] Creating sysfs inteface
[ 1827.144392] Creating hwmon interface
[ 1827.144457] Creating platform profile support
[ 1827.144460] Init WMI driver support
[ 1827.144482] legion_wmi 887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[ 1827.144500] legion_wmi BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[ 1827.144522] legion_wmi D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[ 1827.144537] legion_wmi BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[ 1827.144549] legion_wmi BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[ 1827.144563] legion_wmi 10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[ 1827.144582] legion PNP0C09:00: legion_laptop loaded for this device
[ 1881.094692] Unexpected value in MINIFANCURVE register:0

Module successfully loads although fan curve points is 0

sudo cat /sys/kernel/debug/legion/fancurve
EC Chip ID: 8226
EC Chip Version: 1a2
legion_laptop version: 0.1
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 1
minifancurve feature enabled: 1
minifancurve on cool: error
lock fan controller: false
enable maximumfanspeed: false
enable maximumfanspeed status: 0
fan curve current point id: 0
fan curve points size: 0
Current fan curve in hardware (embedded controller):
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp

I've followed the instructions from here #13 to disassemble the acpi tables and attached them to this email if that helps.

Y53015ICH.tar.gz

At this point I'm kind of stuck. Would greatly appreciate some direction to get this working.

Cheers!

Some system info

00:00.0 Host bridge: Intel Corporation 8th Gen Core 4-core Processor Host Bridge/DRAM Registers [Coffee Lake H] (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:14.3 Network controller: Intel Corporation Cannon Lake PCH CNVi WiFi (rev 10)
00:15.0 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
00:15.1 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1d.5 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #14 (rev f0)
00:1e.0 Communication controller: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller (rev 10)
00:1f.0 ISA bridge: Intel Corporation HM470 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
06:00.0 Non-Volatile memory controller: Toshiba Corporation BG3 NVMe SSD Controller (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

windows support

I would honestly love to see this tool on windows, I know the tools available for windows, but this offers something that others don't, would you consider making a version for windows?

Testing new features on 2022 models [looking for testers]

This is a issue to test the new features on 2022 models. If you have a 2022 or 2023 model and want to help testing then please provide the following information. It will be used to test new features for CPU and GPU power limit control, rapid charging, overclocking. This also helps older models but 2022 and 2023 models have the most features so it is easier to test them all. It must be tested on multiple different 2022 models.

Model and Debug Info

Model name: ???
CPU model: ??? (e.g. AMD Ryzen 7 5800H)
GPU model: ??? (e.g NVIDIA RTX 3700)
Keyboard backlight: ??? (RGB, single color with off/on, single color with off/medium/bright)

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

???

Output of sudo dmidecode -t bios:

???

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

???

The following information would be useful.

Inspecting WMI entries

# Install required tools
sudo apt install fwts

# Create folder for all the new files
mkdir fwts_re
cd fwts_re
sudo fwts wmi - > fwts_wmi.log

Then upload files.

Disassembling ACPI tables

# Install requiered tools
sudo apt install acpica-tools
# Create folder for all the new files
mkdir acpi_re
cd acpi_re

# List ACPI tables and copy them
ls /sys/firmware/acpi/tables/
sudo cp --no-preserve=mode /sys/firmware/acpi/tables/*SDT* .

# Disassemble tables to output DSDT.dsl
iasl -e SSDT* -d DSDT

Then upload files.

Gathering WMI info in Windows

If you have Windows, then the following information are very very useful to make use of the ACPI methods. Open powershell as admin in Windows and run the following script. It will list all available lenovo WMI methods. Copy output to a file and upload.

$wmi_classes = Get-WmiObject -Namespace 'ROOT/WMI' -List -Class "*LENOVO*"
foreach ($wmi_class in $wmi_classes){
  Write-Host "########################################"
  Write-Host "########################################"
  Write-Host "########################################"
  Write-Host "Name:" $wmi_class.Name
  Write-Host "Class Name:" $wmi_class.Name 
  Write-Host "Class GUID:" $wmi_class.Qualifiers["guid"].Value
  Write-Host "Description:" $wmi_class.Methods.Count
  Write-Host "Methods:"
  foreach ($method in $wmi_class.Methods){
    Write-Host "Name:" $method.Name
    Write-Host "WmiMethodId:" $method.Qualifiers["WmiMethodId"].Value
    Write-Host "Class Name:" $wmi_class.Name 
    Write-Host "Class GUID:" $wmi_class.Qualifiers["guid"].Value
    Write-Host "Description:" $method.Qualifiers["Description"].Value
    Write-Host "Implemented:" $method.Qualifiers["Implemented"].Value
    Write-Host ""
  }
  Write-Host ""
}

[BUG] fancurve-set fails when plug-off and switch to performance

Problem Descripition
When I try to switch to performance mode with power-profiles-daemon while unplugged, legion-linux.service fails to run

图片

We should prevent users from using performance-mode with the power unplugged
Is there any way to hide the option of performance-mode in powerprofilesdaemon when unplugged?

Lenovo IdeaPad Gaming 3 15ARH05

Is it possible to get support for my laptop?

Model and Debug Info

Model name: Lenovo IdeaPad Gaming 3 15ARH05

AMD Ryzen™ 7 4800H with Radeon™ Graphics × 16
NVIDIA GeForce GTX 1650 Ti / AMD Radeon™ Graphics

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

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

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: LENOVO
	Product Name: 82EY
	Version: IdeaPad Gaming 3 15ARH05
	Wake-up Type: Power Switch
	SKU Number: LENOVO_MT_82EY_BU_idea_FM_IdeaPad Gaming 3 15ARH05
	Family: IdeaPad Gaming 3 15ARH05

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

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

Output of sudo dmidecode -t bios:

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

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

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

Run GUI as non-root

Is your feature request related to a problem? Please describe.

Running a GUI application as root is frowned upon since it has a much larger attack surface than CLI applications.

Describe the solution you'd like

It would be ideal if the GUI shelled out to the CLI and ran just that part in a privileged mode.

Describe alternatives you've considered

The alternative is to run as root which works, but is dangerous.

More information here: NixOS/nixpkgs#228506 (comment)

Legion 5 17ARH05H

Hello, I am about to migrate from Windows 10 to Fedora 38 or POP_OS and I want to be sure to have a support for some of the most used features from Lenovo Vantage. I saw that there is no support for Legion 5 17ARH05H (Current Bios: FSCN26WW).
Thank you in advance!

Features (if not added):

  1. Conservation Mode
  2. Battery Details window
  3. Rapid Charge

Model and Debug Info

Distribution: Fedora 38, POP_OS
Model name: Legion 5 17ARH05H, Current Bios: FSCN26WW
CPU model: AMD Ryzen 7 4800H
GPU model: NVIDIA RTX 2600
Keyboard backlight: single color with off/medium/bright
Light in lid or logo: no
Light at IO-Ports at back: no

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.