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 <[EMAIL 
PROTECTED]>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@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to