Opened 14 years ago
Last modified 9 years ago
#7192 closed defect
Problems with (virtual) APM support — at Initial Version
Reported by: | Lars Erdmann | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.2.6 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
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)