﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
481	"Need to call ""set power state = READY"" instead of Critical_Resume"	Lars Erdmann	eco	"file ""intlioctl.c"", routine ""SuspendComputer"":

need to replace this call:

{{{
   SendNotifyToDevice(0,0,0x100,s->Resume);
}}}

with this call:

{{{
SendNotifyToDevice(0x0001,APMSTATE_READY,APMMASK_SetPowerState,APMEVENT_SetPowerState);
}}}

and in file ""ioctl.c"", routine ""SendNotifyToDevice"", need to replace this:

{{{
                if (DevId)
                {
                   NotifyDev.DevID          = Device[i].DeviceID;
                }

}}}

with this:

{{{
                if (DevId)
                {
                    NotifyDev.DevID       = DevId;
                }

}}}



"	defect	closed	major		APM Compatibility Driver	3.17	unknown		
