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

Does LenovoLegionLinux support zhaoyang X5-16 ABP laptop ? #254

Open hpt opened 2 months ago

hpt commented 2 months ago

Is your feature request related to a problem? Please describe. I cannot load the module on my laptop: [18138.206966] legion_laptop: Loading legion_laptop [18138.207053] legion PNP0C09:00: legion_laptop platform driver probing [18138.207056] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 83CB; DMI_BIOS_VERSION:MNCN26WW [18138.207058] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 83CB; DMI_BIOS_VERSION:MNCN26WW [18138.207065] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0 [18138.207068] legion PNP0C09:00: Module not usable for this laptop because it is not in allowlist. Notify the maintainer if you want to add your device or force load with param force. [18138.207069] legion PNP0C09:00: legion_laptop not loaded for this device [18138.207140] legion PNP0C09:00: probe with driver legion failed with error -12

Describe the solution you'd like May I know if we can support zhaoyang laptop?

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Model and Debug Info

Distribution: Fedora 40 Model name: ZhaoYang X5-16 ABP CPU model: 16 × AMD Ryzen 7 7730U with Radeon Graphics GPU model: AMD Radeon Graphics Keyboard backlight: no 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:

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

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

Handle 0x000E, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 83CB
        Version: ZhaoYang X5-16 ABP
        Serial Number: XXXXXXXX
        UUID: XXXXXXXXXX
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_83CB_BU_idea_FM_ZhaoYang X5-16 ABP
        Family: ZhaoYang X5-16 ABP

Handle 0x0033, DMI type 15, 31 bytes
System Event Log
        Area Length: 82 bytes
        Header Start Offset: 0x0000
        Header Length: 16 bytes
        Data Start Offset: 0x0010
        Access Method: General-purpose non-volatile data functions
        Access Address: 0x00F0
        Status: Valid, Not Full
        Change Token: 0x00000004
        Header Format: Type 1
        Supported Log Type Descriptors: 4
        Descriptor 1: POST error
        Data Format 1: POST results bitmap
        Descriptor 2: PCI system error
        Data Format 2: None
        Descriptor 3: System reconfigured
        Data Format 3: None
        Descriptor 4: Log area reset/cleared
        Data Format 4: None

Output of sudo dmidecode -t bios:

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

Handle 0x000D, DMI type 0, 24 bytes
BIOS Information
        Vendor: LENOVO
        Version: MNCN26WW
        Release Date: 12/20/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
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                CGA/mono video services are supported (int 10h)
                NEC PC-98
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                ATAPI Zip drive boot is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
        BIOS Revision: 1.26
        Firmware Revision: 1.26

Handle 0x002D, DMI type 13, 22 bytes
BIOS Language Information
        Language Description Format: Abbreviated
        Installable Languages: 6
                en-US
                fr-FR
                ja-JP
                ko-KR
                zh-CHT
                zh-CHS
        Currently Installed Language: en-US

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

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