G
Guest
I was receiving SERVICE_CONTROL_POWEREVENT on an older SBC. For this SBC we
were emulating PS/2 keyboard commands so keyboard driver would normally load
and after the system came out of HORM we would receive the
SERVICE_CONTROL_POWEREVENT (both PBT_APMRESUMEAUTOMATIC and
PBT_APMRESUMESUSPEND). We now have a new SBC and are not emulating keyboard,
so we don't have keyboard or mouse. So it's a "headless" type system except
we don't use the headless VGA component as we have a video card. If I
connect the keyboard and mouse to the new SBC and allow it to create the HORM
image and then re-boot, I get the SERVICE_CONTROL_POWEREVENT but not until I
move the mouse or hit a key. I know that PBT_APMRESUMESUSPEND shouldn't be
received until XPE thinks the user is "present", but how come I don't get any
SERVICE_CONTROL_POWEREVENT. I'm at least expecting PBT_APMRESUMEAUTOMATIC.
I wanted to install the NULL keyboard or mouse driver to fake out XPE
thinking there is always a user present but they have been removed (hidden to
0 in Target Designer for SP2). I get the SERVICE_CONTROL_POWEREVENT for
standby just not from resume from hibernate. Any one have any ideas why I do
not get the SERVICE_CONTROL_POWEREVENT? I've tried a Windows App with
WM_POWERBROADCAST and running at the time the HORM is created but when the
system starts I don't get that message either.
Info.
WinLogon
Disk based EWF
XPE SP 2
Service uses RegisterServiceCtrlHandlerEx & SERVICE_ACCEPT_POWEREVENT is
set.
Using "Advanced Configuration and Power Interface (ACPI) PC". SBC is started
from ACPI power button.
BIOS Settings: "ACPI Suspend Type"=S1&S3 "Power Management"=ACPI
Thanks for any help. Michael
were emulating PS/2 keyboard commands so keyboard driver would normally load
and after the system came out of HORM we would receive the
SERVICE_CONTROL_POWEREVENT (both PBT_APMRESUMEAUTOMATIC and
PBT_APMRESUMESUSPEND). We now have a new SBC and are not emulating keyboard,
so we don't have keyboard or mouse. So it's a "headless" type system except
we don't use the headless VGA component as we have a video card. If I
connect the keyboard and mouse to the new SBC and allow it to create the HORM
image and then re-boot, I get the SERVICE_CONTROL_POWEREVENT but not until I
move the mouse or hit a key. I know that PBT_APMRESUMESUSPEND shouldn't be
received until XPE thinks the user is "present", but how come I don't get any
SERVICE_CONTROL_POWEREVENT. I'm at least expecting PBT_APMRESUMEAUTOMATIC.
I wanted to install the NULL keyboard or mouse driver to fake out XPE
thinking there is always a user present but they have been removed (hidden to
0 in Target Designer for SP2). I get the SERVICE_CONTROL_POWEREVENT for
standby just not from resume from hibernate. Any one have any ideas why I do
not get the SERVICE_CONTROL_POWEREVENT? I've tried a Windows App with
WM_POWERBROADCAST and running at the time the HORM is created but when the
system starts I don't get that message either.
Info.
WinLogon
Disk based EWF
XPE SP 2
Service uses RegisterServiceCtrlHandlerEx & SERVICE_ACCEPT_POWEREVENT is
set.
Using "Advanced Configuration and Power Interface (ACPI) PC". SBC is started
from ACPI power button.
BIOS Settings: "ACPI Suspend Type"=S1&S3 "Power Management"=ACPI
Thanks for any help. Michael