Ticket #7192 (new defect)
Opened 4 years ago
Problems with (virtual) APM support
|Reported by:||Erdmann||Owned by:|
host: Windows 7, guest: OS/2 (eCS 2.0):
seems that there is a shortcoming in the virtual APM support: when you want to want to transition eCS from "Full On" to "Off" you first need to transition to "APM enabled" before you can do the transition to "Off".
However, transitioning to "APM enabled" leads to OS/2 APM error code: "GIOERR_PowerBiosError" on invoking the corresponding IOCTL call.
IOCTL calls used in OS/2: transition from "Full On" to "APM enabled": cat IOCTL_POWER func POWER_SENDPOWEREVENT subID APMEVENT_EnableAPM (=3)
transition to "Off": cat IOCTL_POWER func POWER_SENDPOWEREVENT subID APMEVENT_SetPowerState (=6) , device id APMDEVID_AllDevices (=1) , pwrstate APMSTATE_Off (=3)