Re: LCD_Backlight



I would advice to not touch the system activity
timer directly. Better build a simple driver and
handle the power IOCTLs. You will need to
handle IOCTL_POWER_SET ioctl this way:

IOCTL_POWER_SET - D0 -> turn backlight on
IOCTL_POWER_SET - D1 -> turn backlight off


"Anurag" <Anurag@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:ADEEAC32-2DCE-4ABF-B45C-E83EC1BE1D1F@xxxxxxxxxxxxxxxx
Hello everybody,
I am trying to develop a screen saver like facility for my WINCE Image i.e,
after a predifined time of inactivity the LCD backlight should be OFF and
on some activity like a touch on the touchscren the backlight should get ON
I reffered the wince documentation "activity timer "and find that activity
timers can be used i.e, set an activity timer
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\ActivityTimers\SystemActivity]
"Timeout"=dword:A
"WakeSources"=multi_sz:"0x20"


and the power manager handles the events.. Also the event can be handled via
driver. In my case I am using the wince full power management as it is. I am
a bit confused on the overall working as to how do i open a handle to the
reset event in a driver? once the timeout is done how do i turn off my
backlight?
In my target the backlight is located on a gpio and can be controlled via it
. Should i create a bcklight driver? if yes how to call the driver once the
timeout is done.
I would be highly obliged to recieve your guidance regarding
the same
Thankyou.

Ansh


.



Relevant Pages

  • Re: Power Management framework proposal
    ... A power policy management framework doesn't need a unified framework (I ... I can see that if things really are different then it's worth doing different things to control them. ... to have any ability to control the mode of anything at runtime requires that the code doing so must have specific knowledge of the driver in question. ... 50 35 quarter power to the backlight ...
    (Linux-Kernel)
  • Re: LCD_Backlight
    ... I am using the standard wince5.0 full power management.It is in the PM ... a backlight driver may use the pair of manual-reset events ... when i touch the screen it does not set the activity timer event and my ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problems Disabling Automatic Screen Off for Display Driver.
    ... Set the PM debugzones all on and show us some debug output around the time the backlight turns off. ... change power states via requests from Applications and due to Sleep ... We have three drivers in use, a Display Driver, Backlight Driver ... I installed a stub battery driver that should set ...
    (microsoft.public.windowsce.platbuilder)
  • Re: LCD_Backlight
    ... In my backlight driver Init function I create two events with thier names ... when i touch the screen it does not set the activity timer event and my ... activity timer count initializes. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Fighting for the power.
    ... states support yet. ... Due to default LAPIC timer problems, enabling C3+ by default will make system dead by default. ... C1/C2 have practically zero exit latency, while power consumed by interrupt handler itself is miserable. ... I'd think the PCI "power no driver option" would disable the soft modem ...
    (freebsd-current)

Loading