Chat
Micro Mart Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Timed startup Expand / Collapse
Author
Message
Posted 01/08/2008 13:36:04
286

286286286286286

Group: Forum Members
Last Login: Today @ 00:06:58
Posts: 451, Visits: 1,864
I'm trying to get my computer to automatically wake up at a certain time every day. The bios supports this, and I have seen it work after powering off the machine before os boots. However, after a clean shutdown, the machine steadfastly refuses to wake.

Any ideas?

Using ubuntu 7.10 x64 on a gigabyte GA-P35-S3G

Post #301740
Posted 01/08/2008 15:14:19


486

486486486486486

Group: Forum Members
Last Login: Yesterday @ 21:47:58
Posts: 1,226, Visits: 3,122
This is a BIOS setting, and normally the OS should not affect it.
However, if ACPI is being turned off by the OS, that could stop it working on a warm boot.
Try shutting down and unplugging it, then plugging it back in.
If it works on a cold boot, that is the issue.

*************

*************

The sig between the asterisks is SO COOL that ONLY REALLY COOL people can even see it!
Post #301764
Posted 01/08/2008 16:06:23
286

286286286286286

Group: Forum Members
Last Login: Today @ 00:06:58
Posts: 451, Visits: 1,864
Yes, the OS does seem to be affecting it.

Once set and saved, in the BIOS - if the machine is switched off before OS boots (and shuts down), it will work.

I did see somethings related to this on a mythubuntu thread. I'll check it out later - I was just hoping for a quick (lazy?) fix.



Post #301792
Posted 02/08/2008 14:13:17
286

286286286286286

Group: Forum Members
Last Login: Today @ 00:06:58
Posts: 451, Visits: 1,864
This is what I found. I'm hoping it will be the solution, but I'm being a bit dense about how to implement it. Do I simply add the text to the file at the correct place or should I replace any of the original file?

Found on http://www.mythtv.org/wiki/index.php/ACPI_Wakeup

modifying /etc/init.d/hwclock.sh with the following will fix this problem:
/etc/init.d/hwclock.sh


.........
stop|restart|reload|force-reload)

==> ACPITIME=`cat /proc/acpi/alarm`
if [ "$HWCLOCKACCESS" != no ]
then
if [ "$VERBOSE" != no ]
then
echo "Saving the System Clock time to the Hardware Clock..."
fi
[ "$GMT" = "-u" ] && GMT="--utc"
/sbin/hwclock --systohc $GMT $BADYEAR
if [ "$VERBOSE" != no ]
then
echo "Hardware Clock updated to `date`."
fi
==> echo "$ACPITIME" > /proc/acpi/alarm



Post #301987
Posted 04/08/2008 15:09:21


486

486486486486486

Group: Forum Members
Last Login: Yesterday @ 21:47:58
Posts: 1,226, Visits: 3,122
No, that is just a time update between the RTC and the system clock.

What you need is a program called nvram-wakeup, I think.
This link talks about it, for MythTV

*************

*************

The sig between the asterisks is SO COOL that ONLY REALLY COOL people can even see it!
Post #302313
Posted 15/08/2008 19:10:01
286

286286286286286

Group: Forum Members
Last Login: Today @ 00:06:58
Posts: 451, Visits: 1,864
Sorted.

I was on the right track, only I inserted the whole chunk of code rather than just the two highlighted lines.

I think the nvram stuff is for earlier kernel versions.

Post #304542
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: TheEditor, DJ, malc_wright, ricedg, admin, Sarah of the Dead

Permissions Expand / Collapse

All times are GMT, Time now is 1:32am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 9 queries. Compression Disabled.