Re: LCD_Backlight
- From: "Voidcoder" <voidcoder@xxxxxxxxx>
- Date: Wed, 19 Apr 2006 10:28:57 +0200
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
.
- Prev by Date: Re: problem in IST event getting signalled by the OS
- Next by Date: Re: Installation of Networked Media Device Feature Pack
- Previous by thread: XXX_PowerUp and XXX_PowerDown Callback not coming on WinCE 5.0
- Next by thread: Re: LCD_Backlight
- Index(es):
Relevant Pages
|
Loading