-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fan speed control WORKS with NCT6687 #3
Comments
Hello, many thanks for your report. Please could you share your fan control script in this issue to update the README. Thank's a lot. |
My script is probably too specific to publish in a README but I can refer you to the Linux utilities pwmconfig and fancontrol. Pwmconfig is run once (by root) after loading the nct6687 Super I/O driver and it interacts with you, and your fans, to determine which PWM output goes to which fan header on the motherboard. It also lets you select a Super I/O sensor, such as system temperature, to create a configuration file for the fancontrol daemon. Here's the file that pwmconfig created for me: INTERVAL=10 Note this is specific to my specific model of motherboard. My motherboard routes PWM #3 to the 'system' fan header. This file is, by default, saved in /etc/fancontrol. The fancontrol utility is typically run as a systemd daemon and it uses this info to monitor a sensor (identified by 'FCTEMPS') to automatically control fan speed. It senses the fan's speed using the sensor identified by FCFANS. My personal fan control script synthesizes a temperature from the temperatures of six hard drives and the CPU temperature. It periodically writes this value to a file which fancontrol can read. You can point FCTEMPS at a specific file like this: FCTEMPS=hwmon5/pwm3=/var/lib/fc-hddtemp/fc-hddtemp-average Now, the fancontrol utility will manage the fans based on that value. It can take some tweaking but the result (for me) is that the system fans controlled by the nct6687 ramp up when my CPU is hot or when the drives get warm. |
I couldn't find your email address so I thought I'd report some positive testing results via an issue. No problems, just good status.
I'm running on Ubuntu 20.04 with kernel 5.4.0-56-generic on an MSI MPG B550i Gaming Edge motherboard which uses the NCT6687-R I/O controller. This machine is a file server and I have a script that monitors my disk drives and CPU temperatures and then generates a temperature value suitable for consumption for the Linux 'fancontrol' utility.
Fan control is working fine both with my script and during the calibration by the 'pwmconfig' utility.
Thank you for developing kernel module and please know that at least one person has used the fan control PWM successfully.
The text was updated successfully, but these errors were encountered: