Open Flupp opened 5 years ago
Hi, it has nothing to do with the YAML config. It is the fact that you're trying to use a hwmon
fan with thinkpad fan levels. There is no level auto
in a hwmon PWM fan. Please read the config man page thinkfan.conf(5)
, section FANS. Although it does not describe the YAML config syntax, what is said there about PWM fans vs. thinkpad_acpi
fans applies generally.
At least that is the way it's currently implemented. That said, your intuition isn't entirely wrong, because with PWM we can just as well turn off userspace fan control, thereby giving control back to the kernel or the hardware. However that is not currently implemented, so I'm turning this into a feature request.
Also the error message isn't exactly helpful here ;-)
BTW, it looks like you're using a thinkpad, so what you're probably meaning to do is this:
fans:
- tpacpi: /proc/acpi/ibm/thermal
Thank you!
fans:
- tpacpi: /proc/acpi/ibm/fan
This is working.
Using the following YAML config:
… I get the following error for
thinkfan -n
:… and for
thinkfan -n -D
while raising the temperature I get:In both cases, thinkfan returns with error value 1.