PC Fans: Difference between revisions
| Line 98: | Line 98: | ||
====On Linux==== | ====On Linux==== | ||
PWM fans are controlled through the [https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface <tt>hwmon</tt>] [[sysfs]] interface, using the "PWM" type (''not'' the "fan" type). This is dependent on your hardware controller (usually some SMBus shadynasty on the motherboard) being supported and detected. | PWM fans are controlled through the [https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface <tt>hwmon</tt>] [[sysfs]] interface, using the "PWM" type (''not'' the "fan" type). This is dependent on your hardware controller (usually some SMBus shadynasty on the motherboard) being supported and detected. You'll need set <tt>pwmX_enable</tt> to 1 for manual control, at which point you ought be able to write a value [0..255] to <tt>pwmX</tt>. When the PWM is under automatic control, you ought be able to read the current level by reading this latter file. | ||
==Tachometer== | ==Tachometer== | ||