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.

Hauppauge IR

Questions and comments specific to a particular plugin should go here.
razorspells
Posts: 2
Joined: Fri Oct 22, 2010 3:45 am

Re: Hauppauge IR

Post by razorspells »

Hi Prinz,

I have the same problem, I updated the drivers & app for Hauppauge 2250 and now EventGhost is reporting that it can't find "irremote.dll" but when I checked the WinTV directory it's actually there..

Please kindly help. Thanks a million.. :)
razorspells
Posts: 2
Joined: Fri Oct 22, 2010 3:45 am

Re: Hauppauge IR

Post by razorspells »

Found a solution. This is a quick fix. Apply this if you have just installed WinTV v7 CD 2.2b and Hauppauge plugin could NOT find irremote.dll

Tested on Windows XP
- Hauppauge 2250 with Remote
- WinTV v7 CD 2.2b (drivers & WinTV app)

I checked out the Hauppauge python script (__init__.py / line 347) under the plugin directory of EventGhost and it seems there is a mismatch on the registry key entries with WinTV V7 CD2.2b once installed.

So I made a registry patch based on the old "Hauppauge WinTV Infrared Remote" registry key entries which the Hauppauge Plugin detects. It's now working. This will NOT overwrite anything. It simply adds a registry key entry.

Usage: Extract the zip file to a directory, right click the reg file and select "Merge"

Notes:
- Registry patch assumes that your WinTV installation is on C:\Program Files\WinTV
- Restart EventGhost after applying the registry patch
Attachments
Hauppauge WinTV Infrared Remote Registry Patch.zip
(408 Bytes) Downloaded 670 times
estev
Posts: 1
Joined: Tue Dec 27, 2011 12:13 am

Re: Hauppauge IR

Post by estev »

unfortunately this does not seem to work, ive tried your registry key first, then edited it to point to my WinTV directory, but it still gives the same error, that it cant find the dll.
any suggestions?
therealbiglou
Experienced User
Posts: 126
Joined: Sat May 19, 2012 4:33 am

Re: Hauppauge IR

Post by therealbiglou »

Does anybody have a solution to this? I'd really love to use my Hauppauge remote with EG!
Petaflop
Posts: 1
Joined: Sun May 20, 2012 5:54 am

Re: Hauppauge IR

Post by Petaflop »

Hi,

I had this problem too, and short answer is I resolved it by reverting to the Hauppauge Live TV version that came on the CD (7.20A) that shipped with my HVR-2250.

I had been using 7.25c downloaded from Hauppauge. I reverted to the 7.20A while troubleshooting a problem with Sage TV.

Once I uninstalled 7.25c and reinstalled 7 .20A, the Hauppauge plugin works.

I hope this helps someone!
Bandenabos
Posts: 1
Joined: Wed Oct 31, 2012 4:56 pm

Re: Hauppauge IR

Post by Bandenabos »

Hi,

the patch solve the problem for me ... I used WinTV version 7.0.28

Thank you for this patch
registration
Posts: 3
Joined: Mon Nov 19, 2012 3:36 pm

Re: Hauppauge IR

Post by registration »

This plugin didn't work on my system (Windows 7 64 bits) with WinTV 7.0.30237 (CD 2.6) installed because it couldn't find irremote.dll.
I looked into C:\Program Files (x86)\EventGhost\plugins\HauppaugeIR\__init__.py and noticed it uses a registry key to determine in which folder irremote.dll might be. It looks for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Hauppauge WinTV Infrared Remote\UninstallString whereas on my system it should look for HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Hauppauge WinTV 7\UninstallString.

As a quick hack to make it work, I just changed these lines:

Code: Select all

            regHandle = _winreg.OpenKey(
                           _winreg.HKEY_LOCAL_MACHINE, 
                           'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Hauppauge WinTV Infrared Remote', 
                           0, 
                           _winreg.KEY_READ
                        )

            InstallString = _winreg.QueryValueEx(regHandle, 'UninstallString')[0]

            _winreg.CloseKey( regHandle )

            irremoteDir = InstallString.partition(' ')[0].rsplit('\\',1)[0]

            dllPath = os.path.join(irremoteDir, "irremote.DLL")
