

The parameters for fan speed are a percentage or number out of max 255. #enable pwm (if the value is not 1 it is not enabled so setting the fan speed would have no effect)Įcho 1 > /sys/class/drm/card4/device/hwmon/hwmon3/pwm1_enable

In the script I account for that just in case it may be different though.Ĭat /sys/class/drm/card4/device/hwmon/hwmon3/pwm1_enable So as you can see below card4's hwmon path is hwmon3. The card number is also the same order that you'll find in say Claymore and the hwmon number is usually 1 less than your card number.

sys/class/drm/card Number/device/hwmon/hwmon Number The card power play settings are located in: Hwmonpath=$basepath/$hwmon/device/hwmon/$hwmonname Hwmonname=`ls $basepath/$hwmon/device/hwmon|grep hwmon` You could set it is a cron or just throw it into /etc/rc.localįor hwmon in `ls -1 /sys/class/drm|grep card$` do The third wire provides feedback on the actual RPM of the fan.You can do other things but this particular script is just to set all AMD cards to 80% fan speed (remember this script needs to applied everytime you reboot). Fans with 4 wires are controlled through pulse width modulation (PWM), in theory a more efficient way of controlling the fan speed. See Lm_sensors for generic details.įans with 2 or 3 wires may have voltage regulation: higher voltage (typically up to 12 Volt) results in higher rotation per minute (RPM). Specific hardware may have specific needs with respect to kernel configuration.
