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.59k stars 59 forks source link

Lenovo Legion 5/Y7000P 2019 support? #21

Open KagaJiankui opened 1 year ago

KagaJiankui commented 1 year ago

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
johnfanv2 commented 1 year ago

Please give the output of the command

sudo dmidecode

For testing you can replace 0x8227 by 0x8226 in the file legion-laptop.c (3 occurences) and compile/load again.

MrDuartePT commented 1 year ago

@KagaJiankui pls give the dmidecode to be possible to add support

KagaJiankui commented 1 year ago

sudo dmidecode output:

# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.0.1 present.
Table at 0x9DC4D000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: LENOVO
        Version: BHCN42WW
        Release Date: 05/21/2021
        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.42
        Firmware Revision: 1.42

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 81Q5
        Version: Legion Y7000P 2019
        Serial Number: PF14M0R8
        UUID: 34c375dd-be65-11e9-80d8-98fa9b935b44
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_81Q5_BU_idea_FM_Legion Y7000P 2019
        Family: Legion Y7000P 2019

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

Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
        Manufacturer: LENOVO
        Type: Notebook
        Lock: Not Present
        Version: Legion Y7000P 2019
        Serial Number: PF14M0R8
        Asset Tag: NO Asset Tag
        Boot-up State: Safe
        Power Supply State: Safe
        Thermal State: Safe
        Security Status: None
        OEM Information: 0x00000000
        Height: Unspecified
        Number Of Power Cords: 1
        Contained Elements: 0
        SKU Number: SKU Number

Handle 0x0004, DMI type 4, 48 bytes
Processor Information
        Socket Designation: U3E1
        Type: Central Processor
        Family: Core i7
        Manufacturer: Intel(R) Corporation
        ID: EA 06 09 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 158, Stepping 10
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (FXSAVE and FXSTOR instructions supported)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Multi-threading)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
        Voltage: 0.8 V
        External Clock: 100 MHz
        Max Speed: 4500 MHz
        Current Speed: 2475 MHz
        Status: Populated, Enabled
        Upgrade: Socket BGA1440
        L1 Cache Handle: 0x0005
        L2 Cache Handle: 0x0006
        L3 Cache Handle: 0x0007
        Serial Number: To Be Filled By O.E.M.
        Asset Tag: To Be Filled By O.E.M.
        Part Number: To Be Filled By O.E.M.
        Core Count: 6
        Core Enabled: 6
        Thread Count: 12
        Characteristics:
                64-bit capable
                Multi-Core
                Hardware Thread
                Execute Protection
                Enhanced Virtualization
                Power/Performance Control

Handle 0x0005, DMI type 7, 27 bytes
Cache Information
        Socket Designation: L1 Cache
        Configuration: Enabled, Not Socketed, Level 1
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 0 kB
        Maximum Size: 0 kB
        Supported SRAM Types:
                Synchronous
        Installed SRAM Type: Synchronous
        Speed: Unknown
        Error Correction Type: Parity
        System Type: Unified
        Associativity: 8-way Set-associative

Handle 0x0006, DMI type 7, 27 bytes
Cache Information
        Socket Designation: L2 Cache
        Configuration: Enabled, Not Socketed, Level 2
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 0 kB
        Maximum Size: 0 kB
        Supported SRAM Types:
                Synchronous
        Installed SRAM Type: Synchronous
        Speed: Unknown
        Error Correction Type: Single-bit ECC
        System Type: Unified
        Associativity: 4-way Set-associative

