Jump to content

Recommended Posts

Guest dieter98
Posted

Im using an imate SP3.

The goal is to switch programmatically backlight on and off.

If I use registry settings , it works only after switch device off/on , but not when program is running.

I have this idea to turn on and off:

setting registry value

tell driver that value had changed ( event ??)

simulate a ( unused) keypress to make it work ( with value setted 1 or 99999)

I also want, that device will never fall in sleep modus, all time full powered.

Possible in VB.net ??

Guest gaplayer26
Posted
I also want, that device will never fall in sleep modus, all time full powered.

Possible in VB.net ??

<{POST_SNAPBACK}>

Hi, to prevent the device from going into standby you could try:

Declare Function SystemIdleTimerReset Lib "Coredll" () As Long 


Do 

.....whateva 


Z=SystemIdleTimerReset 'keep PocketPC on while we loop 


Loop

Here is the original thread:

http://forums.devbuzz.com/m_621/tm.htm

Not sure about the backlight, I've wanted to do the same but have not found a way (yet) as I believe backlight control is OEM specific :cry:

HTH

Guest dieter98
Posted
Is there a way to power off the backlight?

<{POST_SNAPBACK}>

set the registry value for backlight to 0 or 1 before release handle ?

  • 2 weeks later...
Guest Peter Foot
Posted
Is there a way to power off the backlight?

<{POST_SNAPBACK}>

Setting the required power level to off (D4) should do it unless other apps have requested a higher power state. Again release the handle when you've finished to restore the normal power policy.

Peter

Guest dieter98
Posted
Setting the required power level to off (D4) should do it unless other apps have requested a higher power state. Again release the handle when you've finished to restore the normal power policy.

Peter

<{POST_SNAPBACK}>

Does the setting to D4 or other settings than D0 has only effect to backlight or also to other behavior of SP ?

Maybee slower reaction to keypresses , running applications, cpu speed etc ?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.