You are not logged in.

#1 2015-04-29 20:34:08

lurvik
Member
Registered: 2014-03-24
Posts: 23

xf86-video-ati not setting fan speed after upgrade to Linux 4.0.1

I did a system upgrade, and didn't see that I got the new Linux update until I had pressed enter to start the update. But these are the packages that were updated: chromium, dnssec-anchor, git, libwbclient, linux-firmware, linux, python2-beaker, smbclient, virutlbox-guest-modules, wpa_supplicant. After a reboot I noticed that my GPU fan was rather loud. Before the upgrade it was at a comfortable 20-35% I think, but I think it's around 50% now (judging from my experience with this fan and the drivers). I'm guessing that linux upgrade is what "broke" this. Does anyone know a way I can get the fan to be quiet again? It's driving me nuts.

Offline

#2 2015-04-30 13:29:57

lurvik
Member
Registered: 2014-03-24
Posts: 23

Re: xf86-video-ati not setting fan speed after upgrade to Linux 4.0.1

Found a way to enable manual fan control, and made a hacky script so I could control it easier.

#!/bin/bash
PATH=$(find /sys/class/hwmon/hwmon*/name -exec grep -E '^radeon$' {} + | grep -o '.*/')

if [ $# -eq 0 ] || (( $1 < 35 )); then
        SPEED=90; # 255 * 0.35 = 89.25, so 90 would be about 35%. At this level I can't hear the fan
elif (( $1 < 100 )); then
        SPEED=$(echo "255*$1/100" | /usr/bin/bc);
else
        SPEED=255;
fi

echo 1 > $PATH"pwm1_enable"
echo $SPEED > $PATH"pwm1"

Offline

Board footer

Powered by FluxBB