Handle 0x0007, DMI type 7, 27 bytes
Cache Information
        Socket Designation: L3 Cache
        Configuration: Enabled, Not Socketed, Level 3
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 0 kB
        Maximum Size: 0 kB
        Supported SRAM Types:
                Synchronous
        Installed SRAM Type: Synchronous
        Speed: Unknown
        Error Correction Type: Multi-bit ECC
        System Type: Unified
        Associativity: 16-way Set-associative

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J1A1
        Internal Connector Type: None
        External Reference Designator: Keyboard
        External Connector Type: PS/2
        Port Type: Keyboard Port

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J1A1
        Internal Connector Type: None
        External Reference Designator: Mouse
        External Connector Type: PS/2
        Port Type: Mouse Port

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J2A1
        Internal Connector Type: None
        External Reference Designator: TV OUT
        External Connector Type: Mini DIN
        Port Type: Video Port

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J2A2
        Internal Connector Type: None
        External Reference Designator: CRT
        External Connector Type: DB-15 female
        Port Type: Video Port

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J2A2
        Internal Connector Type: None
        External Reference Designator: COM 1
        External Connector Type: DB-9 male
        Port Type: Serial Port 16550A Compatible

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J3A1
        Internal Connector Type: None
        External Reference Designator: USB
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J3A1
        Internal Connector Type: None
        External Reference Designator: USB
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J3A1
        Internal Connector Type: None
        External Reference Designator: USB
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J5A1
        Internal Connector Type: None
        External Reference Designator: USB
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J5A1
        Internal Connector Type: None
        External Reference Designator: USB
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J5A2
        Internal Connector Type: None
        External Reference Designator: USB
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J5A1
        Internal Connector Type: None
        External Reference Designator: Network
        External Connector Type: RJ-45
        Port Type: Network Port

Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J9G2
        Internal Connector Type: On Board Floppy
        External Reference Designator: OnBoard Floppy Type
        External Connector Type: None
        Port Type: Other

Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J7J1
        Internal Connector Type: On Board IDE
        External Reference Designator: OnBoard Primary IDE
        External Connector Type: None
        Port Type: Other

Handle 0x0016, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J30
        Internal Connector Type: None
        External Reference Designator: Microphone In
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Handle 0x0017, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J30
        Internal Connector Type: None
        External Reference Designator: Line In
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Handle 0x0018, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J30
        Internal Connector Type: None
        External Reference Designator: Speaker Out
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Handle 0x0019, DMI type 9, 17 bytes
System Slot Information
        Designation: J6C1
        Type: x1 PCI Express x1
        Current Usage: Available
        Length: Other
        ID: 1
        Characteristics:
                PME signal is supported
                Hot-plug devices are supported
        Bus Address: 0000:00:1c.0

Handle 0x001A, DMI type 9, 17 bytes
System Slot Information
        Designation: J6D2
        Type: x1 PCI Express x1
        Current Usage: Available
        Length: Other
        ID: 2
        Characteristics:
                PME signal is supported
                Hot-plug devices are supported
        Bus Address: 0000:00:1c.1

Handle 0x001B, DMI type 9, 17 bytes
System Slot Information
        Designation: J7C1
        Type: x1 PCI Express x1
        Current Usage: Available
        Length: Other
        ID: 3
        Characteristics:
                PME signal is supported
                Hot-plug devices are supported
        Bus Address: 0000:00:1c.2

Handle 0x001C, DMI type 9, 17 bytes
System Slot Information
        Designation: J7D1
        Type: x1 PCI Express x1
        Current Usage: Available
        Length: Other
        ID: 4
        Characteristics:
                PME signal is supported
                Hot-plug devices are supported
        Bus Address: 0000:00:1c.3

Handle 0x001D, DMI type 9, 17 bytes
System Slot Information
        Designation: J8C1
        Type: x4 PCI Express x4
        Current Usage: Available
        Length: Other
        ID: 5
        Characteristics:
                PME signal is supported
                Hot-plug devices are supported
        Bus Address: 0000:00:1c.4

Handle 0x001E, DMI type 11, 5 bytes
OEM Strings
        String 1: Country - ??

Handle 0x001F, DMI type 11, 5 bytes
OEM Strings
        String 1: Modern Preload

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

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

Handle 0x0022, DMI type 14, 8 bytes
Group Associations
        Name: Intel(R) Silicon View Technology
        Items: 1
                0x0044 (OEM-specific)

Handle 0x0023, DMI type 14, 8 bytes
Group Associations
        Name: $MEI
        Items: 1
                0x003E (OEM-specific)

