You are not logged in.
I have configured i8kmon so that it loads on startup, but I can't seem to figure out where to put the config file with the temperature thresholds to make it automatically control my fanspeed. Right now it just turns the fan to full speed on boot.
Where does the config file go?
EDIT: Solved. File goes in /etc/i8kutils/i8kmon.conf (contrary to all documentation!)
Last edited by Degru (2014-12-26 19:40:41)
Offline
What does the man page say?
Offline
What does the man page say?
The program has builtin defaults and temperature thresholds but users
can specify their own settings in configuration files
/etc/default/i8kmon and ~/.i8kmon. The daemon defines 4 states with
different fan speeds ({0 0}, {1 0}, {1 1}, {2 2}) and for each state
are defined the temperature thresholds which cause the switching to a
higher or lower state. Furthermore each state can have different
thresholds for operation on ac power or battery. For example the fol‐
lowing configuration:
I've put the following file in /etc/default/i8kmon:
# Run as daemon, override with --daemon option
set config(daemon) 0
# Automatic fan control, override with --auto option
set config(auto) 1
# Report status on stdout, override with --verbose option
set config(verbose) 1
# Status check timeout (seconds), override with --timeout option
set config(timeout) 1
# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
set config(0) {{-1 0} -1 50 -1 50
set config(1) {{-1 1} 50 70 50 70}
set config(3) {{-1 2} 70 128 70 128}
But it doesn't seem to do anything. I'm running a Dell Inspiron 3521 with no dedicated GPU, so it only has one fan. I was somehow able to get i8kmon to work in Ubuntu by putting this config in /etc/i8kmon, but can't get it to work in Arch. Putting it in /etc/i8kmon and /etc/default/i8kmon doesn't do anything.
Offline
Offline
Thank you! I'll try putting it in /etc/i8kmon.conf when I get back to that computer. I put it in /etc/i8kmon previously as per the Ubuntu instructions I had, but didn't think of adding .conf on the end.
Offline
No problem. Just a thought, a project with a basic flaw like that in the man page for 3+ years strikes me as either neglected or dead; you might want to find something a little more up-to-date...
Offline
Didn't work, but then I copied it into ~/.i8kmon and ran the daemon as myself, and it complained about a missing brace. Added the brace, and running it locally worked. But then when I copied the corrected file back into /etc/i8kmon.conf, it didn't work.
Turns out it reads the file /etc/i8kutils/i8kmon.conf, which I previously though was just the example file. I renamed the example file, and put my config in its place, and it worked.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline