View Single Post
Old 09-05-2010, 12:51 PM   #77
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 711
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, in love with iRex DR800S. Also a K4NT. Now a Kobo Aura
Quote:
Originally Posted by CoolDragon View Post
I have attached the binary along with the statusbar.c source code (need to learn Mercurial for submitting changes), you are welcome to test it. Don't forget to change the installation script to also copy idle.sh.dr800+ to /usr/bin/idel.sh. It has been very stable on my device so far.
I've been testing your changes finally (sorry, I've been very busy these past days working hard... ok, ok, playing with my new phone ... a Nexus One, a marvelous device after my 6-year old nokia!).

I like the idea of the idle.sh modification and the semaphore (maybe that was the reason of the random hangs I saw). I've added both.

On the other hand, I prefer my way to update the clock, i.e. the ipc_update_clock_label function (in ipc.c) called from statusbar_timeout_clock, as this could update the clock not only when changing pages but with any other event as well.

It works perfectly in my device by now, but I'll test these minimal changes a bit more time and then release a new package.
Iņigo is offline   Reply With Quote