Handle 0x0024, DMI type 14, 8 bytes
Group Associations
        Name: $MEI
        Items: 1
                0x003D (OEM-specific)

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 0x0026, DMI type 16, 23 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 32 GB
        Error Information Handle: No Error
        Number Of Devices: 2

Handle 0x0027, DMI type 17, 40 bytes
Memory Device
        Array Handle: 0x0026
        Error Information Handle: No Error
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: SODIMM
        Set: None
        Locator: ChannelA-DIMM0
        Bank Locator: BANK 0
        Type: DDR4
        Type Detail: Synchronous
        Speed: 2667 MT/s
        Manufacturer: 859B
        Serial Number: E4529C1F
        Asset Tag: 9876543210
        Part Number: CT16G4SFS8266.C8FE
        Rank: 1
        Configured Memory Speed: 2667 MT/s
        Minimum Voltage: 1.35 V
        Maximum Voltage: 1.5 V
        Configured Voltage: 1.2 V

Handle 0x0028, DMI type 17, 40 bytes
Memory Device
        Array Handle: 0x0026
        Error Information Handle: No Error
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: SODIMM
        Set: None
        Locator: ChannelB-DIMM0
        Bank Locator: BANK 2
        Type: DDR4
        Type Detail: Synchronous
        Speed: 2667 MT/s
        Manufacturer: 859B
        Serial Number: E4529C59
        Asset Tag: 9876543210
        Part Number: CT16G4SFS8266.C8FE
        Rank: 1
        Configured Memory Speed: 2667 MT/s
        Minimum Voltage: 1.35 V
        Maximum Voltage: 1.5 V
        Configured Voltage: 1.2 V

Handle 0x0029, DMI type 19, 31 bytes
Memory Array Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x007FFFFFFFF
        Range Size: 32 GB
        Physical Array Handle: 0x0026
        Partition Width: 2

Handle 0x002A, DMI type 20, 35 bytes
Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x003FFFFFFFF
        Range Size: 16 GB
        Physical Device Handle: 0x0027
        Memory Array Mapped Address Handle: 0x0029
        Partition Row Position: Unknown
        Interleave Position: 1
        Interleaved Data Depth: 1

Handle 0x002B, DMI type 20, 35 bytes
Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x003FFFFFFFF
        Range Size: 16 GB
        Physical Device Handle: 0x0028
        Memory Array Mapped Address Handle: 0x0029
        Partition Row Position: Unknown
        Interleave Position: 2
        Interleaved Data Depth: 1

Handle 0x002C, DMI type 21, 7 bytes
Built-in Pointing Device
        Type: Touch Pad
        Interface: PS/2
        Buttons: 4

Handle 0x002D, DMI type 22, 26 bytes
Portable Battery
        Location: Fake
        Manufacturer: -Virtual Battery 0-
        Manufacture Date: 08/08/2010
        Serial Number: Battery 0
        Name: CRB Battery 0
        Chemistry: Zinc Air
        Design Capacity: Unknown
        Design Voltage: Unknown
        SBDS Version: Not Specified
        Maximum Error: Unknown
        OEM-specific Information: 0x00000000

Handle 0x002E, DMI type 24, 5 bytes
Hardware Security
        Power-On Password Status: Disabled
        Keyboard Password Status: Disabled
        Administrator Password Status: Disabled
        Front Panel Reset Status: Disabled

Handle 0x002F, DMI type 26, 24 bytes
Voltage Probe
        Description: Voltage Probe Description
        Location: Unknown
        Status: Unknown
        Maximum Value: Unknown
        Minimum Value: Unknown
        Resolution: Unknown
        Tolerance: Unknown
        Accuracy: Unknown
        OEM-specific Information: 0x00008000
        Nominal Value: 0.000 V

Handle 0x0030, DMI type 27, 15 bytes
Cooling Device
        Temperature Probe Handle: 0x0031
        Type: Fan
        Status: OK
        OEM-specific Information: 0x00000000
        Nominal Speed: 8192 rpm
        Description: Cooling Device Description

