Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Windows Mobile / October 2009

Tip: Looking for answers? Try searching our database.

Backlight Control on WM5 devices

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ralf Stockmann - 03 Feb 2007 14:43 GMT
Hi,
I am trying to dimm the backlight programmatically.
On many devices it can be done by changing the specific Registry key
followed by setting the BackLightChangeEvent or SDKBackLightChangeEvent.

However on a number of newer devices, (Dell Axims, Asus Mypals and others)
this does not work.

So my question is...
How can I figure out the name of the event?
Is it possible to enumerate Event names?
What way I need to take to find out how this can be done on newer machines?

Your help is highly appreciated.
Best regards from Germany.
Barry Bond [MS] - 04 Feb 2007 13:42 GMT
I think the recommended solution is to call SetPowerRequirement for device
bkl1: to set it to D0.  See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html
/wce50lrfSetPowerRequirement.asp

for the API docs and http://msdn2.microsoft.com/en-us/library/aa455153.aspx 
for a small sample.

Barry

> Hi,
> I am trying to dimm the backlight programmatically.
[quoted text clipped - 12 lines]
> Your help is highly appreciated.
> Best regards from Germany.
Ralf Stockmann - 04 Feb 2007 16:34 GMT
Hi Barry,

Great Newsgroup thank you for the fast answer.

However,
that's the digital On/Off method.

I am looking for a solution to dimm the backlight, bright light during day,
darker (but not off) during night.

Please - if there is anybody out there, who managed to accompish this task -
I'd appreciate any advice very much.

Thanks to everybody.

Best regards,
Ralf.

> I think the recommended solution is to call SetPowerRequirement for device
> bkl1: to set it to D0.  See
[quoted text clipped - 20 lines]
> > Your help is highly appreciated.
> > Best regards from Germany.
<ctacke/> - 05 Feb 2007 00:07 GMT
There's no standard API for backlight control.  Your best bet is to try to
mimic the control panel on the device - it might be a driver call, it might
be an event, it might be registry-tied.

Signature

Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

> Hi Barry,
>
[quoted text clipped - 44 lines]
>> > Your help is highly appreciated.
>> > Best regards from Germany.
Ralf Stockmann - 05 Feb 2007 02:16 GMT
"There's no standard API for backlight control."
Absolutely.

"Your best bet is to try to mimic the control panel on the device - it might
be a driver call, it might be an event, it might be registry-tied."
Agreed. Looks like you rephrased my question but in a much more nailing
manner. Thank you.

Can anybody give some advice? Backlight control panel is (normally)
protected in ROM. How to get the function prototype for testing?

I am sure there must be somebody who did make this work, at least for a
handfull of the "non-standard" PDA's.

Thank you for your help.

Best regards,
Ralf.

> There's no standard API for backlight control.  Your best bet is to try to
> mimic the control panel on the device - it might be a driver call, it might
[quoted text clipped - 48 lines]
> >> > Your help is highly appreciated.
> >> > Best regards from Germany.
<ctacke/> - 05 Feb 2007 03:15 GMT
Therein lies the rub.  It varies from device to device, and searching the
archives is a good start, then seeing if the OEM can provide any help is a
good next step.  I'm not a lot of help, as I personally do most of my work
on generic CE devices where I have the docs on the backlight and don't care
about cross device compatibility.

Signature

Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

> "There's no standard API for backlight control."
> Absolutely.
[quoted text clipped - 70 lines]
>> >> > Your help is highly appreciated.
>> >> > Best regards from Germany.
simi b - 18 Sep 2008 12:19 GMT
I have an application that modifies the brightness setting value in the
registry file and sends a "BackLightChangeEvent" named event to the system, notifying of this change. In doing this, the device didnt respond
by  changing the brightness to the specified registry setting.
I also tried sending the named
event "SDKBackLightChangeEvent" with no effect.

Does anyone know what I need to do to have the  device adjust the brightness setting to my specified value? Is there a way to find
the possible named event that the device uses for this?
Durga K - 28 Oct 2009 21:36 GMT
hi

I am trying to set the screen brightness to maximum through the program on Dell Axim x50.
Changing the reistry value does not have any impact on the Brightness. Does anyone know how to do it on Dell X50?

