You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install and test this driver on unsupported hardware in a quest to make Ubuntu use the same fan curves that Windows uses (the laptop runs hotter in linux because it runs fanless for longer)
The driver works fine in testing and i can force-load it with:
sudo make forcereloadmodule_disableplatformprofile
Both fans are recognized and I can edit the fan curve.
I tried installing using both:
sudo make install or sudo make install forcereloadmodule_disableplatformprofile
In both cases the install process completes with success, with warning that the driver was loaded but it would have not been loded if not forced.
The driver is not loaded at boot though, if I check dmesg i get:
[ 2.926908] legion_laptop: loading out-of-tree module taints kernel. [ 2.926916] legion_laptop: module verification failed: signature and/or required key missing - tainting kernel [ 2.929507] ccp 0000:04:00.2: tee enabled [ 2.930321] ccp 0000:04:00.2: psp enabled [ 2.930487] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0 [ 2.930491] piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection [ 2.930548] legion_laptop: Loading legion_laptop [ 2.938049] legion PNP0C09:00: legion_laptop platform driver probing [ 2.938055] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82TL; DMI_BIOS_VERSION:JVCN40WW [ 2.938058] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82TL; DMI_BIOS_VERSION:JVCN40WW [ 2.938068] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0 [ 2.938071] 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. [ 2.938073] legion PNP0C09:00: legion_laptop not loaded for this device [ 2.942034] legion PNP0C09:00: probe with driver legion failed with error -12
Is there any way I can force the driver to load at boot once is installed?
Model and Debug Info
Installation type: github
Distribution: Ubuntu 24.04
Model name: Yoga Slim 7 Pro X 14ARH7
CPU model: AMD Ryzen 5 6600HS
GPU model: Nvidia 3050
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.
SMBIOS 3.3.0 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: 82TL
Version: Yoga Slim 7 ProX 14ARH7
Serial Number: xxxxx
UUID: xxxxx
Wake-up Type: Power Switch
SKU Number: LENOVO_MT_82TL_BU_idea_FM_Yoga Slim 7 ProX 14ARH7
Family: Yoga Slim 7 ProX 14ARH7
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 0x002F, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
Output of sudo dmidecode -t bios:
SMBIOS 3.3.0 present.
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: LENOVO
Version: JVCN40WW
Release Date: 02/05/2024
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.40
Firmware Revision: 1.40
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:
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve fancurve_pmw_speed fancurve_rpm_speed
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 4128047120
temperature access method: 1
CPU temperature error: 0
CPU temperature: 38
CPU temperature EC error: 0
CPU temperature EC: 38
CPU temperature ACPI error: 0
CPU temperature ACPI: 38
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: 0
GPU temperature error: 0
GPU temperature: 35
GPU temperature EC error: 0
GPU temperature EC: 35
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
GPU temperature WMI3 error: 0
GPU temperature WMI3: 0
fan speed access method: 11 fanspeed error: 01 fanspeed: 01 fanspeed EC error: 01 fanspeed EC: 01 fanspeed ACPI error: 01 fanspeed ACPI: 01 fanspeed WMI error: 01 fanspeed WMI: 01 fanspeed WMI2 error: 01 fanspeed WMI2: 01 fanspeed WMI3 error: 01 fanspeed WMI3: 02 fanspeed error: 02 fanspeed: 02 fanspeed EC error: 02 fanspeed EC: 02 fanspeed ACPI error: 02 fanspeed ACPI: 02 fanspeed WMI error: 02 fanspeed WMI: 02 fanspeed WMI2 error: 02 fanspeed WMI2: 02 fanspeed WMI3 error: 02 fanspeed WMI3: 0
powermode access method: 3
powermode error: 0
powermode: 0
powermode EC error: 0
powermode EC: 0
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: 0
powermode WMI: 0
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 1
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
fanfullspeed error: 0
fanfullspeed: 0
fanfullspeed EC error: 0
fanfullspeed EC: 0
Max speed for fancurve: 10000
Current fan curve in hardware:
Fan curve current point id: 0
Fan curve points size: 4u(speed_of_unit)|speed1[u]|speed2[u]|speed1[pwm]|speed2[pwm]|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
3 0 0 0 0 20 40 127 127 127 127 0 40
3 20 20 51 51 20 40 127 127 127 127 38 42
3 22 22 56 56 20 40 127 127 127 127 39 45
3 23 23 58 58 20 40 127 127 127 127 41 127
=====================
Current fan curve in hardware (WMI; might be empty)
Fan curve current point id: 0
Fan curve points size: 0
u(speed_of_unit)|speed1[u]|speed2[u]|speed1[pwm]|speed2[pwm]|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================
The text was updated successfully, but these errors were encountered:
Problem Description
Hi!
I'm trying to install and test this driver on unsupported hardware in a quest to make Ubuntu use the same fan curves that Windows uses (the laptop runs hotter in linux because it runs fanless for longer)
The driver works fine in testing and i can force-load it with:
sudo make forcereloadmodule_disableplatformprofile
Both fans are recognized and I can edit the fan curve.
I tried installing using both:
sudo make install
orsudo make install forcereloadmodule_disableplatformprofile
In both cases the install process completes with success, with warning that the driver was loaded but it would have not been loded if not forced.
The driver is not loaded at boot though, if I check dmesg i get:
[ 2.926908] legion_laptop: loading out-of-tree module taints kernel. [ 2.926916] legion_laptop: module verification failed: signature and/or required key missing - tainting kernel [ 2.929507] ccp 0000:04:00.2: tee enabled [ 2.930321] ccp 0000:04:00.2: psp enabled [ 2.930487] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0 [ 2.930491] piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection [ 2.930548] legion_laptop: Loading legion_laptop [ 2.938049] legion PNP0C09:00: legion_laptop platform driver probing [ 2.938055] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82TL; DMI_BIOS_VERSION:JVCN40WW [ 2.938058] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82TL; DMI_BIOS_VERSION:JVCN40WW [ 2.938068] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0 [ 2.938071] 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. [ 2.938073] legion PNP0C09:00: legion_laptop not loaded for this device [ 2.942034] legion PNP0C09:00: probe with driver legion failed with error -12
Is there any way I can force the driver to load at boot once is installed?
Model and Debug Info
Installation type: github
Distribution: Ubuntu 24.04
Model name: Yoga Slim 7 Pro X 14ARH7
CPU model: AMD Ryzen 5 6600HS
GPU model: Nvidia 3050
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
.Output of
sudo dmidecode -t bios
:Output of
sudo cat /sys/kernel/debug/legion/fancurve
:The text was updated successfully, but these errors were encountered: