[Nouveau] [TESTING CALL] Fan management

Mr Dash Four mr.dash.four at googlemail.com
Wed Aug 31 04:48:55 PDT 2011


> The implemented fan management support
> -----------------------------------------------------------
>
> Current fan management should only work on what we call PWM fans.
>
> This work should be usable up to (not including) nva3 chipset generation.
> This is because nva3+ cards all have hw to drive the speed of the fan 
> (pwm or i2c).
>
> Reading the fan speed (power): cat /sys/class/drm/cardX/device/pwm0
>
> Reading the fan speed (RPM): cat /sys/class/drm/cardX/device/fan0_input
>
> Setting the fan management method: echo X > 
> /sys/class/drm/cardX/device/pwm0_enable
> - X = 0: Fan management disabled, fan power set to 100%
> - X = 1: Manual fan management (you can set the speed by writing 
> [0->100] to /sys/class/drm/cardX/device/pwm0)
> - X = 2: The default automatic fan management (equivalent to X = 3 for 
> the moment)
> - X = 3: Linear fan management. The fan speed is linearly correlated 
> to the temperature.
> - X = 4: Target temperature management. The fan is driven to keep the 
> GPU to a certain temperature
I have 7800gs (NV49) card and tried to use the new driver yesterday 
after pulling the latest source, compiling and installing it. 
Unfortunately, pwm0_enable is not showing up, so I am unable to use the 
fan management at all. Previous attempts to write values to either 
/sys/class/drm/cardX/device/pwm0 or the port itself (using nvpoke) also 
failed - even though the value changes the fan speed stays the same. I 
was hoping that the latest additions will solve these problems and 
reduce the noise coming out of the fan (blasting at 100%), but that 
seems to be way off, at least for now.

What could be the problem? Could it be that my card is using i2c 
instead? Any ideas?


More information about the Nouveau mailing list