Skip to content

DietPi-Banner | Implement sysfs node selection for CPU temp #7870

@N7-BADA

Description

@N7-BADA

Creating a bug report/issue

  • I have searched the existing open and closed issues

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=20 G_DIETPI_VERSION_RC=1 G_GITBRANCH='master' G_GITOWNER='MichaIng'
  • Distro version | Trixie
  • Kernel version | inux T50-N4 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux
  • SBC model | Native PC (x86_64)

Additional Information (if applicable)

  • Software title | dietpi-banner

Steps to reproduce

just SSH into system

- CPU temp : 26 °C / 78 °F : Who put me in the freezer!

Expected behaviour

Show correct CPU temp

Actual behaviour

Showing wrong CPU Temp

Extra details

the following does show correct temp

root@T50-N4:~# cat /sys/class/hwmon/hwmon1/temp1_input | awk '{printf "CPU Temp: %3.1f C\n", $1/1000}'

CPU Temp: 36.0 C

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions