Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Feature Request - fan RPM in sensors framework #24

Open
dagbdagb opened this issue Mar 29, 2020 · 3 comments
Open

Feature Request - fan RPM in sensors framework #24

dagbdagb opened this issue Mar 29, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@dagbdagb
Copy link

How hard can it be ( :-D ) to get the fan RPM into the sensors framework? I.e. ability to read the fan RPM with the 'sensors' command.

@rnd-ash
Copy link
Owner

rnd-ash commented Mar 29, 2020

Quite difficult. Ill have to research how to translate the RPM sensors into ACPI data that lm-sensors uses

@dagbdagb
Copy link
Author

Hmm. Sure about that?

The libsensors library offers an interface to the raw sensors data
through the sysfs interface. Since lm-sensors 3.0.0, libsensors is
completely chip-independent. It assumes that all the kernel drivers
implement the standard sysfs interface described in this document.
This makes adding or updating support for any given chip very easy, as
libsensors, and applications using it, do not need to be modified.
This is a major improvement compared to lm-sensors 2.

@riyadh144
Copy link

So I have been looking at this for a few hours.
It should be possible. and I might give it a go
I found this code for a guy that integrated corsair cooler the i80 into the sensors platform, so that should be helpful.

https://github.com/jameshilliard/CorsairLink/blob/f155421a632756a3df8c3ef7cd7e955b87a743a6/h80/h80i.c

@rnd-ash rnd-ash added the enhancement New feature or request label Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants