Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix zero temp (#467) #840

Merged
merged 1 commit into from
May 13, 2024
Merged

fix zero temp (#467) #840

merged 1 commit into from
May 13, 2024

Conversation

joske
Copy link
Collaborator

@joske joske commented May 4, 2024

Hi,

this fixes #467 at least on AWS. The issue is that found_sensors contains some random sensor that isn't even really showing any temperature (/sys/devices/pci0000:00/0000:00:04.0/nvme/nvme0/hwmon0/temp1_ on my system).

My 'fix' is to just ignore nvme devices as temperature sensors. I suspect that on other systems other strange sensors may show up, but on my AWS VM at least, this solves the issue: temperature is just not showing (which is correct as no real temp sensor is showing up in /sys)

@joske joske requested a review from aristocratos May 4, 2024 19:02
@aristocratos aristocratos merged commit ac62ba9 into main May 13, 2024
45 checks passed
@aristocratos aristocratos deleted the fix/zero_temp branch May 13, 2024 17:10
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.

[BUG] btop shows absolute zero CPU temp
2 participants