none
Touch Screen Power Management on WinCE600 RRS feed

  • Question

  • Hi all,

    Is there any method to power off/on touch screen exclusive of entering suspend the system on Windows Embedded CE 6.0?

    Thanks a lot,

    Wednesday, August 24, 2011 2:15 PM

All replies

  • Touch screen, or do you mean display?  (touch screen is a hardware layer on top of the display)
    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Wednesday, August 24, 2011 2:35 PM
    Moderator
  • You can try this: get a pointer to the TouchPanelPowerHandler exported by the touch screen DLL and call it with the appropriate value for the 'bOff' parameter.

    0) TouchPanelPowerHandler exported by the touch screen DLL obviously should do the appropriate things

    1) You need to have a copy of the in user space if the calling code executes in user mode, i.e. in a .bib file:

      k.touch.dll       $(_FLATRELEASEDIR)\touch.dll  NK SHK
      touch.dll        $(_FLATRELEASEDIR)\touch.dll  NK SH

    2) I sincerly do not know if GWES internal state may be messed up since it's GWES that handles  TouchPanelPowerHandler

     


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com
    Wednesday, August 24, 2011 2:42 PM
  • I want to prevent the usage of touch screen (disable the tap events) on POWER_STATE_IDLE and to allow on POWER_STATE_ON. I hope I made myself clear. I suppose SetDevicePower can not be used. Is there other means?
    Wednesday, August 24, 2011 2:43 PM
  • Luca presents one way, you could also add a thread to your touch driver to monitor for an event and change power state.   Then in PM set the event as needed.

    Note:  The new touch architecture in Compact 7 adds more power handling for the touch driver than is available in CE 6.0 and before.


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Wednesday, August 24, 2011 3:18 PM
    Moderator