New rotate version

Rui Miguel Silva Seabra rms at 1407.org
Wed Oct 15 20:38:27 CEST 2008


What release do you use?

How long since your last reboot?

Have you been using other applications that use accelerometers?

I'm using Om2008.9 and I'm noticing instability in the accelerometers,
so maybe some of your problems are derived from it.

Rui

On Wed, Oct 15, 2008 at 12:48:24AM +0530, Vikas Saurabh wrote:
> This seems pretty stable than the previous one. The brightness effect is
> nice, but the event, apparently, is hitting even if the phone is moved a
> little (i was trying to type a message).
> The brightness thing started to feel too much pain, so I killed the rotate
> instance (from a separated ssh session). Unfortunately, the program had
> thought that I am rotating and hence had brightness set to 0 when I killed
> it. So, I was left with a switched off screen :).
> 
> So, 2 cents from my side
> (1) The brightness effect (and rotation) should be applied only we are
> switching orientation (I am not too sure if accels would give that data
> directly....but keeping a state can be a workaround...it would give some
> false positives and negative, but would have a better output)
> (2) We might like to put a close program handler which would try to reset
> the brightness to the last read brightness value (if the rotation was in
> progress while the program was closed)
> 
> --Vikas
> 
> On Wed, Oct 15, 2008 at 12:10 AM, Rui Miguel Silva Seabra <rms at 1407.org>wrote:
> 
> > On Tue, Oct 14, 2008 at 06:15:58PM +0100, Rui Miguel Silva Seabra wrote:
> > > On Mon, Oct 13, 2008 at 10:26:48PM +0200, Oscar Casamitjana wrote:
> > > >    screenfp = fopen
> > ("/sys/class/backlight/pcf50633-bl/brightness","w");
> > >
> > > Excellent idea, I'll implement it in my newRotate and make a new
> > > release.
> > >
> > > BTW, I still can't commit...
> > >
> > > https://admin-trac.openmoko.org/trac/ticket/1563
> >
> > OK, new newrotate version, taking usage of brightness to use less energy
> > and a nicer rotation.
> >
> > http://blog.1407.org/2008/10/14/openmoko-newrotate-checks-brightness/
> >
> > Rui
> >

> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


-- 
Or is it?
Today is Pungenday, the 69th day of Bureaucracy in the YOLD 3174
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?




More information about the community mailing list