Thanks
~DK

Event name for signalling that device backlight setting has changed?
18-Sep-08

I have an application that modifies the brightness setting value in the
registry file and sends a "BackLightChangeEvent" named event to the system, notifying of this change. In doing this, the device didnt respond
by  changing the brightness to the specified registry setting.
I also tried sending the named
event "SDKBackLightChangeEvent" with no effect.

Does anyone know what I need to do to have the  device adjust the brightness setting to my specified value? Is there a way to find
the possible named event that the device uses for this?

Previous Posts In This Thread:

On Saturday, February 03, 2007 9:43 AM
RalfStockman wrote:

Backlight Control on WM5 devices
Hi
I am trying to dimm the backlight programmatically
On many devices it can be done by changing the specific Registry ke
followed by setting the BackLightChangeEvent or SDKBackLightChangeEvent

However on a number of newer devices, (Dell Axims, Asus Mypals and others
this does not work

So my question is..
How can I figure out the name of the event
Is it possible to enumerate Event names
What way I need to take to find out how this can be done on newer machines

Your help is highly appreciated
Best regards from Germany.

On Sunday, February 04, 2007 8:42 AM
Barry Bond [MS] wrote:

I think the recommended solution is to call SetPowerRequirement for device
I think the recommended solution is to call SetPowerRequirement for device
bkl1: to set it to D0.  See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html
/wce50lrfSetPowerRequirement.asp

for the API docs and http://msdn2.microsoft.com/en-us/library/aa455153.aspx
for a small sample

Barr

On Sunday, February 04, 2007 11:34 AM
RalfStockman wrote:

Hi Barry,Great Newsgroup thank you for the fast answer.
Hi Barry

Great Newsgroup thank you for the fast answer

However
that's the digital On/Off method

I am looking for a solution to dimm the backlight, bright light during day,
darker (but not off) during night

Please - if there is anybody out there, who managed to accompish this task -
I'd appreciate any advice very much

Thanks to everybody

Best regards
Ralf

"Barry Bond [MS]" wrote:

On Sunday, February 04, 2007 7:07 PM
wrote:

There's no standard API for backlight control.
There's no standard API for backlight control.  Your best bet is to try to
mimic the control panel on the device - it might be a driver call, it might
be an event, it might be registry-tied

--
Chris Tack
OpenNETCF Consultin
Managed Code in the Embedded Worl
www.opennetcf.co
-

On Sunday, February 04, 2007 9:16 PM
RalfStockman wrote:

"There's no standard API for backlight control."Absolutely.
"There's no standard API for backlight control.
Absolutely

"Your best bet is to try to mimic the control panel on the device - it might
be a driver call, it might be an event, it might be registry-tied.
Agreed. Looks like you rephrased my question but in a much more nailing
manner. Thank you

Can anybody give some advice? Backlight control panel is (normally)
protected in ROM. How to get the function prototype for testing

I am sure there must be somebody who did make this work, at least for a
handfull of the "non-standard" PDA's

Thank you for your help

Best regards
Ralf

"<ctacke/>" wrote:

On Sunday, February 04, 2007 10:15 PM
wrote:

Therein lies the rub.
Therein lies the rub.  It varies from device to device, and searching the
archives is a good start, then seeing if the OEM can provide any help is a
good next step.  I'm not a lot of help, as I personally do most of my work
on generic CE devices where I have the docs on the backlight and don't care
about cross device compatibility.

Signature

Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

Event name for signalling that device backlight setting has changed?
I have an application that modifies the brightness setting value in the
registry file and sends a "BackLightChangeEvent" named event to the system, notifying of this change. In doing this, the device didnt respond
by  changing the brightness to the specified registry setting.
I also tried sending the named
event "SDKBackLightChangeEvent" with no effect.

Does anyone know what I need to do to have the  device adjust the brightness setting to my specified value? Is there a way to find
the possible named event that the device uses for this?

EggHeadCafe - Software Developer Portal of Choice
Quick and easy SHA1 Hash of a String
http://www.eggheadcafe.com/tutorials/aspnet/fae8f621-8937-44c6-8f9e-9eef3f2bbad1
/quick-and-easy-sha1-hash.aspx

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.