FYI:
/proc/micro/stats is hardware-dependent on the H3600, h3700, and h3100.
It is not present on the h3800.
Jamey
> -----Original Message-----
> From: Joseph J. McCarthy [mailto:mccarthy@granular.che.pitt.edu]
> Sent: Monday, January 07, 2002 2:09 PM
> To: Gettys, James
> Cc: Lee, Kwan; ipaq@handhelds.org
> Subject: Re: [iPAQ] screen saver problem?
>
>
> Not to butt my nose in too far, but I have written just such a code
> already, ipaq-sleep. (Look in the unstable feed)
>
> It *used* to use x-screensave extensions, but that wasn't really
> necessary for my purposes since I could get what I wanted from the
> /proc/micro/stats file so I pulled it out.
>
> I could add backlight dimming to ipaqsleep relatively easily,
> I think if
> there was sufficient interest.
>
> regards.
>
> Joe
>
>
> On Mon, 2002-01-07 at 13:59, Jim Gettys wrote:
> > Right now, things are pretty simple minded: there is a command
> > line program (bl) for controlling the front light.
> >
> > The screen itself is turned on and off by X, using the usual
> > X controls for timeouts.
> >
> > Much more elaborate policies can be done by writing a small
> program using
> > the X screen saver extension (which is present in the X
> server in Familiar),
> > and controlling the screen/frontlight in any way you like
> (Or for that
> > matter, suspending the iPAQ when idle). No one so far to
> my knowledge
> > has written such a program (not that it is hard).
> >
> > The one wrinkle is to define some convention where applications can
> > register that they don't want automatic suspension.
> >
> > Go for it....
> >
> > As there are probably no python bindings to the X screen
> saver extension,
> > you'd probably have to write a bit of C.
> > - Jim
> >
> > > Sender: ipaq-admin@handhelds.org
> > > From: "Lee, Kwan" <Kwan_Lee@bose.com>
> > > Date: Mon, 7 Jan 2002 11:59:31 -0500
> > > To: "'ipaq@handhelds.org'" <ipaq@handhelds.org>
> > > Subject: [iPAQ] screen saver problem?
> > > -----
> > > Hi,
> > >
> > > How can I turn of the backlighting of the lcd? Is there
> a way to do it with
> > > a script or something? I would like to turn off the back
> lighting after 30
> > > seconds of no button press. When a button on the ipaq is
> pressed or when it
> > > wakes up from suspend mode, I would like to turn on the
> back lighting.
> > >
> > > How can I control this? Can I do this from python? from C?
> > >
> > > Thank you.
> > >
> > > -kwan
> > > _______________________________________________
> > > iPAQ mailing list
> > > iPAQ@handhelds.org
> > > http://handhelds.org/mailman/listinfo/ipaq
> > > irc://irc.openprojects.net #ipaq
> >
> > --
> > Jim Gettys
> > Cambridge Research Laboratory
> > Compaq Computer Corporation
> > jg@pa.dec.com
> >
> > _______________________________________________
> > iPAQ mailing list
> > iPAQ@handhelds.org
> > http://handhelds.org/mailman/listinfo/ipaq
> > irc://irc.openprojects.net #ipaq
> >
> --
> Joseph J. McCarthy, Assistant Professor
> Department of Chemical and Petroleum Engineering
> University of Pittsburgh
> 1249 Benedum Hall Pittsburgh, Pennsylvania 15261
> Ph. 412-624-7362
> Fax 412-624-9639
> mccarthy@engrng.pitt.edu
> http://granular.che.pitt.edu
> _______________________________________________
> iPAQ mailing list
> iPAQ@handhelds.org
> http://handhelds.org/mailman/listinfo/ipaq
> irc://irc.openprojects.net #ipaq
>
Received on Mon Jan 7 12:19:24 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:20 EDT