Skip to content

Read CPU temperature from hwmon interface.#46

Merged
valpackett merged 1 commit intovalpackett:masterfrom
pdcalado:patch-1
Jan 10, 2019
Merged

Read CPU temperature from hwmon interface.#46
valpackett merged 1 commit intovalpackett:masterfrom
pdcalado:patch-1

Conversation

@pdcalado
Copy link
Contributor

Adds the alternative of reading the CPU temperature from hwmon when thermal_zone is unavailable.

Apparently some setups may not have any thermal_zone under /sys/class/thermal/, but may have the hwmon interface (more on that here).

Let me know if you think this change makes sense.

Cheers

Adds the alternative of reading the CPU temperature from hwmon when thermal_zone is unavailable.

Apparently some setups may not have any `thermal_zone` under `/sys/class/thermal/`, but may have the hwmon interface (more on that [here](https://www.kernel.org/doc/Documentation/thermal/sysfs-api.txt)).

Let me know if you think this change makes sense.

Cheers
@valpackett valpackett merged commit 9a567e8 into valpackett:master Jan 10, 2019
@valpackett
Copy link
Owner

Thanks!

@pdcalado pdcalado deleted the patch-1 branch January 11, 2019 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants