Another Power problem

G

George

When we press the power button on the motherboard, the XP pro will shutdown.
And we can set the power button function by change the setting through
C:\WINDOWS\System32\powercfg.cpl advance->when press the power button

But in XPE, I use minlogon+task manager shell, the software power off
function seems don't work.
I press the power button on the motherboard, the XPE do nothing.(I don't
mean press 5 sec to force the computer shutdown)
 
K

KM

George,

Could you describe what you have done and what was the result?
That would be interesting for some of us here to know how you handle Power
Button with Minlogon+Task Manager Shell.
Are you saying that "Disk Dump Drivers" component is enough to get it
working without custom handling WM_POWERBROADCAST?
I haven't tried the power button with Task Manager shell and there might be
some differences interesting to know.

Thanks,
KM
 
K

KM

George,

When you press the power button for at least 5 second it just turns off the
power (ACPI).

You are saying that the "Disk Dump Drivers" component helped you to fix
power button issue with Minlogon/Task Manager shell.
This does sound interesting...

Does the component help with the issue if you use Minlogon/Command Shell?
I am not able to test it now (not in front of my XPe dev PC) but I will do
that tomorrow.

KM
 
S

Slobodan Brcin \(eMVP\)

Hi George,

Interesting finding if it is true. I wonder why I and others have lost so many hours trying to make a solution that will work :(

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do have an opinion on the effectiveness of Microsoft Windows Mobile and Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
G

George

KM,
Maybe I not say my problem clearly enough.
My question is that: I want to press the power button on the motherboard to
shutdown the computer.
If without the "Disk Dump Drivers" component, I have to press the power
button on the motherboard for at least 5 seconds to force the computer
shutdown.
But if I add the "Disk Dump Drivers" componet. When I press the power
button, the XPE system will shutdown just like xpepm -shutdown, maybe say
"like xpepm -shutdown" is not correctly. In normal Windows XP pro, it also
have this function, right?You can check it.
I don't know whether these information you need. :)
 
G

George

KM,
Yes,press the power button for at least 5 second it just turns off the power
(ACPI).

But you add the "Disk Dump Drivers", you can just press the power
button(just press for once), the XPE OS will shutdown.Also you can check the
function on XP pro, when you press the power button, the XP pro will
shutdown, right?

I don't know whether i say it clearly enough.

George
 
M

Matt Kellner \(MS\)

Hi George. I tried a similar scenario as what you described here, but my
system seems to shut down properly when I press the power button, and I did
not need to include the Disk Dump Drivers component. I'm interested in
figuring out what's going on with your setup, so I'd like to work with you
on this.

Could you provide me with some details about your configuration? I'd like
to know the following:
- What is your hardware configuration?
- Which HAL component does your config include? (ACPI Multiprocessor,
Standard PC, etc.)?
- How are you putting together your runtime in Target Designer? Are you
using a predefined scenario component?
- Can you provide the steps that you went through to create your runtime so
I can follow them and try to create a duplicate scenario?

Thanks. =)

--
Matt Kellner ([email protected])
STE, Windows Embedded Group

This posting is provided "AS IS" with no warranties, and confers no rights.
===============================
 
K

KM

I don't think it is true for any hardware. Or there is some settings/components I am still mising.

At least on my test PC the power button does not work with Minlogon/Command or Task Manager Shell with or without the "Dump Disk
Drivers" component included.
My HAL is ACPI Uniprocessor. "ACPI Power Button" in also included.
No Macro component used (just TAP output with some items disabled to decrease footprint).
 
G

George

KM,
But it indeed work on my PC, I try to fix power button with the
minlogon/command shell. And when I try the hibernate+minlogon image I made
before, I found that the power button can work just like normal XP pro.
So I just add the components below to try:

NTFS
NTFS format
NT loader
device(use tap.exe)
XXX language support
minlogon - hotfix Q833642
Disk Dump Drivers
Command shell
Generic USB Input Device Support(because my mouse is USB mouse)
Logitech USB WheelMouse
Power Meter Control Panel

Then I check the dependencies and build it. The power button works.

and the ACPI components below is included after check:
ACPI Power Button
ACPI Fixed Feather Button

I hope we say the same problem. :)

--
Best wishes
George


KM said:
I don't think it is true for any hardware. Or there is some
settings/components I am still mising.
At least on my test PC the power button does not work with
Minlogon/Command or Task Manager Shell with or without the "Dump Disk
 
S

Slobodan Brcin \(eMVP\)

Hi George,

I don't use hotfix Q833642 and it probably addressed some of the seen problems.
But how Disk Dump Driver affect this I have no idea. AFAIK it is required only for hibernation support.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do have an opinion on the effectiveness of Microsoft Windows Mobile and Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
G

George

Hi Slobodan,

Yes, Disk Dump Drivers is for hibernate, and the hotfixQ833642 is also for
hibernate under minlogon.

I just puzzled for the power button problem. But someday I find just the
hibernate+minlogon image that I made before can let the power button work.

I think the hotfixQ833642+Disk Dump Drivers can let the system power state
from "Full on" to "hibernate",so maybe it also can let the system power
state from "Full on" to "shutdown".

So if you want the power button work, you have to add the hotfixQ833642 and
Disk dump drivers to try.:)

--
Best Wishes.
George




Slobodan Brcin (eMVP) said:
Hi George,

I don't use hotfix Q833642 and it probably addressed some of the seen problems.
But how Disk Dump Driver affect this I have no idea. AFAIK it is required only for hibernation support.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
 
K

KM

Folks,

The Hotfix Q833642 - that is the component that fixes the problem!
At least on my testing ACPI board. I trace the components down to this one - it made the difference and power button now works with
Minlogon/Task Man.

George, thanks a lot for pointing out your list fo components!
 
G

George

Welcome :)


KM said:
Folks,

The Hotfix Q833642 - that is the component that fixes the problem!
At least on my testing ACPI board. I trace the components down to this
one - it made the difference and power button now works with
 

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