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.

As far as the registry settings go the PM should do nothing, so I suspect something else is going on...

Did you get these registry settings from the device (using remote registry editor) or from platform.reg or from reginit.ini?


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Bradley Remedios wrote:
I have a platform running Windows CE 6.0 and am having some problems
having the Display Stay on (it is turning off automatically when I
don't want it to.)

We basically do not want any idle or inactivity timers to be used by
the Power Manager with regards to the display, we only wish for it to
change power states via requests from Applications and due to Sleep
and Sleep Resume.

We have three (3) drivers in use, a Display Driver, Backlight Driver
and Battery Driver.

The Display Driver starts up in D0, after being left idle the Power
Manager sets the Display Driver into D1 followed by D4.

The Backlight Driver is staying on as expected.

I installed a stub battery driver (from public tree) that should set
the Power Source as AC Line Online with a Battery State of full. I
originally thought that maybe having the Battery Support in (without
an actual battery driver) may be causing a problem (as the default
power state was battery scheme.) Adding in this battery driver has
the default power state as AC Scheme but there is unfortunately no
change to how the driver behaves.

Via the Control Panel:
Power Scheme says AC Power and Switch to User Idle, System Idle and
Suspend all say never.

Display Backlight has two checkboxes "Automatically turn off backlight
while on battery power" and "Automatically turn off backlight while on
external power" and neither of these are actually checked.

My Registry:
[HKEY_LOCAL_MACHINE\System\GDI\ROTATION]
"Angle"=dword:00

[HKEY_LOCAL_MACHINE\Drivers\Display\LCDC]
"DisplayPowerClass"=multi_sz:"{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"
"Width"=dword:280 ; 640
"Height"=dword:1E0 ; 480
"Bpp"=dword:10 ; 16bpp
"VRAMWidthInPixel"=dword:400
"VRAMHeightInPixel"=dword:1000
"VRAMaddress"=dword:23c00000
"VRAMBusWidth"=dword:20
"UpperMargin"=dword:21
"LowerMargin"=dword:A
"LeftMargin"=dword:2D
"RightMargin"=dword:11
"Vsync"=dword:1
"Hsync"=dword:5F
"PixelClock"=dword:17D7840

[HKEY_LOCAL_MACHINE\system\gdi\monitors]
"TOTAL MONITORS"=dword:1

[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="Display_DDI.dll"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power]
"BattPowerOff"=dword:0
"ExtPowerOff"=dword:0
"WakeupPowerOff"=dword:0
"ScreenPowerOff"=dword:0

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts]
"ACUserIdle"=dword:0
"ACSystemIdle"=dword:0
"ACSuspend"=dword:0
"BattUserIdle"=dword:0
"BattSystemIdle"=dword:0
"BattSuspend"=dword:0

[HKEY_CURRENT_USER\ControlPanel\Backlight]
"BatteryTimeout"=dword:0
"ACTimeout"=dword:0
"UseExt"=dword:0
"UseBattery"=dword:0

Thank you,
Brad.
.



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)
  • Problems Disabling Automatic Screen Off for Display Driver.
    ... having the Display Stay on (it is turning off automatically when I ... 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
    ... Better build a simple driver 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 ... and the power manager handles the events.. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Nvidia MCP55 Machine reboots on ixgb driver load
    ... There are some serious hardware compatibility issues with the ixgb mixing it with other cards on the same PCI-X bus, ... loading the driver with debug does not appear to produce ... 02:00.0 PCI bridge: NEC Corporation uPD720400 PCI Express - PCI/PCI-X Bridge ... ACPI: Power Button ...
    (Linux-Kernel)