Hello all and thanks for any help.
In short I have a few Win 8 set to shell XBMC. I've recently added USB-UIRT's to them so that I can (hopefully) wake from sleep. The issue is the current driver for the USB-UIRT's does not gracefully resume from sleep on Win 8. The IR does wake the PC, however although the OS shows the device as normal, it is no longer accessible by the system or responsive (for example by EG, or by Jon's Lrnhelper). I've tagged Jon on this and hopefully he'll start addressing the current driver.
As a bridge fix until a proper driver, I've tried to wrap events using MS devcon to simulate the unplugging and replugging of the USB device. This, although quite clumsy, seems to do the job. Those needing the devcon.exe for Win 8 search down Windows Driver Kit (WDK) 8. The older version will not work on 8, at least in my testing.
So my problem is that on resume from sleep and processing the event to simulate the un/replug of the USB-UIRT, EventGhost restores and becomes the forefront most active window covering XBMC. I've tried to FindWindow and allow EG to detect itself and minimize itself but this has not been successful.
Here is a breakdown of my current process:
Signal initiate sleep by USB-UIRT
EG disables USB-UIRT plugin
Process sleep through XBMC control
...unit enters S3
Signal wake from sleep (IR / WOL)
Using taskschd detect power entry ID1 and executes bat file.
Bat file exits current instance of EG
Bat file simulates unplug and replug of USB-UIRT
Bat file launches new instance of EG using -h option
EG detects it has started from a resume and enables USB-UIRT plugin
When the HDMI display sync's I'm presented with a full screen XBMC and EG in front.
What is interesting is if I leave this condition as is and cycle through another sleep event, on the next wake EG is minimized. In looking at EG logs vs. Windows System logs, EG only detects every other cycle as a wake from S3 sleep. (Anyone else already tired of Win 8?)
So my first question is there any way to really suppress the EG GUI? If not perhaps this should be considered as a future command line option ... EGnoGUI or such.
Any thoughts on a workaround are great appreciated.
Many thanks,
Mark
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.