tempget: Add more temperature sources for FreeBSD

Desktop / Enlightenment / Enlightenment - Daniel Kolesa [samsung.com] - 13 April 2015 05:02 UTC

Summary: Not all motherboards have 'hw.acpi.thermal.tz0.temperature' sensor. Fallback to 'dev.cpu.0.temperature' (provided by coretemp(4) or amdtemp(4)), or 'dev.aibs.0.temp.0' (aibs(4)) (per suggestion of Dmitry Luhtionov).

Test Plan: Ran `src/modules/temperature/tempget` manually with some debugging printfs and various sensors commented out. I can only test tz0 and dev.cpu (coretemp(4)) on my system.

Reviewers: zmike, q66

Reviewed By: q66

Subscribers: seoz

Projects: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D2335

4389030 tempget: Add more temperature sources for FreeBSD
src/modules/temperature/tempget.c | 44 +++++++++++++++++++++++++++----------
1 file changed, 33 insertions(+), 11 deletions(-)

Upstream: git.enlightenment.org


  • Share