"ACPI S3 Stress test" Help

Hello Everybody,

Currently I am trying to execute WHQL testing on a device driver I have
made… I keep on encountering the following error during the beginning of
the “ACPI S3 Stress test”

=== Initialize all tests === (D:28 H:10 M:58 S:46)
Test Devnodes (DEVNODES_0_Devnodes.log)
ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t support
sleep state S3
ERROR: Work item completed with Error Code: -1073721810
ERROR: The system does not support the S3 and the S4 system power
states required.
ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t
support sleep state S3

I tried looking for more information on this error from the internet but I
cannot find any information about this. aside from this sleep & hibernate
functions execute without any problems. Am I forgetting to set anything?
Your inputs would be greatly appreciated.

Best Regards,
Rikki Tamayo

The error message is clear: your system doesn’t support required S3 power state. For working sleep it is sufficient if one of S1 or S3 states is supported.

To examine system power capabilities, call GetPwrCapabilities() Win32 API. You can write a small command line app which would display power capabilities and run it on available machine to see which one supports all necessary Sx states.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]


From: xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com] on behalf of softdev[SMTP:xxxxx@omron.com.ph]
Reply To: Windows System Software Devs Interest List
Sent: Saturday, January 29, 2005 2:59 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] “ACPI S3 Stress test” Help

Hello Everybody,

Currently I am trying to execute WHQL testing on a device driver I have
made… I keep on encountering the following error during the beginning of
the “ACPI S3 Stress test”

=== Initialize all tests === (D:28 H:10 M:58 S:46)
Test Devnodes (DEVNODES_0_Devnodes.log)
ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t support
sleep state S3
ERROR: Work item completed with Error Code: -1073721810
ERROR: The system does not support the S3 and the S4 system power
states required.
ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t
support sleep state S3

I tried looking for more information on this error from the internet but I
cannot find any information about this. aside from this sleep & hibernate
functions execute without any problems. Am I forgetting to set anything?
Your inputs would be greatly appreciated.

Best Regards,
Rikki Tamayo


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@upek.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Check to make sure you have S3 enabled in the system BIOS ACPI settings.

Also, you might have a device reporting that it can’t do S3. A
IRP_MN_QUERY_CAPABILITIES handler might be returning a
PDEVICE_CAPABILITIES structure that doesn’t have the right values for S3
or S4, for example:

deviceCapabilities->DeviceState[PowerSystemSleeping3] =
PowerDeviceD3;
deviceCapabilities->DeviceState[PowerSystemHibernate] =
PowerDeviceD3;

I hope this helps. MKE.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of softdev
Sent: Friday, January 28, 2005 6:00 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] “ACPI S3 Stress test” Help

Hello Everybody,

Currently I am trying to execute WHQL testing on a device driver I have
made… I keep on encountering the following error during the beginning
of
the “ACPI S3 Stress test”

=== Initialize all tests === (D:28 H:10 M:58 S:46)
Test Devnodes (DEVNODES_0_Devnodes.log)
ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t
support
sleep state S3
ERROR: Work item completed with Error Code: -1073721810
ERROR: The system does not support the S3 and the S4 system
power
states required.
ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t
support sleep state S3

I tried looking for more information on this error from the internet but
I
cannot find any information about this. aside from this sleep &
hibernate
functions execute without any problems. Am I forgetting to set anything?
Your inputs would be greatly appreciated.

Best Regards,
Rikki Tamayo


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Well, I have necessary piece of code (copied from a big app, needs some includes and libs probably):

#define YESNO(Value) ((Value) ? “yes” : “no”)

SYSTEM_POWER_CAPABILITIES PowerCapabilities;
char ComputerName[MAX_COMPUTERNAME_LENGTH + 1] = “”;
DWORD CompNameSize = sizeof(ComputerName);

TTRACE_ENTER(PwrTest, TDBG_DEBUG, (“PowerDisplayMachineConfig()”));

if (!GetComputerName(ComputerName, &CompNameSize)) {
PrintError(“GetComputerName()”, GetLastError());
strcpy(ComputerName, “”);
}