with a simple

Code: Select all

dllPath = "C:\Program Files (x86)\WinTV\irremote.DLL"
registration
Posts: 3
Joined: Mon Nov 19, 2012 3:36 pm

Re: Hauppauge IR

Post by registration »

This plugin didn't work on my system (Windows 7 64 bits) with WinTV 7.0.30237 (CD 2.6) installed because it couldn't find irremote.dll.
I looked into C:\Program Files (x86)\EventGhost\plugins\HauppaugeIR\__init__.py and noticed it uses a registry key to determine in which folder irremote.dll might be. It looks for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Hauppauge WinTV Infrared Remote\UninstallString whereas on my system it should look for HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Hauppauge WinTV 7\UninstallString.

As a quick hack to make it work, I just changed these lines:

Code: Select all

            regHandle = _winreg.OpenKey(
                           _winreg.HKEY_LOCAL_MACHINE, 
                           'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Hauppauge WinTV Infrared Remote', 
                           0, 
                           _winreg.KEY_READ
                        )

            InstallString = _winreg.QueryValueEx(regHandle, 'UninstallString')[0]

            _winreg.CloseKey( regHandle )

            irremoteDir = InstallString.partition(' ')[0].rsplit('\\',1)[0]

            dllPath = os.path.join(irremoteDir, "irremote.DLL")
with a simple

Code: Select all

dllPath = "C:\Program Files (x86)\WinTV\irremote.DLL"
registration
Posts: 3
Joined: Mon Nov 19, 2012 3:36 pm

Re: Hauppauge IR

Post by registration »

This plugin didn't work on my system (Windows 7 64 bits) with WinTV 7.0.30237 (CD 2.6) installed because it couldn't find irremote.dll.
I looked into C:\Program Files (x86)\EventGhost\plugins\HauppaugeIR\__init__.py and noticed it uses a registry key to determine in which folder irremote.dll might be. It looks for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Hauppauge WinTV Infrared Remote\UninstallString whereas on my system it should look for HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Hauppauge WinTV 7\UninstallString.

As a quick hack to make it work, I just changed these lines:

Code: Select all

            regHandle = _winreg.OpenKey(
                           _winreg.HKEY_LOCAL_MACHINE, 
                           'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Hauppauge WinTV Infrared Remote', 
                           0, 
                           _winreg.KEY_READ
                        )

            InstallString = _winreg.QueryValueEx(regHandle, 'UninstallString')[0]

            _winreg.CloseKey( regHandle )

            irremoteDir = InstallString.partition(' ')[0].rsplit('\\',1)[0]

            dllPath = os.path.join(irremoteDir, "irremote.DLL")
with a simple

Code: Select all

dllPath = "C:\Program Files (x86)\WinTV\irremote.DLL"
b_hermon
Posts: 1
Joined: Wed Nov 21, 2012 2:40 pm

Re: Hauppauge IR

Post by b_hermon »

"Registration" I might try your hack. You just paste your new line of code into "__init__.py" ?

Also, what I'm really wondering is... Everytime I install the WinTV software my computer goes haywire. Errors, crashing, etc. Long story short, I don't think it's optimized for Windows 8 64bit yet. So my question is... can I use this plugin and EventGhost without ever installing the WinTV software? Can I just download the irremote.dll file and use it along with this? Anybody know?

TIA
nevereven
Posts: 1
Joined: Fri Nov 30, 2012 5:55 am

Re: Hauppauge IR

Post by nevereven »

Thanks,
The registration hack worked for me. It's all working with a few small issues:
  • It seems to take a while for a button press to register.
    When pressing the buttons, I got a lot of false presses (wrong button number).
    When I press the large windows button in the middle, it still starts up Windows Media center instead of XBMC(win7).
If anyone has an idea on how to fix these annoyances, I'd appreciate it.
Post Reply