Handle 0x0031, DMI type 28, 24 bytes
Temperature Probe
        Description: Temperature Probe Description
        Location: Unknown
        Status: Unknown
        Maximum Value: Unknown
        Minimum Value: Unknown
        Resolution: Unknown
        Tolerance: Unknown
        Accuracy: Unknown
        OEM-specific Information: 0x00008000
        Nominal Value: 0.0 deg C

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

Handle 0x0033, DMI type 39, 22 bytes
System Power Supply
        Location: OEM Define 0
        Name: OEM Define 1
        Manufacturer: OEM Define 2
        Serial Number: OEM Define 3
        Asset Tag: OEM Define 4
        Model Part Number: OEM Define 5
        Revision: OEM Define 6
        Max Power Capacity: 75 W
        Status: Not Present
        Type: Regulator
        Input Voltage Range Switching: Auto-switch
        Plugged: No
        Hot Replaceable: No

Handle 0x0034, DMI type 40, 17 bytes
Additional Information 1
        Referenced Handle: 0x000d
        Referenced Offset: 0x05
        String: PCIExpressx16
        Value: 0xaa
Additional Information 2
        Referenced Handle: 0x0000
        Referenced Offset: 0x05
        String: Compiler Version: VC 9.0
        Value: 0x00

Handle 0x0035, DMI type 41, 11 bytes
Onboard Device
        Reference Designation: IGD
        Type: Video
        Status: Disabled
        Type Instance: 1
        Bus Address: 0000:00:02.0

Handle 0x0036, DMI type 128, 8 bytes
OEM-specific Type
        Header and Data:
                80 08 36 00 55 AA 55 AA
        Strings:
                Oem Type 128 Test 1
                Oem Type 128 Test 2

Handle 0x0037, DMI type 129, 8 bytes
OEM-specific Type
        Header and Data:
                81 08 37 00 01 01 02 01
        Strings:
                Insyde_ASF_001
                Insyde_ASF_002

Handle 0x0038, DMI type 130, 20 bytes
OEM-specific Type
        Header and Data:
                82 14 38 00 24 41 4D 54 01 01 01 01 01 A5 BF 02
                C0 00 01 00

Handle 0x0039, DMI type 131, 64 bytes
OEM-specific Type
        Header and Data:
                83 40 39 00 31 00 00 00 00 00 00 00 00 00 00 00
                F8 00 0D A3 00 00 00 00 01 00 00 00 00 00 0C 00
                0F 06 40 00 00 00 00 00 FE 00 FF FF 00 00 00 00
                00 FF 00 00 26 00 00 00 76 50 72 6F 00 00 00 00

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

Handle 0x003B, DMI type 136, 6 bytes
OEM-specific Type
        Header and Data:
                88 06 3B 00 FF FF

Handle 0x003C, DMI type 200, 16 bytes
OEM-specific Type
        Header and Data:
                C8 10 3C 00 01 02 01 27 01 14 01 3D B2 80 01 05
        Strings:
                IdeaPad
                81Q50006CD

Handle 0x003D, DMI type 219, 106 bytes
OEM-specific Type
        Header and Data:
                DB 6A 3D 00 01 04 01 45 02 00 90 06 01 10 82 20
                00 00 00 04 48 00 00 00 00 00 00 06 00 00 40 02
                FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
                FF FF FF FF FF FF FF FF 03 00 00 00 80 00 00 00
                00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                00 00 00 00 00 00 00 00 00 00
        Strings:
                MEI1
                MEI2
                MEI3
                MEI4

Handle 0x003E, DMI type 221, 26 bytes
OEM-specific Type
        Header and Data:
                DD 1A 3E 00 03 01 00 07 00 4E 20 00 02 00 00 00
                00 EA 00 03 00 FF FF FF FF FF
        Strings:
                Reference Code - CPU
                uCode Version
                TXT ACM version

