lm-sensors fixing #41
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Sysdeploy/openwrt#41
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I can't see the CPU temperature with lm-sensors, even though
/sys/class/thermal/thermal_zone0/temp
does show the temperature. According to these links:https://github.com/lm-sensors/lm-sensors/issues/30
https://forum.openwrt.org/t/lm-sensors-for-bcm53xx/27886
for this to work correctly,
CONFIG_THERMAL
andCONFIG_HWMON
need to be either both inside the kernel, or both as modules. Unfortunately, the kernel.config
in OpenWRT hasCONFIG_THERMAL=y
andCONFIG_HWMON=m
.This would make it much easier to monitor the devices for me as collectd already suports the lm-sensors interface.
This is strange. On my
orangepi plus
I don't need additional changes:Well, all I can tell you on a CM4 it doesn't work. I'm just making an educated guess about the cause. But maybe I can try using the collectd's thermal plugin instead. I'll get back to you once I tried it.
Actually the sunxi kernel config differs, it has
CONFIG_HWMON=y
,CONFIG_THERMAL_HWMON=y
.I found out how to use the
thermal
plugin to monitor the temp, so this isn't needed anymore.