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

Following lm-sensors with fan names #2263

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexwbaule
Copy link

@alexwbaule alexwbaule commented Jun 6, 2023

Summary

  • OS: Linux
  • Bug fix: yes
  • Type: core
  • Fixes: if there is no labels in fan, use the name of fan (fan1, fan2, etc) to give a label to them.

Description

This is will apply a fallback label, following what lm-sensors do. If there is no label, return his name.
https://github.com/lm-sensors/lm-sensors/blob/master/lib/access.c#L162

psutil/_pslinux.py Outdated Show resolved Hide resolved
Signed-off-by: Alex W Baulé <alexwbaule@gmail.com>
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.

None yet

2 participants