-   Ubuntu (
-   -   File to wakeup the system for hibernation like ?? (

sanketdangi 01-15-2010 02:33 AM

File to wakeup the system for hibernation like ??
I am trying to write a script that switches the system to hibernation automatically at a particular time and again wakeup after some fixed amount of time.
I found that at /etc/acpi there is a but i cudn't find .

Can anyone please tell me is there any or like that file in ubuntu ??

Slick666 01-15-2010 07:52 PM

The problem is what would cause the machine to wake up. If the system is truly hibernating then there is no activity to measure the amount of time. If you have support you could try to get the bios to wake the machine up at a certain time. I believe that there are some that support that.

GrapefruiTgirl 01-15-2010 07:58 PM

Yup, I believe, like *666 wrote, you'd need to use something hardware-based to awake the machine at some specific time, or if there's such a feature, after xxx elapsed time. So, if your machine has a programmable RTC (real-time-clock) which can awake the machine, you need to look into that.
My BIOS has a feature that I can set a time of day when the machine turns on automatically if it is off, but I'm not aware if I can program that from the OS or not..

sanketdangi 01-16-2010 11:25 AM

Hey Thanks for ur reply ... have solved the query ... made d use of bios clock... set d alarm in that and finally it woke up !!

All times are GMT -5. The time now is 05:55 AM.