OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: IceFox on July 17, 2020, 07:48:53 AM

Title: cpu temp not showing in health despite being measured
Post by: IceFox on July 17, 2020, 07:48:53 AM
Hi,

I have a fresh 20.1 install on a noname chinese Celeron machine (J3160).
Sorry if I seem ignorant, I'm very new to FreeBSD and OPNsense.

Thermal Sensors Hardware set to "None/ACPI".
In health cpu0temp is reported as "NaN".

sysctl -a | grep temperature outputs hw.acpi.thermal.tz0.temperature: 48.1C
So there is a working acpi reading available.

sysctl hw.acpi.thermal
outputs
hw.acpi.thermal.tz0._TSP: 50
hw.acpi.thermal.tz0._TC2: 5
hw.acpi.thermal.tz0._TC1: 1
hw.acpi.thermal.tz0._ACx: 110.1C -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz0._CRT: 95.1C
hw.acpi.thermal.tz0._HOT: 90.1C
hw.acpi.thermal.tz0._PSV: 85.1C
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0.passive_cooling: 1
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.temperature: 48.1C
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.min_runtime: 0


I found a lot of references to temperature readings with these exact paths so I think it should be supported.
Am I missing something obvious?

Any help appreciated!  :)
Title: Re: cpu temp not showing in health despite being measured
Post by: littlepepper on July 17, 2020, 01:02:34 PM
have you thought of trying changing the Thermal Sensor setting to Intel Core* on die thermal sensor coretemp?
Title: Re: cpu temp not showing in health despite being measured
Post by: IceFox on July 21, 2020, 06:17:20 AM
Yes I also tried that (with a reboot) even though it should not work :)
Didn't help though.
Thx for suggestion :)
Title: Re: cpu temp not showing in health despite being measured
Post by: sdel_nevo on July 21, 2020, 10:37:23 AM
Hi icefox

I had the same problem, I resolved it but changing the thermal sensor setting to none, then restarting

then changing back to Intel Core instantly showed the temps

Steve
Title: Re: cpu temp not showing in health despite being measured
Post by: IceFox on July 29, 2020, 10:33:19 AM
thx for the tip :)
Doesn't work for me though :/
However Celeron don't belong to Intels Core lineup so Core should not work for me (and it doesn't ;) )