-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hello,
The current command reporting fan activity assumes that the levels reflect the actual speed (ie level 1 means 0%, level 2 means 12% etc). This is almost never true, especially if the fan profile is configured using an overlay.
I think that a better approach would be to report the actual pwm value of the kernel driver, so:
cat /sys/devices/platform/pwm-fan/hwmon/hwmon9/pwm1 - the values here are from 0 to 255, so add 1 to it, divide by 256 and report as percentage.
For me, the value reported now is almost always 0 as I use pwm 146 as the first level (and many subsequent ones). But it should be about 57% instead (147/256).
Metadata
Metadata
Assignees
Labels
No labels