Support for Hauppauge 35-buttons Remote Control DSR-0112 (1 Viewer)

teosoft

New Member
January 2, 2009
3
0
Home Country
Spain Spain
Started on: 2009-02-18
last update: 2009-02-18

Summary:

Hauppauge is shipping a new 35-buttons Remote Control (model no. DSR-0112) with their USB DVB-T cards. The new remote shares the codes of the 45-buttons remote but has a different remote code. I added support to this remote code but I don't know how to upload the modifications.

Area: Hardware - Remote Control

Description:

Adding support to this remote is as easy as adding a new remote code to RemotePlugins/Remotes/HcwRemote/HCWHelper/HCWHelper.cs. The differences between the original (Revision 21478) and my modified version are as follows:
Code:
***** HCWHelperOriginal.cs
   41:      private const int HCWPVR2 = 0x001E; // 45-Button Remote
   42:      private const int HCWPVR = 0x001F; // 34-Button Remote
***** HCWHELPER.CS
   41:      private const int HCWPVR2 = 0x001E; // 45-Button Remote
   42:      private const int HCWPVR2_35BUTTONS = 0x001D; // 35-Button Remote
   43:      private const int HCWPVR = 0x001F; // 34-Button Remote
*****

***** HCWHelperOriginal.cs
  294:              case HCWPVR2:
  295:                remoteCommand = keyCode + 2000;
***** HCWHELPER.CS
  295:              case HCWPVR2:
  296:              case HCWPVR2_35BUTTONS:
  297:                remoteCommand = keyCode + 2000;
*****

Also, I have added a new section to the XML file defining the remotes (MediaPortal\InputDeviceMappings\defaults\Hauppauge HCW.xml) to support this remote.

I am attaching HCWHelper.cs (zipped) and Hauppauge HCW.xml

Hope a developer could include it in the next release.
 

Attachments

  • Hauppauge HCW.xml
    30.6 KB
  • HcwHelper.zip
    30.6 KB

pbrightwell

New Member
April 27, 2009
2
0
Home Country
United Kingdom United Kingdom
Using HcwHelper.cs

I'm experiencing exactly the same problem as you were with the DSR-0112 Remote. I'm really pleased you've come up with a solution to the problem. I've download the HcwHelper.cs and the .xml document that you have posted. I've put the .xml file in the right folder and I now have the option to choose the 35 button remote. However I'm new to MediaPortal and C# and am unsure how use the .cs file.

I'm assuming the HcwHelper.cs replaces HcwHelper.exe in "C:\Program Files\Team MediaPortal\MediaPortal" after it has been compiled? I've tried compiling the .cs file but I get errors on line 31 "using MediaPortal.Configuration;" (also on lines 32, 33, 35 & 50).

I'd be really grateful if you could explain how I could get this working, it's driving me crazy!

Thanks in advance.
 

teosoft

New Member
January 2, 2009
3
0
Home Country
Spain Spain
I don't know why it is not compiling. Probably you tried to compile just the file instead of the whole HcwHelper. Nevertheless, since the developers don't seem to incorporate the patch to the MediaPortal distribution I am attaching my compiled version of the HcwHelper.

Hope this help.
 

Attachments

  • HcwHelper.rar
    30.6 KB

Paranoid Delusion

Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    teosoft

    Nothing but immediate fixes are getting put into code for 1.0.2 atm, so yes very viable addition, just not yet :)
     

    Noodleman

    Portal Member
    March 19, 2009
    10
    0
    Hi Guys,

    I am having the same issue with a new install for somebody else.

    They have this 35 button remote, however it isn't showing as a supported device in the config.

    Using media portal version 1.1.2.0

    I tried using the .xml file as above, however this isn't adding the option for the extra remote in the config.

    I also tried the .exe file, however when going into config hcwhelper.exe crashes over and over in a loop.

    I am using Windows 7 Ultimate x64 as the host system.

    Is there any work around for this, or will I need to install an older version and use the files attached to this thread?

    thanks
     

    radji

    New Member
    May 1, 2011
    1
    0
    Home Country
    United States of America United States of America
    How would I go about activating this remote to work with my built in CIR (ITECIR). Do I need to add part of the inf file to the HIDIR registry thread?
    ps: Windows 7
     

    Gioooow78

    Portal Member
    May 14, 2011
    13
    0
    43
    Home Country
    Netherlands Netherlands
    Somebody help on this one.... Just cánt figer out how to get this to work on windows 7....

    Ány help would be great!
     

    Users who are viewing this thread

    Similar threads

    I've been using version 1.2.2.0 for years and have found no need to upgrade to newer version. I hate it that skins loose compatibility with almost every new version. And new skins are too 'fancy' for my taste. I use a customized version of the default wide skin with only Videos and TV in the main menu. I use mediaportal for recording...
    I've been using version 1.2.2.0 for years and have found no need to upgrade to newer version. I hate it that skins loose...
    I've been using version 1.2.2.0 for years and have found no need to upgrade to newer version. I hate it that skins loose...
    Replies
    0
    Views
    161
    Here are a few details regarding my recent success with using EventGhost to handle the IR input from my remote and eliminate unwanted key repeats. Hopefully this will prove useful to others with a similar issue: I recently upgraded my HTPC to an i5 after an number of years using MePo v1 on a Core Duo. Although this was a fantastic...
    Here are a few details regarding my recent success with using EventGhost to handle the IR input from my remote and eliminate...
    Here are a few details regarding my recent success with using EventGhost to handle the IR input from my remote and eliminate...
    Replies
    0
    Views
    3K
    I think there is a wording question. but this does not help/fix your problem. In wiki 0 => "last" channel, if you watch 2 channels, you can press "0" to swap between the last 2 channels, on TV remotes this is "flashback", "recall" etc F7/F8 => previous/next channel, are go to next lower/higher channel number in your EPG group
    I think there is a wording question. but this does not help/fix your problem. In wiki 0 => "last" channel, if you watch 2...
    Hi, I am using Win 8.1, MP 1.7 with a Hauppauge remote 45 button. In parallel I have a Yamaha AV Receiver and there is the...
    Replies
    6
    Views
    943
    Add Support for Hauppauge 35-buttons Remote Control DSR-0112 http://mantis.team-mediaportal.com/view.php?id=3318 Open the issue in Mantis...
    Add Support for Hauppauge 35-buttons Remote Control DSR-0112 http://mantis.team-mediaportal.com/view.php?id=3318 Open the issue...
    Add Support for Hauppauge 35-buttons Remote Control DSR-0112 http://mantis.team-mediaportal.com/view.php?id=3318 Open the issue...
    Replies
    0
    Views
    627
    Sorry, life stuff got my attention elsewhere, but now my mind is back on this :cool: OK I post the suggestion in the Improvement Suggestions sub-forum later today (y) (when I get some free time after I've had time to make it look like I've done my fair share of home chores :whistle:) EDIT: Done, now I have posted it here Option for...
    Sorry, life stuff got my attention elsewhere, but now my mind is back on this :cool: OK I post the suggestion in the Improvement...
    JIRA MP1-4155 : Rework of DVBIP RTSP Filter https://issues.team-mediaportal.com/browse/MP1-4155 GIT branch...
    Replies
    649
    Views
    147K
    Top Bottom