You are not logged in.

#1 Yesterday 15:32:44

useraddition
Member
Registered: 2013-06-07
Posts: 145

I can't seem to install driver for my Lenovo Laptop fans

Hi I'm having a problem, I installed a program from aur 'LenovoLegionLinux' it is the fan driver. It requires 'pwmconfig' and 'fancontrol' I have both pwm and fancontrol and I can't generate pwmconfig file, it's not letting me. These are my specs I tryed finding reference on the web and I can't find any substantial documentation.

$ sudo legion_cli fan-unlock-enable
Traceback (most recent call last):
  File "/usr/bin/legion_cli", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3.14/site-packages/legion_linux/legion_cli.py", line 512, in main
    legion = LegionModelFacade(expect_hwmon=not args.donotexpecthwmon)
  File "/usr/lib/python3.14/site-packages/legion_linux/legion.py", line 1532, in __init__
    self.fancurve_io = FanCurveIO(expect_hwmon=expect_hwmon)
                       ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/legion_linux/legion.py", line 797, in __init__
    raise FileNotFoundError("hwmon dir not found")
FileNotFoundError: hwmon dir not found
$ 

So I found this documentation site on my driver and tryed to follow the wiki
https://github.com/johnfanv2/LenovoLegi … /README.md

so then i did 'pwmconfig' and got this error:

$sudo pwmconfig
# pwmconfig version 3.6.2
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

/usr/bin/pwmconfig: There are no pwm-capable sensor modules installed
$

So now I'm stuck and my laptop has been getting hot and I really need to get my fans going:

This is my specs:

$fastfetch
                 -`                     @archlinux
                 .o+`                    ---------------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: 83LY (Legion 5 15IRX10)
              `+oooooo:                  Kernel: Linux 7.2.3-arch1-2
              -+oooooo+:                 Uptime: 1 hour, 39 mins
            `/:-:++oooo+:                Packages: 1284 (pacman)
           `/++++/+++++++:               Shell: bash 5.3.15
          `/++++++++++++++:              Display (eDP-1): 2560x1600 in 15", 165 Hz [Built-in]
         `/+++ooooooooooooo/`            Window Manager: Openbox 3.6.1 (X11)
        ./ooosssso++osssssso+`           WM Theme: Onyx-Citrus
       .oossssso-````/ossssss+`          Icons: oxygen [GTK2]
      -osssssso.      :ssssssso.         Cursor: Adwaita
     :osssssss/        osssso+++.        Terminal: konsole 26.8.0
    /ossssssss/        +ssssooo/-        CPU: Intel(R) Core(TM) i7-14700HX (16+12) @ 5.50 GHz
  `/ossssso+/:-        -:/+osssso+-      GPU 1: NVIDIA GeForce RTX 5060 Max-Q / Mobile [Discrete]
 `+sso+:-`                 `.-/+oso:     GPU 2: Intel Raptor Lake-S UHD Graphics @ 1.60 GHz [Integrated]
`++:.                           `-/+/    Memory: 4.66 GiB / 15.33 GiB (30%)
.`                                 `/    Swap: 0 B / 9.77 GiB (0%)
                                         Disk (/): 194.42 GiB / 758.76 GiB (26%) - ext4
                                         Local IP (wlp18s0): 172.24.123.138/19
                                         Battery (L24N4PC0): 100% [AC Connected]
                                         Locale: C.UTF-8
                                         
                                                                 
                                                                 
$ 

This is the result of 'inxi -F':

$inxi -F

System:
  Host: archlinux Kernel: 7.2.3-arch1-2 arch: x86_64 bits: 64
  Desktop: Openbox v: 3.6.1 Distro: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 83LY v: Legion 5 15IRX10
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76461 WIN
    serial: <superuser required> Firmware: UEFI vendor: LENOVO v: QNCN28WW
    date: 05/12/2025
Battery:
  ID-1: BAT0 charge: 86.7 Wh (100%) condition: 86.7/80 Wh (108.3%)
CPU:
  Info: 20-core (8-mt/12-st) model: Intel Core i7-14700HX bits: 64
    type: MST AMCP cache: L2: 28 MiB
  Speed (MHz): avg: 800 min/max: 800/5300:5500:3900 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
    13: 800 14: 800 15: 800 16: 800 17: 800 18: 800 19: 800 20: 800 21: 800
    22: 800 23: 800 24: 800 25: 800 26: 800 27: 800 28: 800
Graphics:
  Device-1: Intel Raptor Lake-S UHD Graphics driver: i915 v: kernel
  Device-2: NVIDIA GB206M [GeForce RTX 5060 Max-Q / Mobile] driver: nvidia
    v: 610.57.04
  Device-3: Syntek Integrated Camera driver: uvcvideo type: USB
  Display: unspecified server: X.org v: 1.21.1.24 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915 resolution: 2560x1600~165Hz
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: intel mesa v: 26.2.2-arch1.1
    renderer: Mesa Intel Graphics (RPL-S)
  API: Vulkan v: 1.4.357 drivers: nvidia surfaces: N/A
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    gpu: nvidia-settings,nvidia-smi x11: xprop,xrandr
Audio:
  Device-1: Intel 700 Series Family HD Audio driver: snd_hda_intel
  Device-2: NVIDIA GB206 High Definition Audio driver: snd_hda_intel
  API: ALSA v: k7.2.3-arch1-2 status: kernel-api
  Server-1: PulseAudio v: 17.0-98-gb096 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp12s0 state: down mac: c8:53:09:fe:65:77
  Device-2: MEDIATEK MT7925 802.11be 160MHz 2x2 PCIe Wireless Network
    Adapter [Filogic 360] driver: mt7925e
  IF: wlp18s0 state: up mac: 48:45:e6:48:28:a5
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb type: USB
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: not found
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 194.63 GiB (20.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD PC SN7100S
    SDFPMSL-1T00-1101 size: 953.87 GiB
Partition:
  ID-1: / size: 758.76 GiB used: 194.42 GiB (25.6%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot size: 499 MiB used: 225 MiB (45.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 9.77 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 35.0 C mobo: N/A
  Fan Speeds (rpm): cpu: 1800 fan-2: 1800
Info:
  Memory: total: 16 GiB note: est. available: 15.33 GiB used: 4.68 GiB (30.5%)
  Processes: 449 Uptime: 1h 40m Shell: Bash inxi: 3.3.41
$

I am so stuck about what to do now.. I hope you guys can help, thanks.

Offline

#2 Yesterday 16:32:46

xerxes_
Member
Registered: 2018-04-29
Posts: 1,073

Re: I can't seem to install driver for my Lenovo Laptop fans

Things to do fast: fully power off laptop, unplug charger for few minutes, reset bios to defaults and once again fully power off laptop, unplug charger for few minutes...
If that don't help, find out how to reset your laptop cmos on motherboard; maybe there is some way (key shortcuts when boot or something else), so you don't have to disassemble your laptop.

What display command 'sensors'?

Offline

#3 Yesterday 19:24:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,706

Re: I can't seem to install driver for my Lenovo Laptop fans

https://aur.archlinux.org/packages/leno … x-dkms-git ?

dkms status
pacman -Q | grep -E '^linux'

Offline

#4 Today 09:33:09

gnox
Member
Registered: 2013-05-18
Posts: 91

Re: I can't seem to install driver for my Lenovo Laptop fans

That "LNV" model is not in the allowlist for that driver, you can force to load the driver, but some features could not work better to ask the driver maintainers to add  support for your laptop model.

Offline

Board footer

Powered by FluxBB