Minlogon + ACPI + Standby

R

Reto Bucher

Hello,

I am trying to enable the command
xpepm -standby

from the dos command shell.

I started with the Microsoft Sample Macro: Minilogon, added the Power
Management Application and built the system.

After booting up,
xpepm -standby reports the following error:
Error 1141: The System BIOS failed an attempt to change the system
power state

My assumption is, that the Standard PC does not contain any ACPI
components and thus, does not support standby.

Because of that, I removed the Standard PC and replaced it with
a) ACPI Uniprocessor PC
or
b) Advanced Configuration and Power Interface (ACPI) PC


The solution a) lead to a blue screen right after startup. Solution b)
was not more successfull and ended in a system freeze. (I assume prior
the start of FBA since there is no log file...)

Has anybody encountered the same problem?

bye
Reto
 
S

Slobodan Brcin \(eMVP\)

I have ACPI devices but I have seen this error.

If only one driver does not support standby you will get this or similar
error.

Check if all your drivers are installed like video adapter (not VGA
default), etc.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
G

Guest

Hi Slobodan

thanx for ur fast answer. I will check that..

What I do not get right now is, if the Standard PC configuration (hal.dll) is enough or, if I need to use a different one, supporting ACPI

Do you know that

regard
Reto
 
S

Sean Liming \(eMVP\)

I have seen the video driver issue too. You need ACPI support to use Standby
or Hibernate. Does your target's BIOS support ACPI? Did Target Analyzer find
and pull in StandardPC when you ran it?

Regards,

Sean Liming
XP Embedded Manager
A7 Engineering (www.a7eng.com)
Author: Windows XP Embedded Advanced and Windows NT Embedded Step-by-Step

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reto said:
Hi Slobodan,

thanx for ur fast answer. I will check that...

What I do not get right now is, if the Standard PC configuration (hal.dll)
is enough or, if I need to use a different one, supporting ACPI.
 
G

Guest

Hi again

I couldn't find the solution to my problem yet. What I have figured out is the following

If I sart with an image, based on the TAP output, including Exporer Shell and Winlogon
the ACPI components work. Thus, the standby function is ok
(base components, autoresolve, choose Winlogon and Explorer shell

But, If I strip the image, choosing Minlogon and CMD shell, the ACPI stuff cannot be added to
the build
(base components, autoresolve, choose Minlogon and CMD shell

So, I assume, tha
- the BIOS supports ACPI (It is enabled all the time
- the required drivers are availabl

I'm now at the point, where I doubt that Minlogon and ACPI work together.
I still hope that I'm wrong...

cheer
Ret

a small add on
If I diff the two root filesystems StandardPC <-> ACPI, the only difference is the hal.dl
 
S

Slobodan Brcin \(eMVP\)

Hi,

Can you explain why you cannot add ACPI stuff to your build?

If TD report some conflict between components then remove Standard PC or
some other conflicting component in your image.
I'm now at the point, where I doubt that Minlogon and ACPI work together.
I still hope that I'm wrong...

Don't doubt. They are working together!
Or better to say ACPI has nothing to do with minlogon.
Minlogon is user mode program and ACPI is driver so they are not related in
any way.

Hope that this help.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
G

Guest

Thx for ur reply. I think I have created some confusion...

I can add the ACPI component to the TD (remove Standard PC, add ACPI). Also the dependency check and the build seem successfull.
But if I startup the system, it either hangs (ACPI Uniprocessor PC) or shows a blue screen (Advanced Configuration and Power Interface (ACPI) PC

I also did another thing
I used the default Minlogon Macro, resolved all dependencies, removed the macro, replaces the Standard PC with the ACPI stuff, resolved again all dependencies and built the system
(The build with the standard PC was running!

Same effect

Is this not an "allowed" approach

cheer
Reto
 
S

Slobodan Brcin \(eMVP\)

Do you have:
Microsoft ACPI-Compliant Embedded Controller
Microsoft ACPI-Compliant System

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reto said:
Thx for ur reply. I think I have created some confusion...

I can add the ACPI component to the TD (remove Standard PC, add ACPI).
Also the dependency check and the build seem successfull.
But if I startup the system, it either hangs (ACPI Uniprocessor PC) or
shows a blue screen (Advanced Configuration and Power Interface (ACPI) PC)
I also did another thing:
I used the default Minlogon Macro, resolved all dependencies, removed the
macro, replaces the Standard PC with the ACPI stuff, resolved again all
dependencies and built the system.
 
G

Guest

Hi Slobodan,

I have to admit: none of the two...

With the next image, I will include the embedded one and see what results I got...

regards
Reto
 
S

Sean Liming \(eMVP\)

Reto,

Make sure that you have the latest greatest QFE updates. There was an update
to Minlogon that solved an issue with the standby and hibernation: QFE
833642. Also, make sure you are using the latest BIOS from the PC
manufacturer.

If TAP found ACPI, or ACPI Uniprocessor, etc., stick with the computer
component (HAL) that TAP found. StandardPC is okay if you don't want Power
Mangement.


Regards,

Sean Liming
XP Embedded Manager
A7 Engineering (www.a7eng.com)
Author: Windows XP Embedded Advanced and Windows NT Embedded Step-by-Step

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top