start-os icon indicating copy to clipboard operation
start-os copied to clipboard

[bug?] Some Hardware Treats `/sys/class/thermal/thermal_zone0/temp` Differently

Open kn0wmad opened this issue 2 years ago • 2 comments

E2 prototype shows extreme cold temps on this sensor. This could also be a problem with this particular hardware/firmware.

Perhaps there is a better way to handle temp sensors? There are other sensors available on this device that show what are probably accurate temps (obviously in different locations).

Relevant eOS code:

https://github.com/Start9Labs/embassy-os/blob/8ffcd9b60a6799bbb522c53a8cdad10dc711935f/backend/src/system.rs#L515

kn0wmad avatar Mar 13 '23 02:03 kn0wmad

Some DIY folks are getting errors in relation to this, obviously their hardware is producing chip temp data elsewhere

ERROR embassy::system: Could not get initial temperature: Filesystem I/O Error: /sys/class/thermal/thermal_zone0/temp: No such file or directory (os error 2)

kn0wmad avatar Mar 24 '23 19:03 kn0wmad

Possibly related on DIY build...

v0.3.4.1 – Reported temperature worked just fine, with ranges of 80ºc to 100ºc under heavy load. v0.3.4.2 – Temperature wildly misreported with values of 1990ºc to 2200ºc under heavy load.

Hardware: https://support.apple.com/kb/SP659?locale=en_US

stupleb avatar Jun 05 '23 09:06 stupleb

using LMsensors now, should resolve.

MattDHill avatar Jul 30 '24 17:07 MattDHill