[Bug 187128] Re: Change /etc/init.d/hwclock.sh to enable RTC alarm in BIOS
Launchpad Bug Tracker
187128 at bugs.launchpad.net
Tue Jan 22 04:17:37 UTC 2013
[Expired for util-linux (Ubuntu) because there has been no activity for
60 days.]
** Changed in: util-linux (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/187128
Title:
Change /etc/init.d/hwclock.sh to enable RTC alarm in BIOS
Status in “util-linux” package in Ubuntu:
Expired
Bug description:
I had a problem with RTC alarm in BIOS in Ubuntu 7.10 and 8.04 alpha3,
finally solved thanks to
http://www.mythtv.org/wiki/index.php/ACPI_Wakeup#Disable_hwclock_updates_.28FUSSY_BIOS.29
Quote:
Most linux distributions write the current system time back to the bios when shutting down the machine. Some BIOSes refuse to wake up if the hardware clock is modified after the alarm timer has been set. To avoid that the current system time is written back to the hardware clock it required to change your startup scripts.
...
Ubuntu & Debian
modifying /etc/init.d/hwclock.sh with the following will fix this
problem:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/187128/+subscriptions
More information about the foundations-bugs
mailing list