Guest dieter98 Posted January 7, 2005 Report Posted January 7, 2005 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 January 8, 2005 Report Posted January 8, 2005 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 Peter Foot Posted January 10, 2005 Report Posted January 10, 2005 This technique should work for all Smartphones - it allows you to add a power requirement to hold the backlight on full power while your app executes, when you release the handle it returns to the normal settings:- http://blog.opennetcf.org/pfoot/PermaLink....09-9e8009e75954 Peter
Guest gaplayer26 Posted January 10, 2005 Report Posted January 10, 2005 This technique should work for all Smartphones - it allows you to add a power requirement to hold the backlight on full power while your app executes, when you release the handle it returns to the normal settings:- http://blog.opennetcf.org/pfoot/PermaLink....09-9e8009e75954 Peter <{POST_SNAPBACK}> Is there a way to power off the backlight?
Guest dieter98 Posted January 11, 2005 Report Posted January 11, 2005 Is there a way to power off the backlight? <{POST_SNAPBACK}> set the registry value for backlight to 0 or 1 before release handle ?
Guest Peter Foot Posted January 20, 2005 Report Posted January 20, 2005 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 January 22, 2005 Report Posted January 22, 2005 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 ?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now