Fan control in Lenovo Yoga Slim 7i 13ITL5

I’ve got a computer as in the title with up to date Manjaro and I can’t get access to the fan speeds, something I’d like to do in my quest to make this computer be quieter.

Ran sensors-detect; sensors doesn’t see any fans (below: fan speeds N/A). NBFC doesn’t have my model. So I’m at a loss as to how to get access to that. Chip: intel i5 1135-g7.

Thanks!

inxi -Fxxx                                                                         ✔ 
System:
  Kernel: 5.15.74-3-MANJARO arch: x86_64 bits: 64
    compiler: gcc v: 12.2.0 Desktop: KDE Plasma v: 5.25.5 tk: Qt v: 5.15.6
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82CU v: Yoga Slim 7 13ITL5
    serial: <superuser required> Chassis: type: 10 v: Yoga Slim 7 13ITL5
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN
    serial: <superuser required> UEFI: LENOVO v: F7CN38WW date: 05/13/2022
Battery:
  ID-1: BAT0 charge: 29.9 Wh (59.3%) condition: 50.4/50.0 Wh (100.8%)
    volts: 7.9 min: 7.7 model: SMP L19M4PF7 type: Li-ion serial: 1581
    status: discharging cycles: 3
CPU:
  Info: quad core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    smt: enabled arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 8 MiB
  Speed (MHz): avg: 1109 high: 1277 min/max: 400/4200 cores: 1: 985 2: 1118
    3: 1239 4: 1115 5: 1201 6: 1163 7: 1277 8: 777 bogomips: 38720
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: DP-1,
    DP-2, DP-3, DP-4 bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-7:2 chip-ID: 13d3:5419 class-ID: fe01 serial: 0000
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
    loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65")
    s-diag: 798mm (31.43")
  Monitor-1: eDP-1 model-id: CSO 0x076d res: 2560x1600 hz: 60 dpi: 227
    size: 286x179mm (11.26x7.05") diag: 337mm (13.3") modes: 2560x1600
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.1.7
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:a0c8
    class-ID: 0401
  Sound API: ALSA v: k5.15.74-3-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: fc:b3:bc:79:0a:a4
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:3 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 736.49 GiB (154.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730
    SDBPNTY-512G-1101 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: 21064Y805943 rev: 11170001 temp: 31.9 C scheme: GPT
Partition:
  ID-1: / size: 418.98 GiB used: 47.27 GiB (11.3%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 41.3 MiB (43.0%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 36.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 273 Uptime: 38m wakeups: 2684 Memory: 15.43 GiB used: 5.29 GiB
  (34.3%) Init: systemd v: 251 default: graphical Compilers: gcc: 12.2.0
  clang: 14.0.6 Packages: pm: pacman pkgs: 1320 Shell: Zsh v: 5.9
  default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.22

did you run “sensors” first to detect suitable sensors ? I don’t think so. Please run this first to create a config with the sensors. Follow the instrutions of the link below:
https://wiki.archlinux.org/title/Sensors

enable the aur-packages from the packet-manager and search if there are suitable apps for “lenovo”.
for example “lenovo-ice…”. if your bios is able to use this tool try it.
also check for “linux-firmware” updates at the packet-manager.

i’m not shure if “nbfc” is the right tool, you can try it or search for fancontrol in the packet-manager.
the basic for everything is to run “sensors” first for the sensor-detect procedure.
it might not be the ultimate solution but it will be a step forward with your problem.

I had run sensors. Below is the current output.

I installed lenovo-ice…, rebooted as required, but sensors is still not seeing the fans. linux-firmware is up-to-date.

                                                                                         ✔ 
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +39.0°C  (high = +100.0°C, crit = +100.0°C)

nvme-pci-0100
Adapter: PCI adapter
Composite:    +32.9°C  (low  =  -5.2°C, high = +83.8°C)
                       (crit = +87.8°C)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +37.0°C  

BAT0-acpi-0
Adapter: ACPI interface
in0:           7.72 V  

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  (crit = +119.0°C)

may you run the inxi command again and post the new output ?

inxi -Fxxx                                                                                         ✔ 
System:
  Kernel: 5.15.74-3-MANJARO arch: x86_64 bits: 64
    compiler: gcc v: 12.2.0 Desktop: KDE Plasma v: 5.25.5 tk: Qt v: 5.15.6
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82CU v: Yoga Slim 7 13ITL5
    serial: <superuser required> Chassis: type: 10 v: Yoga Slim 7 13ITL5
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN
    serial: <superuser required> UEFI: LENOVO v: F7CN38WW date: 05/13/2022
Battery:
  ID-1: BAT0 charge: 23.0 Wh (45.7%) condition: 50.3/50.0 Wh (100.6%)
    volts: 7.6 min: 7.7 model: SMP L19M4PF7 type: Li-ion serial: 1581
    status: discharging cycles: 3
CPU:
  Info: quad core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    smt: enabled arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 8 MiB
  Speed (MHz): avg: 1022 high: 1185 min/max: 400/4200 cores: 1: 1132 2: 938
    3: 1087 4: 917 5: 855 6: 1080 7: 1185 8: 984 bogomips: 38720
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: DP-1,
    DP-2, DP-3, DP-4 bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-7:2 chip-ID: 13d3:5419 class-ID: fe01 serial: 0000
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
    loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65")
    s-diag: 798mm (31.43")
  Monitor-1: eDP-1 model-id: CSO 0x076d res: 2560x1600 hz: 60 dpi: 227
    size: 286x179mm (11.26x7.05") diag: 337mm (13.3") modes: 2560x1600
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.1.7
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:a0c8
    class-ID: 0401
  Sound API: ALSA v: k5.15.74-3-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: fc:b3:bc:79:0a:a4
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:3 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 737.09 GiB (154.5%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730
    SDBPNTY-512G-1101 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: 21064Y805943 rev: 11170001 temp: 33.9 C scheme: GPT
Partition:
  ID-1: / size: 418.98 GiB used: 47.86 GiB (11.4%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 41.3 MiB (43.0%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 271 Uptime: 2m wakeups: 146 Memory: 15.43 GiB used: 2.9 GiB
  (18.8%) Init: systemd v: 251 default: graphical Compilers: gcc: 12.2.0
  clang: 14.0.6 Packages: pm: pacman pkgs: 1322 Shell: Zsh v: 5.9
  default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.22

please post the output of

systemctl status nbfc

and

systemctl status nbfc.service

still active ?

systemctl status nbfc                                                                              ✔ 
● nbfc.service - NoteBook FanControl service
     Loaded: loaded (/etc/systemd/system/nbfc.service; enabled; preset: disabled)
     Active: active (running) since Sun 2022-10-30 09:40:50 CET; 13min ago
    Process: 458 ExecStart=/opt/nbfc/nbfcservice.sh start (code=exited, status=0/SUCCESS)
   Main PID: 467 (mono)
      Tasks: 7 (limit: 18932)
     Memory: 51.3M
        CPU: 581ms
     CGroup: /system.slice/nbfc.service
             └─467 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/Nbf>

Oct 30 09:40:50 bruno-yoga systemd[1]: Starting NoteBook FanControl service...
Oct 30 09:40:50 bruno-yoga systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: Operat>
Oct 30 09:40:50 bruno-yoga systemd[1]: Started NoteBook FanControl service.
Oct 30 09:40:50 bruno-yoga mono[467]: NbfcService: Service NoteBookFanControlService started


 systemctl status nbfc.service                                                          INT ✘  17s  
● nbfc.service - NoteBook FanControl service
     Loaded: loaded (/etc/systemd/system/nbfc.service; enabled; preset: disabled)
     Active: active (running) since Sun 2022-10-30 09:40:50 CET; 13min ago
    Process: 458 ExecStart=/opt/nbfc/nbfcservice.sh start (code=exited, status=0/SUCCESS)
   Main PID: 467 (mono)
      Tasks: 7 (limit: 18932)
     Memory: 51.3M
        CPU: 581ms
     CGroup: /system.slice/nbfc.service
             └─467 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/Nbf>

Oct 30 09:40:50 bruno-yoga systemd[1]: Starting NoteBook FanControl service...
Oct 30 09:40:50 bruno-yoga systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: Operat>
Oct 30 09:40:50 bruno-yoga systemd[1]: Started NoteBook FanControl service.
Oct 30 09:40:50 bruno-yoga mono[467]: NbfcService: Service NoteBookFanControlService started

disable and unmask it before going on. there can’t be a effect if this is still active

Used the commands below. Sensors and inxi show the same re: fans.

EDIT: FWIW I didn’t set nbfc up as after installing it I realized it had no preset for my machine, so I might as well uninstall it.

systemctl disable nbfc.service                                                          
Removed "/etc/systemd/system/multi-user.target.wants/nbfc.service".

  ~ systemctl unmask nbfc.service    

I haven’t yet managed to solve this, the issue is still open. If I ever solve it, I’ll come back.