Handle 0x003F, DMI type 221, 26 bytes
OEM-specific Type
        Header and Data:
                DD 1A 3F 00 03 01 00 07 00 4E 20 00 02 00 00 00
                00 00 00 03 04 0C 00 40 0F 06
        Strings:
                Reference Code - ME
                MEBx version
                ME Firmware Version
                Consumer SKU

Handle 0x0040, DMI type 221, 82 bytes
OEM-specific Type
        Header and Data:
                DD 52 40 00 0B 01 00 07 00 4E 20 00 02 03 FF FF
                FF FF FF 04 00 FF FF FF 10 00 05 00 FF FF FF 10
                00 06 00 FF FF FF FF FF 07 00 02 00 00 00 00 08
                00 09 00 00 00 00 09 00 0A 00 00 00 00 0A 00 07
                00 00 00 00 0B 00 06 00 00 00 00 0C 00 07 00 00
                00 00
        Strings:
                Reference Code - CNL PCH
                PCH-CRID Status
                Disabled
                PCH-CRID Original Value
                PCH-CRID New Value
                OPROM - RST - RAID
                CNL PCH H A0 Hsio Version
                CNL PCH H Ax Hsio Version
                CNL PCH H Bx Hsio Version
                CNL PCH LP B0 Hsio Version
                CNL PCH LP Bx Hsio Version
                CNL PCH LP Dx Hsio Version

Handle 0x0041, DMI type 221, 54 bytes
OEM-specific Type
        Header and Data:
                DD 36 41 00 07 01 00 07 00 4E 20 00 02 00 00 07
                01 5F 00 03 00 07 00 4E 20 00 04 05 FF FF FF FF
                FF 06 00 00 00 00 07 00 07 00 00 00 00 07 00 08
                00 FF FF FF FF FF
        Strings:
                Reference Code - SA - System Agent
                Reference Code - MRC
                SA - PCIe Version
                SA-CRID Status
                Disabled
                SA-CRID Original Value
                SA-CRID New Value
                OPROM - VBIOS

Handle 0x0042, DMI type 221, 12 bytes
OEM-specific Type
        Header and Data:
                DD 0C 42 00 01 01 00 04 00 00 00 00
        Strings:
                FSP Binary Version

Handle 0x0043, DMI type 221, 89 bytes
OEM-specific Type
        Header and Data:
                DD 59 43 00 0C 01 00 FF FF FF FF FF 02 00 FF FF
                FF FF FF 03 04 FF FF FF FF FF 05 06 FF FF FF FF
                FF 07 08 FF FF FF FF FF 09 00 00 00 00 00 00 0A
                00 FF FF FF FF FF 0B 00 01 2A 00 00 00 0C 00 00
                09 00 84 10 0D 0E 01 04 01 00 00 0F 00 00 07 03
                00 00 10 00 00 02 00 0E 00
        Strings:
                Lan Phy Version
                Sensor Firmware Version
                Debug Mode Status
                Disabled
                Performance Mode Status
                Disabled
                Debug Use USB(Disabled:Serial)
                Disabled
                ICC Overclocking Version
                UNDI Version
                EC FW Version
                GOP Version
                Royal Park Version
                BP1.4.3.0_RP03
                Platform Version
                Client Silicon Version

Handle 0x0044, DMI type 222, 14 bytes
OEM-specific Type
        Header and Data:
                DE 0E 44 00 01 99 00 03 10 01 20 02 30 03
        Strings:
                Memory Init Complete
                End of DXE Phase
                BIOS Boot Complete

Handle 0x0045, DMI type 248, 18 bytes
OEM-specific Type
        Header and Data:
                F8 12 45 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
MrDuartePT commented 1 year ago

@KagaJiankui now that im notice you device is already supported see this line: https://github.com/johnfanv2/LenovoLegionLinux/blob/03a2ec7db61aed847780bc3fca9c40b61a992fab/kernel_module/legion-laptop.c#L481 Try testing the lastest commit just redowload the code or do a git pull --rebase

Pls report back

KagaJiankui commented 1 year ago

OK. I'll make a rough test since I'm short on time these days.