Kodi Community Forum

Full Version: XBOX DVD Remote Whats Wrong???
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok so i followed this post on setting up the xbox dvd remote here: http://forum.xbmc.org/showthread.php?tid=45337 from the FAQ/HOWTO section, and after loading the xbmc.xml config file in eventhost i get this.....

Unhandled exception in WorkerThread <EventThread>:
Callers stack:
File "wx\_core.pyc", line 8010, in MainLoop
File "wx\_core.pyc", line 7306, in MainLoop
File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\__init__.py", line 345, in FuncWrapper
func()
File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\__init__.py", line 828, in OnCmdOpen
self.document.Open()
File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 353, in Open
self.StartSession(filePath)
File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 158, in StartSession
eg.eventThread.Call(eg.eventThread.StartSession, filePath)
Traceback (most recent call last) (1610):
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 326, in __DoOneEvent
self.HandleAction(action)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 289, in HandleAction
action()
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
self.returnValue = self.func(*self.args, **self.kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\EventThread.py", line 142, in StartSession
actionThread.Func(actionThread.StartSession, 120)(filename)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
self.returnValue = self.func(*self.args, **self.kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionThread.py", line 39, in StartSession
eg.document.Load(filename)
File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 143, in Load
xmlTree = ElementTree.parse(filePath)
File "<string>", line 45, in parse
File "<string>", line 32, in parse
SyntaxError: XML or text declaration not at start of entity: line 1, column 2
Traceback (most recent call last) (1610):
File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\__init__.py", line 345, in FuncWrapper
func()
File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\__init__.py", line 824, in OnCmdNew
self.document.New()
File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 333, in New
self.StartSession(None)
File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 157, in StartSession
eg.eventThread.Func(eg.eventThread.StopSession)()
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
self.returnValue = self.func(*self.args, **self.kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\EventThread.py", line 151, in StopSession
actionThread.Func(actionThread.StopSession, 120)()
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
self.returnValue = self.func(*self.args, **self.kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionThread.py", line 76, in StopSession
eg.document.autostartMacro.UnloadPlugins()
File "C:\Program Files (x86)\EventGhost\eg\Classes\AutostartItem.py", line 81, in UnloadPlugins
child.info.RemovePluginInstance()
File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 248, in RemovePluginInstance
delattr(eg.plugins, self.evalName)
AttributeError: XBMC2

If I load the XBCDRC plugin, EventGhost actually sees the dvd remote and is capturing the IR Blasts... (which is awesome, see below) but then when i run XBMC nothing happens when i push any buttons....

Plugin: XBCDRC
XBCD.DOWN
XBCD.DOWN
XBCD.UP
XBCD.UP
XBCD.LEFT
XBCD.RIGHT
XBCD.RIGHT

Any help is appreciated?





There are several tutorials now, but this one is quick and simple, and it uses EventGhost, which is recommended by the dev team.

First of all, I am assuming that you know how to connect your original Xbox DVD remote dongle to your USB port on your HTPC. This info is available elsewhere on this forum and on the Internet. Quickest way is an Xbox Controller to USB A Male adapter. (Check eBay...)

1) Download and install the remote drivers from RedCl0ud, version 0.28
http://www.redcl0ud.com/xbcd_rc.html#download

(for x64 drivers click here http://www.acidapple.com/veube/xbcdrc_x64.zip - thanks Veube!!! )

This program will install the "XBCD XBox Remote Control" device, but also leave an unknown "USB device" un-installed.

***note: Many have reported better results (with lag, timing, etc) if you disable the "USB device" that is left un-installed under "Other devices" section of device manager (right-click and disable). This may or may not be silly.

2) Download and install the latest Beta of EventGhost (0.3.7.x or later). It now includes the Xbox DVD Remote Control plugin (thanks to jinxdone and Bartman).
http://www.eventghost.org/downloads/

3) Download the XBMCrepeat plugin (thanks to jonib!)
This sends the actual remote buttons to XBMC, and works exactly like the remote did with the Xbox! Much better than the "official" XBMC plugin.
You need to create a directory called XBMCRepeat in the plugins dir where you installed EventGhost, and then put both "__init__.py" and "xbmcclient.py" files in it, then (re)start EventGhost.


4) Load EventGhost config. You can use my EventGhost XML config file here:
http://pastebin.com/Mppe2DpC
or here:
http://www.pastebin.ca/2023964
(copy text and save as XBMC.xml, copy file to \program files\EventGhost\ and open in EventGhost)
File -> open -> XBMC.xml

You're done! You should now have a working remote that controls XBMC for Windows with no further tweaking.

***Please note that this config file is set to run XBMC for Windows as soon as EventGhost runs.***
Just right-click on the "Start Program: XBMC.exe" action and check the "disable" box to change that.
I was struggling to get my old XBOX DVD remote working with Windows 8, since the xbcdrc driver didn't want to install properly.

Finally I found a working solution. I bought a cheap Lenovo RXX6000-40 receiver from eBay and activated MceRemote plugin in Eventghost. Now it was receiving events from the Lenovo but I noticed that the IR codes were different if I held the remote very close to the receiver. So I ended up adding double mappings like this: http://puu.sh/6FY0G.png. And now it works like in Windows 7!