Page 5 of 9 FirstFirst 123456789 LastLast
Results 41 to 50 of 81

Thread: minlogon and now ACPI does not shutdown

  1. #41
    Maximum Bitrate starfox's Avatar
    Join Date
    May 2002
    Location
    Australia
    Posts
    451
    Actually i just found this searching through MSDN:
    http://www.microsoft.com/downloads/d...displaylang=en

    It's a bit late now for me to test it (3:30am..), but it sounds promising. I'll give it a shot when i wake up

  2. #42
    Constant Bitrate shiltz's Avatar
    Join Date
    Dec 2004
    Location
    Massachusetts
    Posts
    151
    that does sound promising, will have to try it when I get home.

  3. #43
    Maximum Bitrate knubile's Avatar
    Join Date
    Sep 2004
    Posts
    505
    I saw that before along with a forum discussing it. From what I understand this fix is included in sp2.
    I know I have the latest minlogon file from sp2. I even got it directly from someone who has this working.

    Somebody please try it though and post.

  4. #44
    Maximum Bitrate Rundell's Avatar
    Join Date
    Apr 2004
    Posts
    497
    I just redid all of my software and I'm now using minlogon. I have the same problem as you have described. Would it be possible that there is a program that performs this option and we can just use that in the mean time?? Or maybe one of the local programers can write a solution. I know this will only cover over the problem but if it works that would be good!
    Remember AllAdvantage From 7 years ago? IT IS BACK! Now under a new name Agloco
    GET PAID TO SURF THE INTERNET

  5. #45
    Constant Bitrate shiltz's Avatar
    Join Date
    Dec 2004
    Location
    Massachusetts
    Posts
    151
    just tried it but it didn't work, couldn't install it, got an error message that said "WEUpdate cannot retrieve information needed for setup from database.

    Setup cannot continue."

    edit: i'm using bios rev 1.35 on my MB.

  6. #46
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,365
    this is an update for XPe SP1, but I read somewhere on the newsgroups that it may have in fact been changed back for some reason in XPe SP2 not sure, I haven't tested it yet (my ACPI works fine already). You can just open the update in WinZip and extract the minlogon file and replace it yourself. You can't actually install the update unless you have XPe Tools installed.

  7. #47
    Maximum Bitrate knubile's Avatar
    Join Date
    Sep 2004
    Posts
    505
    I'm sure it still something else though SFiorito. Remeber, you even sent me the exe you were using. It still didn't work for me.

  8. #48
    Maximum Bitrate starfox's Avatar
    Join Date
    May 2002
    Location
    Australia
    Posts
    451
    Quote Originally Posted by SFiorito
    this is an update for XPe SP1, but I read somewhere on the newsgroups that it may have in fact been changed back for some reason in XPe SP2 not sure, I haven't tested it yet (my ACPI works fine already). You can just open the update in WinZip and extract the minlogon file and replace it yourself. You can't actually install the update unless you have XPe Tools installed.
    Yeah i noticed that just then, that'll teach me to look up things on MSDN at 3am Sorry about that everyone.

    I wrote a small app that hooks PBT_APMQUERYSUSPEND, WM_ENDSESSION, WM_QUERYENDSESSION and WM_POWER. Normally when windows restarts or shuts down, these messages are posted to my app in the right sequence. When i push my ACPI power button, nothing's sent at all...

    There's some information on this google archived newsgroup too:
    http://groups-beta.google.com/group/...6542c25a932ccd

    I'm not seeing WM_QUERYENDSESSION either.

  9. #49
    Maximum Bitrate knubile's Avatar
    Join Date
    Sep 2004
    Posts
    505
    Can you send me that app? From what I can tell, hibernate and standby still work. Its just shutdown that isn't.

  10. #50
    Maximum Bitrate starfox's Avatar
    Join Date
    May 2002
    Location
    Australia
    Posts
    451
    I can verify the same thing. No point sending you the app because it won't do anything useful

    I've been trying to get this code working:
    Code:
    SYSTEM_POWER_POLICY        policy;
    ::CallNtPowerInformation(SystemPowerPolicyAc, NULL, 0, &policy,
    sizeof(policy);
    policy.PowerButton.Action = PowerActionShutdown;
    
    policy.PowerButton.Flags = POWER_ACTION_QUERY_ALLOWED | POWER_ACTION_UI_ALLOWED;
    
    policy.PowerButton.EventCode = POWER_USER_NOTIFY_BUTTON;
    
    ::CallNtPowerInformation(SystemPowerPolicyAc, &policy, sizeof(policy),
    &policy, sizeof(policy));
    Apparently that makes shutdown work, but CallNtPowerInformation()'s documentation says "The lpInBuffer parameter must be NULL; otherwise, the function returns ERROR_INVALID_PARAMETER." so i don't understand how it will do anything at all. So far i just get an error message the second time CallNtPowerInformation() is called, but it does show that policy.PowerButton.Action = PowerActionNone instead of PowerActionShutdown.

    Hmm, i could write something into the app so when i receives a sleep (standby) message it'll cancel sleep and get windows to shutdown.... that would work as a hack. That should be fine for most people as i don't think anyone would be wanting to use the sleep function.....

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •