2 Replies Latest reply on May 14, 2012 5:15 PM by pmoss

    ADL_ERR from ADL_Overdrive5_FanSpeed_Get()

    pmoss

      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[i].adapterIndex,0, &fan);
         if (result != ADL_OK)