Alright everyone, As I been experimenting with the "still experimental" software suspend, which obviously works even better than the hardware suspend on my computer, I've had the common clock problem. I got some suggestions of adding a line in my crontab to syncronize the system clock using network time protocol. This wouldn't be the ultimate solution for me though. So one day, while I was booting up my box, I saw the command: "Setting System clock from Hardware clock" and thought, why wouldn't I do the same after resuming a software suspend ?
So, here's the command:
hwclock --hctosys
Currently I am a bit busy doing stuff for uni, but it's in my to-do list to hack up the kernel and let it do this automatically after booting up from such a suspend. If anyone knows the exact place where this piece of code is located, I'd appreciate it :)
Thanks guys
that's not a good idea...
that's not a good idea...
why should the kernel do it?
there should be unsuspend-scripts...
btw, what is your current distro ?
I used to be indecisive .. but now I'm not so sure
Running slackware 10.1, could
Running slackware 10.1, couldn't really find the suspend sscripts though
check suspend-scripts
check the package suspend-scripts and the command pmsuspend2
these are scripts to do certain actions before suspends and directly after you wake up from the suspend.
they even have hoks so you can add actions without modifying any of the files.
I'm yet to use them so I can't give concrete advice.
Alaa
"i`m feeling for the 2nd time like alice in wonderland reading el wafd"