2
votes
0answers
45 views

Why is that my ubuntu clock is not working during the time I put in sleep mode

When I set time in ubuntu it's working fine, but soon after putting in sleep mode, it's not working. Let's say the time is 3:00PM and I suspended the laptop for 2 hours. It's now 5:00PM but when the ...
3
votes
0answers
138 views

How to tell if laptop was woken by rtc?

Say I set my laptop to wake every morning with rtcwake (e.g. echo $(date +%s 'tomorrow 08:00') > /sys/class/rtc/rtc0/wakealarm in a cron job or in /etc/pm/sleep.d/99-set-alarm.sh). Now, I'd like ...
2
votes
1answer
1k views

How to make the clock sync automatically after suspension of a Virtual Machine

I run Ubuntu 10.04 64-bit as a guest OS on a VMWare Player machine over Windows 7. I have the clock displayed in the panel and the location set to my time zone. Occasionally, I close VMWare Player ...
0
votes
3answers
149 views

Daemon wakeup via clock

I am writing a daemon (my first) and it needs to wake up every second and check a special piece of hardware. I have it checking the hardware, but how do I make it sleep, then wake on a specific ...