-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2013-05-12 at 13:02 -0400, Cristian Rodríguez wrote:
El 12/05/13 10:44, Carlos E. R. escribió:
If you saw the comment
it says "Modern kernels handle this correctly so we skip this hook by default"
So I suggest you not to do that, it will probably make things worst, pm-utils is full of hacks whose necessity is questionable and will go away.
I did not see that comment today, but I remember reading it in the past, and I agree. However, for some reason, the OP poster claims that his computer sows the wrong time after recovering from hibernation, and that he issues a command running a script to correct it, manually, every time the computer recovers (it is on his second post). So it is workth investigating if that hack works for him. In fact, my clock shows wrong time on restore, apparently. I have been unable to verify fully. While the computer recovers, before the screensaver kicks in, I can see that the time applets (gkrelm and xfce) displays the wrong time. After I enter the password on the screen saver, the time is correct, but several seconds have passed. There may be several explanations for this. One, is that when the screen first displays the applications have not had time to query the kernel for the time, or to redraw, or have not noticed yet it has changed, or the kernel is bussy recovering applications from swap so that the system is not fully functional. Another explanation is that I have a hack of my own: I stop and restart network on hibernation (I no longer remember why, perhaps because I had a bug related to this), and also I stop and restart the ntp time daemon, which obviously can change the clock. Yes, pm-utils is full of hacks, but I assure you that many of us have to use some of those hacks. Not everybody, not every hack, but some. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlGQEPoACgkQtTMYHG2NR9VNCwCeNS30Scp0KueaT3CHBIjLJFjv yd0An0oyHuQHeIXArbzigdmoIlHlgGiP =2ngc -----END PGP SIGNATURE-----