v14 remote.xml not having any effect
#1
Hi,

I have a custom remote.xml file in my userdata/keymaps folder. It's for the TV remote wherein I've reassigned the colored buttons to some actions. Once I had to hard reboot my raspberry pi 2 because it was stuck. Since then the remote.xml is not having any effect.

Below is how my remote.xml looks, it was working perfectly fine so far.

Code:
<keymap>
    <FullscreenVideo>
     <green>ActivateWindow(SubtitleSearch)</green>
    </FullscreenVideo>
  <global>
    <universalremote>
          <blue>Info</blue>
          <yellow>ShowSubtitles</yellow>
     <green>ContextMenu</green>
     <red>ActivateWindow(Home)</red>
     <title>Back</title>
     <back>ActivateWindow(ShutdownMenu)</back>
    </universalremote>
  </global>
</keymap>

I enabled debug logging, looks like the file is being read but it doesn't have any effect.

Logs -

Code:
16:00:05 T:1969599008  NOTICE: special://profile/ is mapped to: special://masterprofile/
16:00:05 T:1969599008  NOTICE: -----------------------------------------------------------------------
16:00:05 T:1969599008  NOTICE: Starting Kodi (14.2 Git:7cc53a9). Platform: Linux ARM 32-bit
16:00:05 T:1969599008  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
16:00:05 T:1969599008  NOTICE: Kodi compiled Mar 31 2015 by GCC 4.9.2 for Linux ARM 32-bit version 3.18.10 (201226)
16:00:05 T:1969599008  NOTICE: Running on OpenELEC (official) - Version: 5.0.8, kernel: Linux ARM 32-bit version 3.18.10
16:00:05 T:1969599008  NOTICE: FFmpeg version: 2.4.6
16:00:05 T:1969599008  NOTICE: WARNING: unsupported ffmpeg version detected
16:00:05 T:1969599008  NOTICE: Host CPU: ARMv7 Processor rev 5 (v7l), 4 cores available
16:00:05 T:1969599008  NOTICE: ARM Features: Neon enabled
16:00:05 T:1969599008  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
16:00:05 T:1969599008  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
16:00:05 T:1969599008  NOTICE: special://masterprofile/ is mapped to: /storage/.kodi/userdata
16:00:05 T:1969599008  NOTICE: special://home/ is mapped to: /storage/.kodi
16:00:05 T:1969599008  NOTICE: special://temp/ is mapped to: /storage/.kodi/temp
16:00:05 T:1969599008  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
16:00:05 T:1969599008  NOTICE: Local hostname: OpenELEC
16:00:05 T:1969599008  NOTICE: Log File is located: /storage/.kodi/temp/kodi.log
16:00:05 T:1969599008  NOTICE: -----------------------------------------------------------------------
16:00:06 T:1969599008   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
16:00:06 T:1969599008  NOTICE: load settings...
16:00:06 T:1969583168  NOTICE: Thread FDEventMonitor start, auto delete: false
16:00:06 T:1969599008  NOTICE: Found 1 Lists of Devices
16:00:06 T:1969599008  NOTICE: Enumerated PI devices:
16:00:06 T:1969599008  NOTICE:     Device 1
16:00:06 T:1969599008  NOTICE:         m_deviceName      : HDMI
.
.
.
16:00:07 T:1969599008   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
16:00:07 T:1969599008    INFO: load default splash image: /usr/share/kodi/media/Splash.png
16:00:07 T:1969599008   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-arm.so)
16:00:07 T:1969599008   DEBUG: Loading: /usr/lib/kodi/system/ImageLib-arm.so
16:00:07 T:1969599008    INFO: load keymapping
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/appcommand.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/gamepad.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.Alienware.Dual.Compatible.Controller.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.AppleRemote.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.Interact.AxisPad.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.Logitech.RumblePad.2.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.Microsoft.Xbox.Controller.S.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.Nintendo.Wii.U.Pro.Controller.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.Ouya.Controller.xml
22:14:18 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.PS3.Remote.Keyboard.xml
22:14:19 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.PS4.Controller.xml
22:14:19 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.Sony.PLAYSTATION(R)3.Controller.xml
22:14:19 T:1969599008    INFO: Loading special://xbmc/system/keymaps/joystick.WiiRemote.xml
22:14:19 T:1969599008    INFO: Loading special://xbmc/system/keymaps/keyboard.xml
22:14:19 T:1969599008    INFO: Loading special://xbmc/system/keymaps/mouse.xml
22:14:19 T:1969599008    INFO: Loading special://xbmc/system/keymaps/remote.xml
22:14:19 T:1969599008    INFO: Loading special://xbmc/system/keymaps/touchscreen.xml
22:14:19 T:1969599008    INFO: Loading special://masterprofile/keymaps/remote.xml
22:14:19 T:1969599008    INFO: Loading special://profile/keymaps/remote.xml
22:14:19 T:1969599008    INFO: Loading special://xbmc/system/Lircmap.xml
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'mceusb'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'XboxDVDDongle'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'Microsoft_Xbox'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'PinnacleSysPCTVRemote'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'anysee'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'iMON-PAD'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'Antec_Veris_RM200'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'MCE_via_iMON'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'TwinHanRemote'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'linux-input-layer'
22:14:19 T:1969599008    INFO: * Linking remote mapping for 'linux-input-layer' to 'cx23885_remote'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'mediacenter'
22:14:19 T:1969599008    INFO: * Adding remote mapping for device 'devinput'
22:14:19 T:1969599008   DEBUG: CButtonTranslator::Load - no userdata Lircmap.xml found, skipping
22:14:19 T:1969599008    INFO: GUI format 1920x1080, Display 1920x1080 (1920x1080) @ 60.00 - Full Screen
22:14:19 T:1969599008   DEBUG: guilib: Fill viewport on change for solving rendering passes
22:14:19 T:1969599008   DEBUG: SECTION:LoadDLL(libcurl.so.4)
22:14:19 T:1969599008   DEBUG: Loading: libcurl.so.4
22:14:19 T:1969599008  NOTICE: Running database version Addons16
22:14:19 T:1969599008   DEBUG: Initialize, updating databases...
22:14:19 T:1969599008  NOTICE: Running database version ViewModes6
22:14:19 T:1969599008  NOTICE: Running database version Textures13
22:14:19 T:1969599008  NOTICE: Running database version MyMusic48
22:14:19 T:1877996608   DEBUG: OpenConnection - connection to the CEC adapter opened
22:14:19 T:1835975744  NOTICE: Thread CECAdapterUpdate start, auto delete: false

Full log on this link - http://xbmclogs.com/pzugykaeg
Reply
#2
Try this:
Code:
<keymap>
  <FullscreenVideo>
    <remote>
      <green>ActivateWindow(SubtitleSearch)</green>
    </remote>
  <FullscreenVideo>
  <global>
    <remote>
       <blue>Info</blue>
       <yellow>ShowSubtitles</yellow>
       <green>ContextMenu</green>
       <red>ActivateWindow(Home)</red>
       <title>Back</title>
       <back>ActivateWindow(ShutdownMenu)</back>
    </remote>
  </global>
</keymap>
I am assuming your keys are correct.
Reply
#3
Changing the tag from <universalremote> to <remote> fixes the issue. Thanks.

But then this configuration applies to the Yatse remote I have on my Android phone too. I want this configuration just for my TV remote, nothing else.

How do I specify that?
Reply

Logout Mark Read Team Forum Stats Members Help
remote.xml not having any effect0