cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

pmoss
Journeyman III

ADL_ERR from ADL_Overdrive5_FanSpeed_Get()

ADL_Overdrive5_FanSpeed_Get() returns

#define ADL_ERR   -1
Generic Error. Most likely one or more of the Escape calls to the driver failed! 

on some systems.  Mostly it works, but sometimes it fails on adapter 12 or 13.

ADL_Overdrive5_FanSpeedInfo_Get() returns iFlags = 15, so RPM/PERCENT read/write are available.

But I get this error on systems with 4 cards (2x7970, 2x6770).  16 adapters are returned.

What does it mean "Most likely one or more of the Escape calls to the driver failed"? What are escape calls?

Is there anything that can be done on the application side to avoid this error.  Would ADL_Main_Control_Refresh() and retry work?

Any help is much appreciated.

Here is my code:

 

fan.iSize = sizeof(ADLFanSpeedValue);  

fan.iSpeedType = ADL_DL_FANCTRL_SPEED_TYPE_RPM
   fan.iFlags = ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED;
   fan.iFanSpeed = 0;
   result = ADL_Overdrive5_FanSpeed_Get(adlInfo.adapters.adapterIndex,0, &fan);
   if (result != ADL_OK)
0 Likes
2 Replies
ianblaire
Adept II

Hello!

Since you haven't gotten any replies on the forums yet, try contacting AMD Support here: http://emailcustomercare.amd.com/

Cheers!

IanBlaire

0 Likes

Thanks Ian.  I submitted my post to support.  Hopefully they can shed some light on this.

0 Likes