Skip to content

Show temperature on HC-4 with 4.9 kernel#1

Open
pmontrasio wants to merge 1 commit into
rpardini:masterfrom
pmontrasio:temperature-kernel-4.9
Open

Show temperature on HC-4 with 4.9 kernel#1
pmontrasio wants to merge 1 commit into
rpardini:masterfrom
pmontrasio:temperature-kernel-4.9

Conversation

@pmontrasio
Copy link
Copy Markdown

The minimal Ubuntu 22.04 image from Hardkernel uses the 4.9 kernel. There is no cpu_thermal key in the dict returned by psutil.sensors_temperatures(). There is a soc_thermal key instead. Display the current temperature from there. If there is not even a soc_thermal key, display '??'.

The minimal Ubuntu 22.04 image from Hardkernel uses the 4.9 kernel. There is no cpu_thermal key in the dict returned by psutil.sensors_temperatures(). There is a soc_thermal key instead. Display the current temperature from there. If there is not even a soc_thermal key, display '??'.
@spgill
Copy link
Copy Markdown

spgill commented Mar 30, 2023

Can we get this PR merged? I would love to have this fixed for my HC-4 😄

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.

3 participants