LenovoLegionLinux icon indicating copy to clipboard operation
LenovoLegionLinux copied to clipboard

[BUG]Installed and module is loaded but "No such file or directory: /sys/firmware/efi/efivars/..."

Open Daumss opened this issue 8 months ago • 5 comments

Problem Description If I manually compile, sign kernel module and run legion_gui.py, it works fine.(Of course except the features that are not supported for my laptop) However, if I install using package manager, it doesn't work!

Has the bug occurred following steps described in the README? yes

What steps did you take?

# echo "=sys-firmware/lenovolegionlinux-9999 modules-compress" > /etc/portage/package.use/LLL
# echo "=sys-firmware/lenovolegionlinux-9999 ~amd64" > /etc/portage/package.accept_keywords/LLL
# emerge -q lenovolegionlinux
# reboot
# systemctl start legiond

What commands did you enter? legion_gui / sudo legion_gui (both same occur)

What was the (full) error you received and what command or action did lead to it?

emerge -pv lenovolegionlinux :

[ebuild   R   *] sys-firmware/lenovolegionlinux-9999::guru  USE="gui modules-compress modules-sign strip -dist-kernel -downgrade-nvidia (-elogind)" PYTHON_TARGETS="python3_12 -python3_11" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

systemctl status legiond

● legiond.service - legiond daemon
     Loaded: loaded (/usr/lib/systemd/system/legiond.service; disabled; preset: disabled)
     Active: active (running) since Wed 2025-04-30 22:21:49 KST; 18min ago
 Invocation: 42ee9e388a054863a60904ae23d1cd4d
   Main PID: 44187 (legiond)
      Tasks: 2 (limit: 18409)
     Memory: 516K (peak: 15.2M)
        CPU: 176ms
     CGroup: /system.slice/legiond.service
             └─44187 /usr/bin/legiond

 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44190]:   File "/usr/lib/python3.12/site-packages/legion_linux/legion.py", line 660, in _exec_cmd
 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44190]:     out_str = stdout.decode(DEFAULT_ENCODING)
 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44190]:               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44190]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 686: invalid start byte
 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: fancurve_control cmd failed
 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: cpu_control is set to false
 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: skip cpu_control
 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44196]: [62B blob data]
 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: gpu_control cmd failed
 4월 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: ---------------set_all end---------------

legion_gui

QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
INFO:legion_linux.legion:[    5.050030] legion_laptop: Loading legion_laptop
[    5.050267] legion PNP0C09:00: legion_laptop platform driver probing
[    5.050273] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82EY; DMI_BIOS_VERSION:FCCN19WW
[    5.050277] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82EY; DMI_BIOS_VERSION:FCCN19WW
[    5.050284] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[    5.050287] legion PNP0C09:00: Using configuration for system: FCCN
[    5.051181] legion PNP0C09:00: ACPI CFG: 2081289494
[    5.051186] legion_laptop: Creating RAM access to embedded controller
[    5.051211] legion_laptop: Successfully mapped embedded controller: 0xfe00d400 (in RAM)/0x0 (in EC) to virtual 0x000000008dc7b529
[    5.051272] legion PNP0C09:00: Read embedded controller ID 0x8227
[    5.051276] legion PNP0C09:00: Creating debugfs interface
[    5.051296] legion_laptop: Creating sysfs interface
[    5.051781] legion_laptop: Creating hwmon interface
[    5.052902] legion_laptop: Creating platform profile support
[    5.052913] legion_laptop: Init WMI driver support
[    5.052973] legion_wmi 887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[    5.053043] legion_wmi BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[    5.053080] legion_wmi D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[    5.053113] legion_wmi BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[    5.053142] legion_wmi BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[    5.053172] legion_wmi 10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[    5.053200] legion_wmi D320289E-8FEA-41E0-86F9-611D83151B5F: Register after probing for WMI.
[    5.053301] legion_wmi 8FC0DE0C-B4E4-43FD-B0F3-8871711C1294: Register after probing for WMI.
[    5.053732] legion_laptop: Init keyboard backlight LED driver
[    5.053740] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[    5.053743] legion_laptop: Error for WMI method call to get brightness
[    5.053746] legion_laptop: Error reading keyboard brightness
[    5.053749] legion PNP0C09:00: Failed to init keyboard backlight LED driver. Skipping ...
[    5.053752] legion_laptop: Init Y-Logo LED driver
[    5.053756] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[    5.053759] legion_laptop: Error for WMI method call to get brightness
[    5.053760] legion_laptop: Error reading brightness for light: 3
[    5.053764] legion PNP0C09:00: Failed to init Y-Logo LED driver. Skipping ...
[    5.053767] legion_laptop: Init IO-Port LED driver
[    5.053770] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[    5.053772] legion_laptop: Error for WMI method call to get brightness
[    5.053773] legion_laptop: Error reading brightness for light: 5
[    5.053775] legion PNP0C09:00: Failed to init IO-Port LED driver. Skipping ...
[    5.053778] legion PNP0C09:00: legion_laptop loaded for this device

