question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[REQUEST] Temp support for older machines

See original GitHub issue

I have a laptop that is so old it isn’t properly supported by psutil or apps like Psensor for CPU temperature.

The CPU temperature is accessible via /sys/devices/virtual/thermal/thermal_zone0/temp.

cat /sys/devices/virtual/thermal/thermal_zone0/hwmon1/name

Result: acpitz

This seems to be short for “ACPI Thermal Zone”.

cat /sys/devices/virtual/thermal/thermal_zone0/type

Result: acpitz

cat /sys/devices/virtual/thermal/thermal_zone0/temp

Result: 48800 (or similar)

Divide by 1000 and if the result is between 20C and 120C or so, and type or hwmon1/name is acpitz it should be a valid CPU temp. Theoretically.

If you can try accessing /sys/devices/virtual/thermal/thermal_zone0/temp if there is no response from psutil on core temps, I think a lot of these older machines could be supported for at least the main CPU temp.

This machine is a single-core Pentium 4, as many machines prior to Core Duo will be, so there would normally be only one main CPU temp. There were a few late-generation Pentiums with hyper-threading which would probably be reported as dual-core CPUs, but they are a couple of years newer and may be better supported by apps like psutil already.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:31 (31 by maintainers)

github_iconTop GitHub Comments

2reactions
aristocratoscommented, Oct 19, 2020

@RedBearAK Ok, should be fixed in 1.0.44…

Will give you the title of almighty downbringer of systems if you manage to crash it now, at least with the same error!

2reactions
aristocratoscommented, Sep 27, 2020

Fixed in v1.0.39

Read more comments on GitHub >

github_iconTop Results From Across the Web

Core Temp
Core Temp is a compact, no fuss, small footprint, yet powerful program to monitor processor temperature and other vital information.
Read more >
Temporary Lodging Expense (TLE)
TLE is an allowance intended to partially pay members for lodging/meal expenses incurred by a member/dependent(s) while occupying temporary ...
Read more >
Solve PC problems over a remote connection
Solve PC problems over a remote connection ... Use the Windows Quick Assist app to get help with a computer problem from family...
Read more >
FL-303 Declaration Regarding Notice and Service of Request ...
Before completing this form, read your court's local procedures for requesting temporary emergency orders and obtaining the information needed to complete item ...
Read more >
I-821, Application for Temporary Protected Status - USCIS
... use this form to apply for Temporary Protected Status (TPS). ... Image of computer with a list of Online Filing Benefits ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found