[solved] (Kodi issue) MCE Remote not working in 1.13pre. Worked fine in 1.12 (1 Viewer)

Stéphane Lenclud

Development Group
  • Team MediaPortal
  • April 29, 2013
    2,563
    1,288
    Germany Germany
    Country flag
    @edterbak You do get the Messages in the HID demo right? Screenshot of the Messages tab welcome.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    We thought that Mantis device could be our problem but now we see you have one too and it works for you.
    Note that the Mantis HID driver can be installed/configured with different mappings/modes. Only one of them is a MCE-compatible mode. The mode could make a difference.
     

    Stéphane Lenclud

    Development Group
  • Team MediaPortal
  • April 29, 2013
    2,563
    1,288
    Germany Germany
    Country flag
    We thought that Mantis device could be our problem but now we see you have one too and it works for you.
    Note that the Mantis HID driver can be installed/configured with different mappings/modes. Only one of them is a MCE-compatible mode. The mode could make a difference.
    So it does look like we are closing in on our issue then. @edterbak and @FrankBert Could you check your Mantis configuration then?
    Please do post screenshots.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    So it does look like we are closing in on our issue then.
    My comment was only meant to be informative. :)
    To be clear: I am saying that the Mantis HID driver may be causing the problem... or it may have nothing to do with it. I honestly don't know. The fact that edterbak's remote works and he has the Mantis HID driver running could be seen as evidence that the Mantis HID driver is not causing the problem. However, such evidence does not yet convince me to eliminate it as a possibility (because I have some feeling for how complex the driver is).

    Anyhow, the discussion you were looking for is here (note: team private development thread, not publicly accessible :) ):
    https://forum.team-mediaportal.com/threads/mp1-remote-event-handlers.128026/

    The code I referenced is here:
    https://github.com/MediaPortal/Medi...Plugins/TunerExtensions/Twinhan/RemoteControl

    I don't think the code does anything in relation to usage collections. In fact, I don't even know how to find out which collection a received usage belongs to. All I know is the usage itself, and the usage page. :)
     

    Stéphane Lenclud

    Development Group
  • Team MediaPortal
  • April 29, 2013
    2,563
    1,288
    Germany Germany
    Country flag
    Anyhow, the discussion you were looking for is here (note: team private development thread, not publicly accessible :) ):
    https://forum.team-mediaportal.com/threads/mp1-remote-event-handlers.128026/

    The code I referenced is here:
    https://github.com/MediaPortal/Medi...Plugins/TunerExtensions/Twinhan/RemoteControl
    Thanks I had confused that 0x89 usage collection with that terratec 0xffcc usage page.
    I just tried registering for that 0x89 usage collection and you get some low level messages it seems.
    I notably get messages when hitting digits, direction keys and ok button which you don't on the 0x88.
    Anyway that's off topic I guess.
     

    jreed5359

    Portal Member
    August 1, 2009
    9
    6
    United States of America United States of America
    I'm using the official Microsoft MCE RC6 Remote and running Windows 10. My setup worked great on MediaPortal v1.12 using the Microsoft MCE remote drivers. However, after
    upgrading to the latest MP v1.13 I noticed a bunch of my remote buttons stopped working, such as stop, play, ffw, rew, skip and replay. I found out that v1.13 removed support for the Microsoft MCE driver and now only supports the Generic HID driver. I searched here on the forums but didn't find anything that helped with my situation.

    I have since re-installed v1.12 so I can use the Microsoft MCE driver and everything works fine. Any suggestions on how I can get my Windows MCE remote working completely with the Generic HID driver so I can upgrade to v1.13?
     

    Crew

    Portal Pro
    April 24, 2007
    61
    0
    I have the same problem. My remote looks exactly like the image below running windows 7 and I have no green button function or back button. Very annoying.
     

    edterbak

    Test Group
  • Team MediaPortal
  • March 4, 2008
    2,114
    1,176
    Netherlands Netherlands
    Country flag

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    where can I find the config file you are looking for?
    It's not in a file. The configuration comes from the driver's inf file. When the driver is installed, the configuration is copied into the registry.

    From what I have seen the configuration is probably not intended to be modified by regular people like us. In some cases there are sparse comments in the inf files, but clearly we would not be expected to deal with that stuff. We would just install the driver and use it as-is. The vendor's driver engineer will customise the configuration for the remote and software that the vendor intends to bundle with the card... and that's it.

    You could try to find the configuration in your registry, but it will be slightly different locations for each system. In my case it is...

    Main tuner device:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0042

    HID device:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{745A17A0-74D3-11D0-B6FE-00A0C90F57DA}\0039

    The last part (0042, 0039) is the part that I think will be different.
    upload_2016-1-11_12-56-48.png


    upload_2016-1-11_12-57-4.png


    upload_2016-1-11_12-57-19.png


    upload_2016-1-11_12-45-34.png


    In the DriverData sub-folder you find the mapping. Each RC_Scancode_** key is a mapping for a remote key:
    upload_2016-1-11_12-47-6.png


    You can see various keys related to the remote control (IRSYSCODECHECK1, RC_Scancode, RC_Configuration etc.) in the screenshots above. I know what some of them mean/do, but it often depends on the driver/card (eg. TerraTec is different to AzureWave/Twinhan, which is different to TechniSat).

    Trying to understand and fiddle with all this stuff seems like a potentially huge time waster to me. In my opinion if you want to check if the Mantis HID device is making a difference, better to just uninstall or disable the driver.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    J MediaPortal TV Server and Kodi media source issues General 9
    T Mediaportal 1.18 on win 10 issue with Kodi as client server General Support 8
    A Keine Verbindung mit Kodi auf Server Allgemeines Support- und Diskussionsforum 11
    Saitan666 Umsteigerfrage von Kodi Einsteigerforum 14
    T How do I install the Kodi TVServer plugin General 8
    1 MP2 Einstieg Allgemeines Support- und Diskussionsforum 17
    fredco Kodi port IMDb+ 0
    olli14 Power scheduler settings for no shutdown as long as kodi client is online TV-Server 1
    Lehmden Kodi TV Plugin for various MP2 versions... General 26
    ge2301 Kodi Plugin for MP2 TV Server MediaPortal 2 11
    O Kodi Client tries to access wrong timeshift file Installation, configuration support 0
    R MP2 GUI Issues General 7
    morpheus_xx [WiP] WIP 2.3 Fanart issues? MediaPortal 2 13
    morpheus_xx [Help Me!] Build issues on TeamCity MediaPortal 2 1
    W Not finding/matching new series - thetvdb issue? My TVSeries 3
    J [fixed] Import issue with alternate movie title matching the name of another movie Submit: Bug Reports 7
    1gkar Latest Intel HD4600 Drivers Issue General Support 1
    J Odd issues with Freesat EPG - MP2 General 18
    DHosein Mediaportal & Antimalware Service High CPU issue General Support 2
    S Movie navigation issues in MP2 General 8
    cbr954rr Issue BOOTSUWRNQ with online videos? Plugin Development 1
    2BitSculptor MP1.23 release mediainfo issue? MediaPortal 1 Talk 4
    A TV Channel Combination - case issue Television (MyTV frontend and TV-Server) 0
    Edwardfc [solved] Mp 2.2.1 Configuration Issues - Goes to Sleep while playing Music General 6
    G Amazon Prime (Online Videos) Issue Plugin Development 6
    Top Bottom