This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Keep backlight on


Keep backlight on

Postby Dan East » Apr 26, 2004 @ 4:49pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby joshbu [MSFT] » Apr 26, 2004 @ 6:26pm

Good news, Bad news.

Good News:

On a standard CE system, SetSystemPowerState should do the trick (in pm.h)

Bad News:

PPC and SP might use a completely different power setup becuase all of the "standard" CE components are presented as "samples" for OEMs to override if they choose. So it might be there, it might not.

Good luck.

edit: cleanup errant UBB tag.
joshbu AT microsoft dot-you-know-where
Windows CE Software Design Engineer

“This posting is provided “AS IS” with no warranties, and confers no rights.”
joshbu [MSFT]
pm Member
 
Posts: 60
Joined: Apr 10, 2004 @ 12:28am
Location: Redmond, WA


Postby kornalius » Apr 28, 2004 @ 6:56pm

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby Dan East » Apr 28, 2004 @ 8:26pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby refractor » Apr 28, 2004 @ 8:55pm

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby joshbu [MSFT] » Apr 28, 2004 @ 8:59pm

joshbu AT microsoft dot-you-know-where
Windows CE Software Design Engineer

“This posting is provided “AS IS” with no warranties, and confers no rights.”
joshbu [MSFT]
pm Member
 
Posts: 60
Joined: Apr 10, 2004 @ 12:28am
Location: Redmond, WA


Postby sponge » Apr 28, 2004 @ 11:13pm

I know my BenQ pad and keyboard on my iPaq lights up the screen, if that helps narrow it down a little bit. Perhaps reverse engineering/disassembling can help you find something.
holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby Dan East » Apr 28, 2004 @ 11:52pm

Bingo. Fortunately a certain was released recently. After trying it out I noticed the backlight stays on during playback. Even more fortunate, the source code is available.

Basically the technique is to modify the registry, then set an event to tell the display driver to honor the new display settings. After a quick search for the event name (BackLightChangeEvent) used in BetaPlayer I found this:

http://msdn.microsoft.com/library/defau ... klight.asp

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Dan East » Apr 29, 2004 @ 2:44am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby mal » May 19, 2004 @ 12:37pm

mal
pm Member
 
Posts: 1
Joined: May 19, 2004 @ 12:26pm


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum