johnfanv2 / LenovoLegionLinux

Driver and tools for controlling Lenovo Legion laptops in Linux including fan control and power mode.
https://github.com/johnfanv2/LenovoLegionLinux
GNU General Public License v2.0
1.29k stars 49 forks source link

Support For Legion 7 16IRX9 (2024) #226

Open ChaoticSi1ence opened 3 weeks ago

ChaoticSi1ence commented 3 weeks ago

Model and Debug Info

Distribution: Pop!_OS 22.04 LTS Model name: Legion 7 16IRX9 CPU model: Intel i9 14900HX GPU model: Nvidia RTX 4070 Keyboard backlight: (RGB with multiple profiles and with off/low/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:

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

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: LENOVO
    Product Name: 83FD
    Version: Legion 7 16IRX9
    Serial Number: 
    UUID: 
    Wake-up Type: Power Switch
    SKU Number: LENOVO_MT_83FD_BU_idea_FM_Legion 7 16IRX9
    Family: Legion 7 16IRX9

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

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
    Vendor: LENOVO
    Version: NSCN25WW
    Release Date: 03/11/2024
    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.25
    Firmware Revision: 1.25

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

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

EC Chip ID: 5507
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 4245487636
temperature access method: 5
CPU temperature error: 0
CPU temperature: 55
CPU temperature EC error: 0
CPU temperature EC: 0
CPU temperature ACPI error: -5
CPU temperature ACPI: 0
CPU temperature WMI error: 0
CPU temperature WMI: 55
CPU temperature WMI2 error: 0
CPU temperature WMI2: 0
CPU temperature WMI3 error: 0
CPU temperature WMI3: 55
GPU temperature error: 0
GPU temperature: 44
GPU temperature EC error: 0
GPU temperature EC: 0
GPU temperature ACPI error: -5
GPU temperature ACPI: 0
GPU temperature WMI error: 0
GPU temperature WMI: 44
GPU temperature WMI2 error: 0
GPU temperature WMI2: 0
GPU temperature WMI3 error: 0
GPU temperature WMI3: 44
fan speed access method: 5
1 fanspeed error: 0
1 fanspeed: 1400
1 fanspeed EC error: 0
1 fanspeed EC: 0
1 fanspeed ACPI error: -5
1 fanspeed ACPI: 0
1 fanspeed WMI error: 0
1 fanspeed WMI: 0
1 fanspeed WMI2 error: 0
1 fanspeed WMI2: 0
1 fanspeed WMI3 error: 0
1 fanspeed WMI3: 1400
2 fanspeed error: 0
2 fanspeed: 1700
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 1700
2 fanspeed WMI error: 0
2 fanspeed WMI: 0
2 fanspeed WMI2 error: 0
2 fanspeed WMI2: 0
2 fanspeed WMI3 error: 0
2 fanspeed WMI3: 1700
powermode access method: 3
powermode error: 0
powermode: 2
powermode EC error: 0
powermode EC: 230
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 2
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 0
WMI backlight 2 state: 0
WMI backlight 3 state: -14
WMI light IO port: 0
WMI light Y logo/lid: 0
EC minifancurve feature enabled: 0
EC minifancurve on cool: error
EC lockfancontroller error: 0
EC lockfancontroller: true
fanfullspeed error: 0
fanfullspeed: 0
fanfullspeed EC error: -1
fanfullspeed EC: 0
EC fan curve current point id: 0
EC fan curve points size: 0
Current fan curve in hardware:
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================
Current fan curve in hardware (WMI; might be empty)
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================

fwts_wmi.log

APIC  DBGP     FACP  LPIT  PHAT    SSDT12  SSDT16  SSDT2   SSDT4  SSDT8  WSMT
BGRT  DMAR     FACS  MCFG  SSDT1   SSD
T13  SSDT17  SSDT20  SSDT5  SSDT9
data  DSDT     FPDT  MSDM  SSDT10  SSDT14  SSDT18  SSDT21  SSDT6  TPM2
DBG2  dynamic  HPET  NHLT  SSDT11  SSDT15  SSDT19  SSDT3   SSDT7  UEFI
Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20200925
Copyright (c) 2000 - 2020 Intel Corporation

File appears to be binary: found 216267 non-ASCII characters, disassembling
Binary file appears to be a valid ACPI table, disassembling
Input file DSDT, Length 0x9EF58 (651096) bytes
ACPI: DSDT 0x0000000000000000 09EF58 (v02 LENOVO CB-01    00000001 ACPI 00040000)
External object resolution file            SSDT9
Input file SSDT9, Length 0x33 (51) bytes
ACPI: SSDT 0x0000000000000000 000033 (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file            SSDT8
Input file SSDT8, Length 0xA6E (2670) bytes
ACPI: SSDT 0x0000000000000000 000A6E (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file            SSDT7
Input file SSDT7, Length 0x334F (13135) bytes
ACPI: SSDT 0x0000000000000000 00334F (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file            SSDT6
Input file SSDT6, Length 0x2B26 (11046) bytes
ACPI: SSDT 0x0000000000000000 002B26 (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file            SSDT5
Input file SSDT5, Length 0x5D34 (23860) bytes
ACPI: SSDT 0x0000000000000000 005D34 (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file            SSDT4
Input file SSDT4, Length 0x156E6 (87782) bytes
ACPI: SSDT 0x0000000000000000 0156E6 (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file            SSDT3
Input file SSDT3, Length 0x3B3F (15167) bytes
ACPI: SSDT 0x0000000000000000 003B3F (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file           SSDT21
Input file SSDT21, Length 0xF8 (248) bytes
ACPI: SSDT 0x0000000000000000 0000F8 (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file           SSDT20
Input file SSDT20, Length 0x39DA (14810) bytes
ACPI: SSDT 0x0000000000000000 0039DA (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file            SSDT2
Input file SSDT2, Length 0x106 (262) bytes
ACPI: SSDT 0x0000000000000000 000106 (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file           SSDT19
Input file SSDT19, Length 0x39DA (14810) bytes
ACPI: SSDT 0x0000000000000000 0039DA (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file           SSDT18
Input file SSDT18, Length 0x14A2 (5282) bytes
ACPI: SSDT 0x0000000000000000 0014A2 (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file           SSDT17
Input file SSDT17, Length 0x5F4F (24399) bytes
ACPI: SSDT 0x0000000000000000 005F4F (v01 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file           SSDT16
Input file SSDT16, Length 0x913B (37179) bytes
ACPI: SSDT 0x0000000000000000 00913B (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file           SSDT15
Input file SSDT15, Length 0xAD9 (2777) bytes
ACPI: SSDT 0x0000000000000000 000AD9 (v02 LENOVO CB-01    00000001 INTL 20200717)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file           SSDT14
Input file SSDT14, Length 0x1D0E (7438) bytes
ACPI: SSDT 0x0000000000000000 001D0E (v02 LENOVO CB-01    00000001      01000013)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file           SSDT13
Input file SSDT13, Length 0x525C (21084) bytes
ACPI: SSDT 0x0000000000000000 00525C (v02 LENOVO CB-01    00000001      01000013)
Pass 1 parse of [SSDT]
Firmware Error (ACPI): Failure creating named object [\_SB.PC00.PEG1.PEGP._S0W], AE_ALREADY_EXISTS (20200925/dswload-387)
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200925/psobject-264)
Could not parse external ACPI tables, AE_ALREADY_EXISTS

ACPI.zip

Windows WMI:

WMI_Classes_Output.txt