I believed I found what's wrong with the clock. It's a script called "94cpufreq" inside this directory, '/usr/lib/pm-utils/sleep.d". When q7 goes into suspension, the pm-suspend command script will call this routine and it changes the frequency of the cpu hence the clock speed. The rtc will keep the correct value until q7 goes into suspension again. Then a script "90clock" in the same dir will update the realtime clock (rtc).
I don't know about python script and how the system clock utilizes the cpu frequency. So, this is the most I can do. Anyone with the knowledge should take a look at the script to verify and find way to correct the clock. Please.
|