INFO:legion_linux.legion:Feature LockFanController with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/lockfancontroller and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/lockfancontroller
INFO:legion_linux.legion:Feature RapidChargingFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/rapidcharge and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/rapidcharge
INFO:legion_linux.legion:Feature BatteryConservation with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
INFO:legion_linux.legion:Feature MaximumFanSpeedFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/fan_fullspeed and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/fan_fullspeed
INFO:legion_linux.legion:Feature FnLockFeature with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/fn_lock and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/fn_lock
INFO:legion_linux.legion:Feature WinkeyFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/winkey and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/winkey
INFO:legion_linux.legion:Feature TouchpadFeature with pattern ['/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/touchpad', '/sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/touchpad'] and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/touchpad
INFO:legion_linux.legion:Feature CameraPowerFeature with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/camera_power and path /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/camera_power
INFO:legion_linux.legion:Feature OverdriveFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/overdrive and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/overdrive
INFO:legion_linux.legion:Feature GsyncFeature with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gsync and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gsync
INFO:legion_linux.legion:Feature PlatformProfileFeature with pattern /sys/firmware/acpi/platform_profile and path /sys/firmware/acpi/platform_profile
INFO:legion_linux.legion:Feature StrFileFeature with pattern /sys/firmware/acpi/platform_profile_choices and path /sys/firmware/acpi/platform_profile_choices
INFO:legion_linux.legion:Feature IsOnPowerSupplyFeature with pattern /sys/class/power_supply/ADP0/online and path /sys/class/power_supply/ADP0/online
INFO:legion_linux.legion:Feature AlwaysOnUSBChargingFeature with pattern /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/usb_charging and path None
WARNING:legion_linux.legion:Feature AlwaysOnUSBChargingFeature does not exist. exits: 0
INFO:legion_linux.legion:Feature BatteryCurrentCapacityPercentage with pattern /sys/class/power_supply/BAT0/capacity and path /sys/class/power_supply/BAT0/capacity
INFO:legion_linux.legion:Feature CPUOverclock with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_oc and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_oc
INFO:legion_linux.legion:Feature CPULongtermPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_longterm_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_longterm_powerlimit
INFO:legion_linux.legion:Feature CPUShorttermPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_shortterm_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_shortterm_powerlimit
INFO:legion_linux.legion:Feature CPUPeakPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_peak_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_peak_powerlimit
INFO:legion_linux.legion:Feature CPUDefaultPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_default_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_default_powerlimit
INFO:legion_linux.legion:Feature CPUCrossLoadingPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_cross_loading_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_cross_loading_powerlimit
INFO:legion_linux.legion:Feature CPUAPUSPPTPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_apu_sppt_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/cpu_apu_sppt_powerlimit
INFO:legion_linux.legion:Feature GPUOverclock with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_oc and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_oc
INFO:legion_linux.legion:Feature GPUBoostClock with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_boost_clock and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_boost_clock
INFO:legion_linux.legion:Feature GPUCTGPPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ctgp_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ctgp_powerlimit
INFO:legion_linux.legion:Feature GPUPPABPowerLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ppab_powerlimit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_ppab_powerlimit
INFO:legion_linux.legion:Feature GPUTemperatureLimit with pattern /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_temperature_limit and path /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/gpu_temperature_limit
INFO:legion_linux.legion:Feature YLogoLight with pattern /sys/class/leds/platform::ylogo/brightness and path None
WARNING:legion_linux.legion:Feature YLogoLight does not exist. exits: 0
INFO:legion_linux.legion:Feature IOPortLight with pattern /sys/class/leds/platform::ioport/brightness and path None
WARNING:legion_linux.legion:Feature IOPortLight does not exist. exits: 0
INFO:legion_linux.legion:CommandFeature PowerProfilesDeamonService: []
WARNING:legion_linux.legion:Feature PowerProfilesDeamonService does not exist. exits: 0
INFO:legion_linux.legion:CommandFeature PowerProfilesDeamonService execute "systemctl status power-profiles-daemon"
INFO:legion_linux.legion:CommandFeature PowerProfilesDeamonService reading with code 4: 
INFO:legion_linux.legion:CommandFeature LenovoLegionLaptopSupportService: []
WARNING:legion_linux.legion:Feature LenovoLegionLaptopSupportService does not exist. exits: 0
INFO:legion_linux.legion:CommandFeature LenovoLegionLaptopSupportService execute "systemctl status legiond.service legiond-onresume.service legiond-cpuset.service legiond-cpuset.timer"
INFO:legion_linux.legion:CommandFeature LenovoLegionLaptopSupportService reading with code 3: * legiond.service - legiond daemon
     Loaded: loaded (/usr/lib/systemd/system/legiond.service; disabled; preset: disabled)
     Active: active (running) since Wed 2025-04-30 22:21:49 KST; 20min ago
 Invocation: 42ee9e388a054863a60904ae23d1cd4d
   Main PID: 44187 (legiond)
      Tasks: 2 (limit: 18409)
     Memory: 516K (peak: 15.2M)
        CPU: 176ms
     CGroup: /system.slice/legiond.service
             `-44187 /usr/bin/legiond

Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44190]:   File "/usr/lib/python3.12/site-packages/legion_linux/legion.py", line 660, in _exec_cmd
Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44190]:     out_str = stdout.decode(DEFAULT_ENCODING)
Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44190]:               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44190]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 686: invalid start byte
Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: fancurve_control cmd failed
Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: cpu_control is set to false
Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: skip cpu_control
Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44196]: [62B blob data]
Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: gpu_control cmd failed
Apr 30 22:21:50 DESKTOP-VSMKTOP legiond[44187]: ---------------set_all end---------------

* legiond-onresume.service - Start legiond-ctl fanset on resume
     Loaded: loaded (/usr/lib/systemd/system/legiond-onresume.service; disabled; preset: disabled)
     Active: inactive (dead)

* legiond-cpuset.service - set legion cpu
     Loaded: loaded (/usr/lib/systemd/system/legiond-cpuset.service; static)
     Active: inactive (dead)

* legiond-cpuset.timer - Reapply legiond-cpuset
     Loaded: loaded (/usr/lib/systemd/system/legiond-cpuset.timer; disabled; preset: disabled)
     Active: inactive (dead)
    Trigger: n/a
   Triggers: * legiond-cpuset.service

INFO:legion_linux.legion:Feature LegionGUIAutostart with pattern /root/.config and path /root/.config
WARNING:legion_linux.legion:Feature LegionGUIAutostart does not exist. exits: 0
INFO:legion_linux.legion:Feature NVIDIAGPUIsRunning with pattern /sys/bus/pci/devices/0000:01:00.0/power/runtime_status and path /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
INFO:legion_linux.legion:Setting feature automatic_close to 0
INFO:legion_linux.legion:Notifying subscribers of change
INFO:legion_linux.legion:Setting feature close_to_tray to 0
INFO:legion_linux.legion:Notifying subscribers of change
INFO:legion_linux.legion:Setting feature open_closed_to_tray to 0
INFO:legion_linux.legion:Notifying subscribers of change
INFO:legion_linux.legion:Setting feature enable_gui_monitoring to 0
INFO:legion_linux.legion:Notifying subscribers of change
INFO:legion_linux.legion:Setting feature icon_color_mode to always-color
INFO:legion_linux.legion:Notifying subscribers of change
INFO:legion_linux.legion:Settings file exists and will be loaded.
INFO:legion_linux.legion:Loaded settings:
 setting_entries:
  close_to_tray: false
  open_closed_to_tray: false
  enable_gui_monitoring: false
  icon_color_mode: automatic

ERROR:legion_linux.legion:Try seting close_to_tray from preset to False
INFO:legion_linux.legion:Setting feature close_to_tray to 0
INFO:legion_linux.legion:Notifying subscribers of change
ERROR:legion_linux.legion:Try seting open_closed_to_tray from preset to False
INFO:legion_linux.legion:Setting feature open_closed_to_tray to 0
INFO:legion_linux.legion:Notifying subscribers of change
ERROR:legion_linux.legion:Try seting enable_gui_monitoring from preset to False
INFO:legion_linux.legion:Setting feature enable_gui_monitoring to 0
INFO:legion_linux.legion:Notifying subscribers of change
ERROR:legion_linux.legion:Try seting icon_color_mode from preset to automatic
INFO:legion_linux.legion:Setting feature icon_color_mode to automatic
INFO:legion_linux.legion:Notifying subscribers of change
INFO:legion_linux.legion:Setting feature open_closed_to_tray to 0
INFO:legion_linux.legion:Notifying subscribers of change
INFO:legion_linux.legion:Setting feature close_to_tray to 0
INFO:legion_linux.legion:Notifying subscribers of change
INFO:legion_linux.legion:Using color mode: light
INFO:legion_linux.legion:Using icon_color light
INFO:legion_linux.legion:Using icon legion_logo_light
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/legion_gui", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/legion_linux/legion_gui.py", line 1748, in main
    main_window = MainWindow(controller, icon)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/legion_linux/legion_gui.py", line 1489, in __init__
    self.tabs = Tabs(controller)
                ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/legion_linux/legion_gui.py", line 1443, in __init__
    ("Other Options", OtherOptionsTab(controller)),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/legion_linux/legion_gui.py", line 1124, in __init__
    self.init_ui()
  File "/usr/lib/python3.12/site-packages/legion_linux/legion_gui.py", line 1200, in init_ui
    self.update_bootlogo_view()
  File "/usr/lib/python3.12/site-packages/legion_linux/legion_gui.py", line 1203, in update_bootlogo_view
    is_on, w, h = self.controller.model.get_boot_logo_status()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/legion_linux/legion.py", line 1509, in get_boot_logo_status
    data = self._read_file(LBLDESP_FILE)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/legion_linux/legion.py", line 1489, in _read_file
    with open(file_path, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/firmware/efi/efivars/LBLDESP-871455d0-5576-4fb8-9865-af0824463b9e'

dmesg | grep legion

[    5.050267] legion PNP0C09:00: legion_laptop platform driver probing
[    5.050273] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82EY; DMI_BIOS_VERSION:FCCN19WW
[    5.050277] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82EY; DMI_BIOS_VERSION:FCCN19WW
[    5.050284] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[    5.050287] legion PNP0C09:00: Using configuration for system: FCCN
[    5.051181] legion PNP0C09:00: ACPI CFG: 2081289494
[    5.051186] legion_laptop: Creating RAM access to embedded controller
[    5.051211] legion_laptop: Successfully mapped embedded controller: 0xfe00d400 (in RAM)/0x0 (in EC) to virtual 0x000000008dc7b529
[    5.051272] legion PNP0C09:00: Read embedded controller ID 0x8227
[    5.051276] legion PNP0C09:00: Creating debugfs interface
[    5.051296] legion_laptop: Creating sysfs interface
[    5.051781] legion_laptop: Creating hwmon interface
[    5.052902] legion_laptop: Creating platform profile support
[    5.052913] legion_laptop: Init WMI driver support
[    5.052973] legion_wmi 887B54E3-DDDC-4B2C-8B88-68A26A8835D0: Register after probing for WMI.
[    5.053043] legion_wmi BFD42481-AEE3-4501-A107-AFB68425C5F8: Register after probing for WMI.
[    5.053080] legion_wmi D062906B-12D4-4510-999D-4831EE80E985: Register after probing for WMI.
[    5.053113] legion_wmi BFD42481-AEE3-4502-A107-AFB68425C5F8: Register after probing for WMI.
[    5.053142] legion_wmi BC72A435-E8C1-4275-B3E2-D8B8074ABA59: Register after probing for WMI.
[    5.053172] legion_wmi 10AFC6D9-EA8B-4590-A2E7-1CD3C84BB4B1: Register after probing for WMI.
[    5.053200] legion_wmi D320289E-8FEA-41E0-86F9-611D83151B5F: Register after probing for WMI.
[    5.053301] legion_wmi 8FC0DE0C-B4E4-43FD-B0F3-8871711C1294: Register after probing for WMI.
[    5.053732] legion_laptop: Init keyboard backlight LED driver
[    5.053740] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[    5.053743] legion_laptop: Error for WMI method call to get brightness
[    5.053746] legion_laptop: Error reading keyboard brightness
[    5.053749] legion PNP0C09:00: Failed to init keyboard backlight LED driver. Skipping ...
[    5.053752] legion_laptop: Init Y-Logo LED driver
[    5.053756] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[    5.053759] legion_laptop: Error for WMI method call to get brightness
[    5.053760] legion_laptop: Error reading brightness for light: 3
[    5.053764] legion PNP0C09:00: Failed to init Y-Logo LED driver. Skipping ...
[    5.053767] legion_laptop: Init IO-Port LED driver
[    5.053770] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[    5.053772] legion_laptop: Error for WMI method call to get brightness
[    5.053773] legion_laptop: Error reading brightness for light: 5
[    5.053775] legion PNP0C09:00: Failed to init IO-Port LED driver. Skipping ...
[    5.053778] legion PNP0C09:00: legion_laptop loaded for this device

lsmod |grep legion

legion_laptop         102400  0
platform_profile       12288  2 legion_laptop,ideapad_laptop
wmi                    36864  4 video,wmi_bmof,legion_laptop,ideapad_laptop

Model and Debug Info

Installation type: package manager(portage live build) Distribution: 6.6.47-gentoo with systemd Model name: ideapad Gaming 3-15ARH05 Laptop - Type 82EY CPU model: AMD Ryzen 5 4600H with Radeon Graphics GPU model: GeForce GTX 1650 Ti 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:

# dmidecode 3.6
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
	Serial Number: {removed}
	UUID: {removed}
	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.6
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

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 fancurve_pmw_speed fancurve_rpm_speed
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081289494
temperature access method: 2
CPU temperature error: 0
CPU temperature: 47
CPU temperature EC error: 0
CPU temperature EC: 39
CPU temperature ACPI error: 0
CPU temperature ACPI: 47
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: 42
GPU temperature EC error: 0
GPU temperature EC: 46
GPU temperature ACPI error: 0
GPU temperature ACPI: 42
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: 3
1 fanspeed error: 0
1 fanspeed: 2400
1 fanspeed EC error: 0
1 fanspeed EC: 0
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 2400
1 fanspeed WMI error: 0
1 fanspeed WMI: 2400
1 fanspeed WMI2 error: -14
1 fanspeed WMI2: 2400
1 fanspeed WMI3 error: -14
1 fanspeed WMI3: 2400
2 fanspeed error: 0
2 fanspeed: 2200
2 fanspeed EC error: 0
2 fanspeed EC: 0
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 2200
2 fanspeed WMI error: 0
2 fanspeed WMI: 2200
2 fanspeed WMI2 error: -14
2 fanspeed WMI2: 2200
2 fanspeed WMI3 error: -14
2 fanspeed WMI3: 2200
powermode access method: 3
powermode error: 0
powermode: 3
powermode EC error: 0
powermode EC: 0
powermode ACPI error: -5
powermode ACPI: -1556516868
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: 0
EC minifancurve on cool: error
EC lockfancontroller error: 0
EC lockfancontroller: false
fanfullspeed error: -22
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: 8
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
3	 0	 0	 0	 0	 0	 0	 0	 44	 0	 56	 0	 0
3	 16	 14	 40	 40	 0	 0	 41	 50	 52	 56	 0	 0
3	 26	 22	 66	 66	 0	 0	 47	 56	 52	 56	 0	 0
3	 28	 26	 71	 71	 0	 0	 52	 66	 52	 56	 0	 0
3	 31	 29	 79	 79	 0	 0	 62	 78	 52	 56	 0	 0
3	 35	 33	 89	 89	 0	 0	 74	 81	 52	 59	 0	 0
3	 39	 37	 99	 99	 0	 0	 77	 84	 55	 62	 0	 0
3	 46	 44	 117	 117	 0	 0	 80	 93	 58	 71	 0	 0
=====================
Current fan curve in hardware (WMI; might be empty)
Fan curve current point id: -1547697179
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
=====================

Daumss avatar Apr 30 '25 14:04 Daumss

Decoding error of service acually doesn't matter with critical problem which is 'No such file or directory…'

Daumss avatar May 02 '25 12:05 Daumss

Actually with the same error, installed with yay

diogo098 avatar Jun 10 '25 18:06 diogo098

Or, …

Sorry, we updated the kernel and the GUI at the same time but did not make the GUI compatible with lower level version kernels. We need to make a breaking change to follow official kernel standard to eventually merge it into main line kerne. Please just update the kernel module.

Which package from which source did you use to install it? It should be correct in the package sources. If you installed a dkms package for the kernel module please also try to update this.

link

Maybe I should update my kernel and then check again…

EDIT: I tried commits from current to 2023/10 commit but all had same error. Since the last time it worked was about 2024/12, it isn't happening by some commit but our system has it itself

Daumss avatar Jul 05 '25 15:07 Daumss

Decoding error of service acually doesn't matter with critical problem which is 'No such file or directory…'

Same issue here: https://github.com/johnfanv2/LenovoLegionLinux/pull/361 Maybe the main problem is " No such file or directory"?

ShionKanagawa avatar Oct 19 '25 04:10 ShionKanagawa

실제로 서비스의 디코딩 오류는 '해당 파일이나 디렉토리가 없습니다...'라는 심각한 문제와는 관련이 없습니다.

여기서도 같은 문제가 발생합니다: #361 아마도 가장 큰 문제는 "해당 파일이나 디렉토리가 없습니다"일 것입니다.

I will try it. Thanks.

Daumss avatar Oct 19 '25 05:10 Daumss