Hibernation does not work anymore after installing MP (1 Viewer)

ronilse

Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Take your time, just report back when you have tested ;)

    btw, uninstalling MP doesn't give you the same reg keys as you had before......

    Regards
    Roy
     

    vote4tux

    Portal Member
    December 30, 2007
    23
    2
    Berlin
    Home Country
    Germany Germany
    Hi Roy and Ray,

    do you remember the special key in the registry you wrote about?

    HKLM\SYSTEM\CurrentControlSet\Services\USB

    I have two Laptops where S3 and S4 correctly works. So I looked in the registry of this two maschines. And what I see: There is no "USB"-Key under the described section.
    Wondering about that I decided to install two new VMware maschines, usb devices included. The "USB"-Key isn't under the described location on this two maschines too after OS and drivers are installed.
    Now I installed MP in one of the virtual maschines and started MP configuration too (S3 switch is checked). Do you know what I got? Yes, of course. I got the extraordinary "USB"-Key with exact one value of type REG_DWORD (USBBIOSx = hex:0)

    Now I renamed this key on my physical htpc (to "old_usb") and rebooted the system. After the reboot I tried going into hibernation mode. And .... it works again perfectly :)

    OK. Perfect. This S4 problem looks like fixed. Please, may I have an explanation why you implement this kind of key?
    (After all I saved a lot of time installing my htpc again and again.)

    Good night!
    Jan
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Yeah i know about that key & it enables things like MCE remotes to wake up comp from S3 & S4, if you had deselected "Enable S3 etc" in MP Config & started MP & then restarted windows, the key should have been deleted again(thats how it looks like in the code & worked here when i tested this evening).

    The reason why your comp "starts" after it hibernates it's because something it's telling it to do so. On my com that is the mouse & keyboard & Lan, so i have disabled wakeup function on those (in Windows Manager(or whatever it is called on English) & of course usb hack in registry it still there).
    In the code this is the reason the dev gave:

    Code:
      /// <summary>
      /// Enables the S3 system power state for standby when USB devices are armed for wake, 
      /// if this option is enabled in the configuration.
      /// </summary>
      /// <remarks>
      /// <para>The trick is to create the following registry value: 
      /// HKLM\SYSTEM\CurrentControlSet\Services\usb\USBBIOSx and set it to 0.</para>
      /// <para>This method checks whether the <b>enables3trick</b> option in the <b>general</b>
      /// section of the mediaportal.xml file is enabled (which is the default), before setting
      /// the value.  The reason for this configuration option is a bug in the S3 implementation
      /// of various (Asus) motherboards like the A7NX8 and A7VX8 that causes the computer to
      /// reboot immediately after hibernating.</para>
      /// <para>The previous implementation of this method also created an USBBIOSHACKS value,
      /// which according to this article http://support.microsoft.com/kb/841858/en-us should
      /// not be used.  That is why the current implementation deletes this key if it still
      /// exists.</para>
      /// </remarks>

    Thanks for reporting & testing ;)

    Regards
    Roy
     

    Users who are viewing this thread

    Top Bottom