Just HOW does hibernation work in 2k?

videobruce

Golden Member
Nov 27, 2001
1,072
11
81
I posted this elsewhere, but was told it was in the wrong place, so here I am...................

I don't mean what it does, but just how does it do it?

How/where on the MB's bios does the O/S send the commands to to wake the system up and how is that different than you pressing the power button after you put the system into hibernation?
MS's site is useless all I came up with were issues with USB devices when I searched under "hibernation".

I have 2 problems. A program uses hibernation to wake the system up to record a HD TV program via a HD tuner card. First, the system was beeping with a post code of 25 (Award doesn't list a code 25 except for "reserved"), now it doesn't even wake the system up. It will record the program if the system is left on though.

To compound things, I have 2 bootable HDD's, each with 2k on them. They can be selected at startup (master or slave) via a toggle switch. They both have the S/W for the card and it was after (I beleive) I started tring to troubleshoot this that the 2nd problem started; it wouldn't even wake the system back up (using either drive). I'm guessing, but I think the 2nd drive corrupted something somewhere; Bios or O/S hibernation files. I did uncheck the 'enable hibernation', reboot and then recheck 'enable hiberenation', but the same thing. I also reflashed the bios, and set the default values, but no luck there.

Wiping the drive and reinstalling the O/S isn't doing anything with the BIOS on the MB, so I don't want to just 'try that'.

Any ideas??

BTW, I'm running 2k w/sp4 and a nForce2 chipset and a 9600Pro Powercolor video card. The MB's bios is 2/04, I don't overclock and I checked for viruses.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
does the O/S send the commands to to wake the system up and how is that different than you pressing the power button after you put the system into hibernation?

It doesn't, at the point that the system is hibernating there is no longer a running operating system. The power to the system can be completely removed, upon restart the memory snapshot is reloaded the OS
performs it's init against this to resume.

The only way to wake up a hibernating system is a) power button, b) wake on lan (if so configured), c) bios timer (basically the power button or another bios controlled option)

A program uses hibernation to wake the system up to record a HD TV program via a HD tuner card.

You'll have to give more details, I don't see any way that is possible unless the tuner card has it's own timer and is tied to the same jumpers that the wak on lan would be...

Bill
 

mrSHEiK124

Lifer
Mar 6, 2004
11,488
2
0
Originally posted by: bsobel
You'll have to give more details, I don't see any way that is possible unless the tuner card has it's own timer and is tied to the same jumpers that the wak on lan would be...

i agree, if your asking what hibernation does, it takes whats in your ram and saves it to a file called hiberfil.sys in your windows drive root, when you turn it on, its as if you are turning on the PC again, and when windows loads it just place hiberfil.sys in your ram
 

videobruce

Golden Member
Nov 27, 2001
1,072
11
81
Ok, I understand that part.
The part I DON'T understand is how/what turns the system back on!

Here is the tuner card details:

http://www.digitalconnection.com/Products/Video/mdp120.asp

It is the only HARDWARE card out there AFAIK. The other popular one is from Fusion, but that is a software based card. ATI is coming out with a software card (I beleive it is software based).

The program that stores the capture info (time and date) is MyIRC which is the service/program that the IR receiver uses that is connected to a serial port. The main program is started from there.

This 'serial port' rogram somehow sends a command to the MB to tell it to wkae up. This is where one of the two problems are that I don't understand. The dealer hasn't been any help either.

I beleive it has to be a MB issue, but don't know where to turn. I just don't want to buy another board and put this aside for this one issue.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
The program that stores the capture info (time and date) is MyIRC which is the service/program that the IR receiver uses that is connected to a serial port. The main program is started from there.

Are you sure about that? I didnt' see anything in the manual for the card that indicated that the machine could be suspended/hibernated. What gave you the impression that was supported?

There is one possibility, are you saying it's the remote control includes a timer and is generating a signal at the 'right time' to wake the system up? If so, it's possible that the IR receiver is faking a 'ring' signal, and some BIOSs support 'wake on ring' (the idea being, you'd call your modem and the system would boot up).

Bill
 

videobruce

Golden Member
Nov 27, 2001
1,072
11
81
The software is designed to give the following choices:

Between Captures:
Do not exit
Exit MyHD
Suspend
Hibernate

After Final Reserveration:
the above four plus;
Turn off the computer

The remote is a small hand held unit. The IR reveiver is a small receiver for the remote that plugs into a serial port. It shows as a icon in the system tray and by double clicking on it it will show any 'reservations' that are set. The main program can be closed before hibernation as this 'helper' service/program will start it up (and does if the computer is on) and use to when it was in hibernation.
I was hoping that I might of changed a setting in the bios, but I have gone through everything (including resetting the default settings) many times.
 

Paperlantern

Platinum Member
Apr 26, 2003
2,239
6
81
if its not bringing it out of standby/hibernation, it either cant, or isnt set to. in control panel, hit system, then go to hardware and device manager, in device manager select the video card itself, since its the hardware that really wakes the comp, not any software. choose properties of that device, and go to power management tab, check the box "Allow this device to bring the computer out of standby" if its not already, if it IS then i dont know what to say, it may be defective. If you dont have a power management tab, either driveres arent installed correctly, or the device DOESNT support waking. hope this helps
 

zephyrprime

Diamond Member
Feb 18, 2001
7,512
2
81
In my experience, sleep and hibernate have never worked that well in desktop motherboards. I think manufacturers just don't really care about those 2 functions. Over the years, both have been improving but there are still glitches that manufacturers don't care to fix sometimes. (or maybe it's because some peripherals don't like sleep.)

I believe that the way hibernate works is that the BIOS is just put into a special mode where insteading of searching the disk for the first boot files like normal, it searches for the hibernation file instead and simply copies the file into memory.

Here, you might want to take a look at this:
http://www.microsoft.com/whdc/archive/amp_12.mspx

But I think your MB is just incompatible and you'll need a different one. I know that's not what you want to hear but that's what I believe is the solution.
 

videobruce

Golden Member
Nov 27, 2001
1,072
11
81
I thank you for your input, BUT THIS THING DID WORK! That's what is frustrating me. I could see if it NEVER worked, but you must believe me it did!

On the control panel deal, I did look there and there is no power tab on the Capture device and never was. It is listed as a 'MDP100 Video Capture' (even though it is the MDP120, the 2nd version).

I do understand the process of the hibernation file, but again, it is just what is starting the system up where the issue seems to be (let alone that code 25 deal).

I guess it has to be something happened to the MB. I will move that card to my other box (where I did have it for another problem before (and it did work there also) and try it again.

That link dealt with APM, this is ACPI which isn't the same, correct?
 

videobruce

Golden Member
Nov 27, 2001
1,072
11
81
Someone suggested trying Task Manager.

I did and it does bring the box out of hibernation without the code 25. Though a couple of times the one program I choose to start didn't, even though the computer did power up. I choose another program (both small) and that does seem to work.

Is there a way to shut down the computer after the task is over. I don't see any way to do so other than just stopping the program itself.

Anyway, since this does seem to work, and the other didn't even when I have reloaded the program, now what?
 

videobruce

Golden Member
Nov 27, 2001
1,072
11
81
Update;
Someone else pointed me to a utility called 'WakeUp' that works fine! It wakes the sustem up ok except for one time where I got that code 25. All the other times it was fine, no hitches. I also was pointed to another utility that was written for the program in question. It uses the same API (I think that is waht it is called) as the program itself and that works fine!
I did uninstall and reinstall that MyHD program and that didn't help. It is the latest version and the older versions had a issue with the chipset on my MB that was resolved.