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-ng #18

Closed ru-ace closed 5 years ago

ru-ace commented 5 years ago

NAME

i8kmon-ng - temperature monitor for Dell Laptops

SYNOPSIS

i8kmon-ng [OPTION]...

DESCRIPTION

The i8kmon-ng is a daemon that monitors the cpu temperature, and control the fan speed on some Dell laptops.
It does that by means of regularly reading the system temperature, and choosing appropriate speed of the fans.

All options can be customized at /etc/i8kmon-ng.conf, or via command-line options

On Debian and derivated OSes, i8kmon-ng starts in the background by default as a service.

ACCESS MODE

i8kmon-ng can access for temp and fan control with two modes (--mode \<mode>):

DISABLE BIOS FAN CONTROL

USE ON YOUR OWN RISK.
i8kmon-ng can try disable BIOS fan control with two methods(--bios_disable_method \<method>):

To use this feature, i8kmon-ng needs root privileges.

Before set this option in config file, stop i8kmon-ng (sudo service i8kmon-ng stop) and try every method in verbose mode (sudo i8kmon-ng -v --bios_disable_method 2 --fan_ctrl_logic_mode 0). Wait until cpu temp will be greater t_mid and fans was on. If during cpu temp lowering BIOS doesn't try change fan state: seems this method works.

On exit (SIGTERM, SIGINT) i8kmon-ng set fans speed to max and try to restore BIOS fan control with corresponding method

Use method 0 for disable this feature.

FAN CONTROL LOGIC

i8kmon-ng has two modes of fans control logic(--fan_ctrl_logic_mode \<mode>) regarding 3 temperature thresholds t_low, t_mid, t_high and corresponding fan states t_low_fan, t_mid_fan, t_high_fan:

ABNORMAL TEMP JUMP DETECTION

i8kmon-ng has buildin mechanism for detect abnormal cpu temp jumps: short(1-2 seconds) cpu temp jumps on +20/+30 celsius which are cause of starting fans. You can control it via --jump_temp_delta and --jump_timeout options.

To disable this feature set jump_temp_delta to 100.

OPTIONS

i8kmon-ng accepts the following command-line options

CONFIGURATION

i8kmon-ng has builtin default values of all options. User can see current values using --help option.

All options with double dash described before can be changed in /etc/i8kmon-ng.conf using same name.

FILES

/etc/i8kmon-ng.conf

AUTHOR

ace (https://github.com/ru-ace)

CREDITS

Code for access to temp and fan control using dell-smm-hwmon(i8k) kernel module from https://github.com/vitorafsr/i8kutils
Code for enable/disable BIOS fan control and direct SMM BIOS calls from https://github.com/clopez/dellfan

COPYRIGHT

i8kmon-ng and all the i8kutils programs, scripts and other files are distributed under the GNU General Public License (GPL).
On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'.

SEE ALSO

i8kctl(1), i8kmon(1)