memset(&PowerCapabilities, 0, sizeof(PowerCapabilities));
if (GetPwrCapabilities(&PowerCapabilities)) {
printf(“\n%s power capabilities:\n”
“\tSystemS1: %s\n”
“\tSystemS2: %s\n”
“\tSystemS3: %s\n”
“\tSystemS4: %s\n”
“\tSystemS5: %s\n”
“\tHiberFilePresent: %s\n”
“\tFullWake: %s\n”
“\tRtcWake: S%d\n”
“\tMinDeviceWakeState: S%d\n”
“\tDefaultLowLatencyWake: S%d\n”,
ComputerName,
YESNO(PowerCapabilities.SystemS1), YESNO(PowerCapabilities.SystemS2), YESNO(PowerCapabilities.SystemS3),
YESNO(PowerCapabilities.SystemS4), YESNO(PowerCapabilities.SystemS5),
YESNO(PowerCapabilities.HiberFilePresent), YESNO(PowerCapabilities.FullWake),
PowerCapabilities.RtcWake - 1, PowerCapabilities.MinDeviceWakeState - 1, PowerCapabilities.DefaultLowLatencyWake - 1);
}
else {
PrintError(“GetPwrCapabilities()”, GetLastError());
}

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]

> ----------
> From: xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com] on behalf of Michal Vodicka[SMTP:xxxxx@upek.com]
> Reply To: Windows System Software Devs Interest List
> Sent: Saturday, January 29, 2005 3:14 AM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] “ACPI S3 Stress test” Help
>
> The error message is clear: your system doesn’t support required S3 power state. For working sleep it is sufficient if one of S1 or S3 states is supported.
>
> To examine system power capabilities, call GetPwrCapabilities() Win32 API. You can write a small command line app which would display power capabilities and run it on available machine to see which one supports all necessary Sx states.
>
> Best regards,
>
> Michal Vodicka
> UPEK, Inc.
> [xxxxx@upek.com, http://www.upek.com]
>
>
> > ----------
> > From: xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com] on behalf of softdev[SMTP:xxxxx@omron.com.ph]
> > Reply To: Windows System Software Devs Interest List
> > Sent: Saturday, January 29, 2005 2:59 AM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] “ACPI S3 Stress test” Help
> >
> > Hello Everybody,
> >
> > Currently I am trying to execute WHQL testing on a device driver I have
> > made… I keep on encountering the following error during the beginning of
> > the “ACPI S3 Stress test”
> >
> > === Initialize all tests === (D:28 H:10 M:58 S:46)
> > Test Devnodes (DEVNODES_0_Devnodes.log)
> > ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t support
> > sleep state S3
> > ERROR: Work item completed with Error Code: -1073721810
> > ERROR: The system does not support the S3 and the S4 system power
> > states required.
> > ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t
> > support sleep state S3
> >
> > I tried looking for more information on this error from the internet but I>
> > cannot find any information about this. aside from this sleep & hibernate
> > functions execute without any problems. Am I forgetting to set anything?
> > Your inputs would be greatly appreciated.
> >
> >
> > Best Regards,
> > Rikki Tamayo
> >
> >
> >
> >
> >
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@upek.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

It was the BIOS Settings After All… I would like to thank everybody for
your help…

Best regards,
Rikki Tamayo

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Eschmann, Michael K
Sent: Saturday, January 29, 2005 10:17 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] “ACPI S3 Stress test” Help

Check to make sure you have S3 enabled in the system BIOS ACPI settings.

Also, you might have a device reporting that it can’t do S3. A
IRP_MN_QUERY_CAPABILITIES handler might be returning a
PDEVICE_CAPABILITIES structure that doesn’t have the right values for S3
or S4, for example:

deviceCapabilities->DeviceState[PowerSystemSleeping3] =
PowerDeviceD3;
deviceCapabilities->DeviceState[PowerSystemHibernate] =
PowerDeviceD3;

I hope this helps. MKE.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of softdev
Sent: Friday, January 28, 2005 6:00 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] “ACPI S3 Stress test” Help

Hello Everybody,

Currently I am trying to execute WHQL testing on a device driver I have
made… I keep on encountering the following error during the beginning
of
the “ACPI S3 Stress test”

=== Initialize all tests === (D:28 H:10 M:58 S:46)
Test Devnodes (DEVNODES_0_Devnodes.log)
ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t
support
sleep state S3
ERROR: Work item completed with Error Code: -1073721810
ERROR: The system does not support the S3 and the S4 system
power
states required.
ERROR: PMTE_CheckForMustSupportedSleepStates(): System doesn’t
support sleep state S3

I tried looking for more information on this error from the internet but
I
cannot find any information about this. aside from this sleep &
hibernate
functions execute without any problems. Am I forgetting to set anything?
Your inputs would be greatly appreciated.

Best Regards,
Rikki Tamayo


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com