Opened 9 years ago

Closed 8 years ago

Last modified 6 years ago

#481 closed defect (unknown)

Need to call "set power state = READY" instead of Critical_Resume

Reported by: erdmann Owned by: eco
Priority: major Milestone:
Component: APM Compatibility Driver Version: 3.17
Keywords: Cc:

Description

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;
                }

Change History (2)

comment:1 Changed 8 years ago by erdmann

  • Resolution set to unknown
  • Status changed from new to closed

comment:2 Changed 6 years ago by dazarewicz

  • Milestone eCS 2.x deleted

Milestone eCS 2.x deleted

Note: See TracTickets for help on using tickets.