I slapped this together last night I needed a easy way to access ADL from python so I could configure things remotely.
Now all this is a wrapper for AMDOverdriveCtrl (
http://amdovdrvctrl.sourceforge.net/ ) all I have done is turned it into a python extended library, all ADL code is by Thorsten Gilling.
I am not sure if anyone will find a use for it but it is something I wanted. It works on Windows and Linux. I would like to put it in with a miner next.
ADL SDK -
http://developer.amd.com/Downloads/ADL_SDK_3.0.zipPut the ADL SDK in ./ADL_SDK
Functions
pyADL.SetupADL(DeviceIndex) - This sets the GPU you wish to use.
pyADL.getTemp() - Returns the GPU Temp.
pyADL.getFanSpeed() - Returns the fan speed percent.
pyADL.getFanRPM() - Returns the fan RPMs.
pyADL.getCoreClockSpeed() - Returns Current Core Clock Speed.
pyADL.getMemoryClockSpeed() - Returns Current Memory Clock Speed.
pyADL.getVoltage() - Returns Current Voltage.
pyADL.setFanSpeed(Precent) - Sets The Fan Speed.
pyADL.setCoreClockSpeed(Level,Speed) - Sets Core Clock Speed. Level(0,1,2)
pyADL.setMemoryClockSpeed(Level,Speed) - Sets Memory Clock Speed. Level(0,1,2)
pyADL.setVoltage(Level, Voltage) - Sets Voltage. Level(0,1,2)
Example
import pyADL
pyADL.SetupADL(0)
print pyADL.getTemp()
print pyADL.getFanSpeed()
print pyADL.getFanRPM()
print pyADL.getCoreClockSpeed()
print pyADL.getMemoryClockSpeed()
print pyADL.getVoltage()
pyADL.setFanSpeed(75)
pyADL.SetupADL(5) # Switch to Second GPU on 6990
print pyADL.getTemp()
http://www.bitshift.io/pyADL/https://github.com/bitshiftio/pyADL