Opened 14 years ago

Closed 13 years ago

Last modified 11 years ago

#481 closed defect (unknown)

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

Reported by: Lars 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 13 years ago by Lars Erdmann

Resolution: unknown
Status: newclosed

comment:2 Changed 11 years ago by David Azarewicz

Milestone: eCS 2.x

Milestone eCS 2.x deleted

Note: See TracTickets for help on using tickets.