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.

MCE Remote Plugin FAILED to open MCE IR Device (259)

If you have a question or need help, this is the place to be.
Post Reply
lesterw
Posts: 1
Joined: Sun Mar 03, 2013 12:10 pm

MCE Remote Plugin FAILED to open MCE IR Device (259)

Post by lesterw »

For two days now I have been going through each and every post on here desparately trying to get The Mcrosoft MCE Remote - Vista/Win7 to talk to EG. The Application event log is filled with:

An error has occurred (FAILED to open MCE IR Device (searched all devices in MceIrOpenUsbDevice) failed with (259) No more data is available.).


I started a new thread as the existing thread (viewtopic.php?f=2&t=1789) is quite dated and has been beaten to death (31 pages!) -with no definitive answer really provided. I'm hoping this thread will stay on topic and lead to a couple of things to check and conclude with a solution that others can benefit from.

Configuration
This is a new clean configuration just after Bootcamp drivers were installed.
Apple Mac Mini (late 2012 model)
Windows 7 Professional SP1 x64
EventGhost 0.4.1.r1610 - AppleIR1
Plugins: HID: Apple, Inc. IR Receiver; Task Create/Switch Events; Microsoft MCE Remote - Vista/Win7

I have tried deleting the CodeSetNum0-3 keys as suggested in this post (http://www.eventghost.org/forum/viewtop ... f=2&t=2444) as well as various other tweaks and tips along the way. I've never been able to reach the point where I can see any IR Remote events in the EG log. :(

INSTALLATION STEPS I FOLLOWED
  • Install EventGhost
  • Device Manager -> Human Interface Devices, right click Apple IR -> Update Driver -> Browse for Driver -> Let me pick -> USB Input Device
  • In EventGhost, start a new tree (File -> New)
  • Configuration -> Add Plugin -> Generic HID -> Pick the USB Input Device (Should be called Apple IR)
  • Configuration -> Add Plugin -> Other -> Task Create/Switch Events
  • Configuration -> Add Plugin -> Remote Receiver -> Microsoft MCE Remote - Vista/Win7
  • In the Microsoft MCE Remote - Vista/Win7 Plugin: Click Install Service button.
  • Configuration -> Add Folder -> Apple Remote Emulation
  • {At this point, I did not add any macros as I wanted to see if EG was receiving events}
  • Save EventGhost configuration
  • Set auto start EventGhost when machine starts in File -> Options
  • Reboot system (several times after trying various fixes, etc.)
I did notice just now in the EG log the following messages:

C:\Program Files (x86)\EventGhost\plugins\MceRemote_Vista\__init__.py:549: RuntimeWarning: Parent module 'eg.CorePluginModule.MceRemote_Vista' not found while handling absolute import from eg.WinApi.PipedProcess import ExecAsAdministrator
C:\Program Files (x86)\EventGhost\plugins\MceRemote_Vista\__init__.py:550: RuntimeWarning: Parent module 'eg.CorePluginModule.MceRemote_Vista' not found while handling absolute import from os.path import join, dirname
C:\Program Files (x86)\EventGhost\plugins\MceRemote_Vista\__init__.py:551: RuntimeWarning: Parent module 'eg.CorePluginModule.MceRemote_Vista' not found while handling absolute import import sys


This may be due to me trying over and over to get this to work. What would be helpful to understand is EXACTLY how the plugin module finds the device. I.e.,What is it looking for specifically when it refers to "(searched all devices in MceIrOpenUsbDevice)"? Knowing this might make it easier to identify and correct the problem. It is a starting point anyway. If someone out there has this working properly on a similar configuration, it may be helpful if you shared your registry settings under HKLM\SYSTEM\CurrentControlSet\Services\HidIr\ for comparison.

Thanks.
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: MCE Remote Plugin FAILED to open MCE IR Device (259)

Post by kkl »

Perhaps I missed it, but is there something that says that this plug-in is supposed to work with an Apple IR device?
Post Reply