System FansΒΆ

You can monitor the system fans from the virtual sys filesystem. These fields are read-only; the fan is controlled by the Librem EC firmware.

Note

This requires the Librem EC ACPI driver.

Fan status is provided in:

/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PURI4543:00/hwmon/hwmon*

For example:

  • Get the fan duty cycle:

    cat /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PURI4543:00/hwmon/hwmon*/pwm1
    
  • Get the CPU temperature used to control the fans:

    cat /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PURI4543:00/hwmon/hwmon*/temp1_input