Public bug reported:

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

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Change /etc/init.d/hwclock.sh to enable RTC alarm in BIOS
https://bugs.launchpad.net/bugs/187128
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to