vitorafsr / i8kutils

Fan control for some Dell laptops
https://launchpad.net/i8kutils
GNU General Public License v3.0
219 stars 28 forks source link

i8kmon.service should still start if acpi is not installed or if it returns: No support for device type: power_supply #31

Open cgoudie opened 3 years ago

cgoudie commented 3 years ago

For Dell machines that are without a battery, i8kmon wont start.

The first is that acpi may not be installed, and this causes the defaults for the script to terminate.

The second is that if acpi is installed, executing it returns No support for device type: power_supply, which also causes the script to terminate.

If you're reading this, you can hack around it by adding this to your i8kmon.conf

set config(acpi) /usr/bin/true

Proposal would be for the script to test for the existence of the binary, or the return text showing it's not there, and continue as normal.

RonnySvedman commented 2 years ago

This happens to me too, on a optiplex 3060 small form factor. On top of that, i8kmon reads the temp from acpi, which is the ambient temp, not the CPU temp, do it will never ramp up the fan, and eventually crash the system. However when i force the i8k kernel module to load, i can choose fan speed 0,1,2 with i8kfsn, so i read the CPU temp from core temp, and control the fans with i8kfan, in a small bash script. Let me know if i can help looking around in the machine. Maybe i8k should have an override for getting temperature input somewhere else.

googleg commented 1 year ago

Thank you for the work around, I support the request.

I am using a Dell 7040.