[edit]9/2/2009 New version, with working learn capability and lot's of cleanup.[/edit]
[edit]8/21/2009 Fixed Vista32 bug, added ability to transmit pronto codes (see this post).[/edit]
[edit]8/19/2009 dump bug fix in pronto transmission code fixed.[/edit]
[edit]8/18/2009 New version available. The attached version
- * Includes preliminary blaster support
* Can be installed from the plugin configuration, rather than separate msi (requires EventGhost 0.3.7.r1187, released today)
* Should work for both 32 and 64 bit Vista or Win7
See this post for details on the blaster capability.
[/edit]
The current MceRemote plugin relies on a dll that won't work on Vista/Win7 unless it is called with elevated privileges. This is a known problem, and it arises from the fact that Windows installs the IR receiver's driver with restricted access controls. For more detail, you can reference this thread or this one.
In order to solve this problem, I've followed the path MediaPortal took, which is to create a windows service that attaches to the driver. The service is installed and runs at elevated rights, so it can connect to the IR driver. Any received messages are then pushed out on a NamedPipe, which is created at "normal" privilege. A new EG plugin can then connect to this pipe to handle IR events.
One advantage of this is that I pass ANY ir signal to EG for processing, so using this service/plugin allows you to handle any remote, not just the MCE remote.
If you'd like to give it a try, unzip the attached file in you eg/plugins folder, install the included service from the msi (will require reboot), and enable the new plugin from with EG.
If you have any problems/suggestions, please post here.
Notes:
0) This should be considered beta code. It works well in my testing, but that only includes testing on one Win7 32 bit install. Source code for the service is included in the zip file.*
1) The service does not support "blasting" from the MCE remote.
2) Right now it forwards the power button as any other button press, so there is no sleep/suspend capability.
*I created the msi installer using WiX, which requires VS2008 standard/pro. Because of this, I did not included the installer (or the helper dll that removes/restores the CodeSetNum registry keys) with the source code.
Brett
