XBMC 13.1 IR Remote stopped working after upgrade from 12.3 [SOLVED]
#1
Hello,
After update xbmc 12.3 to 13.1 my ir remote stopped working.
keys like vol_up,vol_down, chanel_up, channel_down are working, but due to my small remote I remapped numeric keys to use it as navigation on global section.

This configuration was working properly in 12.3

Info:
I'm using linux version of xbmc that comes from debian-multimedia
xbmc -v XBMC Media Center 13.1 Git:Unknown

when I type "irw" all ir remote keys are correctly recognized.

Here's my Lircmap.xml from (~/.xbmc/userdata/Lircmap.xml)
Code:
<lircmap>
    <remote device="devinupt">
        <one>KEY_1</one>
        <two>KEY_2</two>
        <three>KEY_3</three>
        <four>KEY_4</four>
        <five>KEY_5</five>
        <six>KEY_6</six>
        <seven>KEY_7</seven>
        <eight>KEY_8</eight>
        <nine>KEY_9</nine>
        <zero>KEY_0</zero>
        <volumeplus>KEY_VOLUMEUP</volumeplus>
        <volumeminus>KEY_VOLUMEDOWN</volumeminus>
        <channelplus>KEY_CHANNELUP</channelplus>
        <channelminus>KEY_CHANNELDOWN</channelminus>
        <mute>KEY_MUTE</mute>
        <power>KEY_POWER</power>
        <select>KEY_OK</select>
        <yellow>KEY_YELLOW</yellow>
        <record>KEY_RECORD</record>
        <stop>KEY_STOP</stop>
        <blue>KEY_BLUE</blue>
    </remote>
</lircmap>

here's my remote.xml (~/.xbmc/userdata/keymaps/remote.xml)
Code:
<keymap>
  <global>
    <remote>
    <zero>Number0</zero>
      <one>Number1</one>
      <two>Up</two>
      <three>Number3</three>
      <four>Left</four>
      <five>Select</five>
      <six>Right</six>
      <seven>Number7</seven>
      <eight>Down</eight>
      <nine>Back</nine>
      <volumeplus>VolumeUp</volumeplus>
      <volumeminus>VolumeDown</volumeminus>
    <channelplus>ChannelUp</channelplus>
    <channelminus>ChannelDown</channelminus>
    <mute>Mute</mute>
    <power>XBMC.ActivateWindow(shutdownmenu)</power>
    <select>Select</select>
    <yellow>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</yellow>
    <record>XBMC.ActivateWindow(pvrosdchannels)</record>
    <stop>XBMC.ActivateWindow(pvrosdguide)</stop>
    <blue>Back</blue>
    </remote>
  </global>
</keymap>

I tryed to solve this problem by myself, but I didn't have lucky.

some grep's from xbmc.log:
$ grep Lircmap .xbmc/temp/xbmc.log
22:28:17 T:140641823917984 INFO: Loading special://xbmc/system/Lircmap.xml
22:28:17 T:140641823917984 INFO: Loading special://profile/Lircmap.xml

$ grep remote.xml .xbmc/temp/xbmc.log
22:28:17 T:140641823917984 INFO: Loading special://xbmc/system/keymaps/remote.xml
22:28:17 T:140641823917984 INFO: Loading special://masterprofile/keymaps/remote.xml
22:28:17 T:140641823917984 INFO: Loading special://profile/keymaps/remote.xml

output from xbmc.log when I press remote keys:
Code:
22:28:18 T:140641052915456   DEBUG: CPVRTimers - Update - updating timers
22:28:18 T:140641823917984   DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------
22:28:19 T:140641139472128   DEBUG: CZeroconfAvahi::groupCallback: Service successfully established
22:28:23 T:140641823917984   DEBUG: Previous line repeats 1 times.
22:28:23 T:140641823917984   DEBUG: LIRC: Update - NEW at 5987:0000000080010007 00 KEY_6 devinput (KEY_6)
22:28:23 T:140641823917984   DEBUG: ------ Window Deinit (Pointer.xml) ------
22:28:24 T:140641823917984   DEBUG: LIRC: Update - NEW at 7258:0000000080010005 00 KEY_4 devinput (KEY_4)
22:28:26 T:140641823917984   DEBUG: ------ Window Init (Pointer.xml) ------
22:28:29 T:140641823917984   DEBUG: LIRC: Update - NEW at 11804:0000000080010007 00 KEY_6 devinput (KEY_6)
22:28:30 T:140641823917984   DEBUG: LIRC: Update - NEW at 12807:0000000080010007 00 KEY_6 devinput (KEY_6)
22:28:30 T:140641823917984   DEBUG: LIRC: Update - NEW at 13057:0000000080010007 00 KEY_6 devinput (KEY_6)
22:28:31 T:140641823917984   DEBUG: LIRC: Update - NEW at 13825:0000000080010007 00 KEY_6 devinput (KEY_6)
22:28:31 T:140641823917984   DEBUG: LIRC: Update - NEW at 14360:0000000080010005 00 KEY_4 devinput (KEY_4)
22:28:32 T:140641823917984   DEBUG: LIRC: Update - NEW at 14861:0000000080010005 00 KEY_4 devinput (KEY_4)
22:28:32 T:140641823917984   DEBUG: UPower: Received an unknown signal DeviceChanged
22:28:33 T:140641823917984   DEBUG: ProcessMouse: trying mouse action leftclick
22:28:33 T:140641823917984   DEBUG: Activating window ID: 10111
22:28:33 T:140641823917984   DEBUG: ------ Window Init (DialogButtonMenu.xml) ------
22:28:33 T:140641823917984    INFO: Loading skin file: DialogButtonMenu.xml, load type: KEEP_IN_MEMORY
22:28:33 T:140641823917984   DEBUG: Load DialogButtonMenu.xml: 4.00ms
Reply
#2
Ive excatly the same issue after upgrade someone maybe find a solution?
Reply
#3
XBMC from debian-multimedia is a weird LibAV build that Debian made. We generally speaking do not support it here.
Reply
#4
Shouldn't the remote.xml have the line "<remote device="devinput">" instead of just "remote" ?
Learning Linux the hard way !!
Reply
#5
Hello,
I would like to share my solution! It taked some time but after 3 months I back to old challange with remote so let me allow to present solution to you:

CAUSE:
after upgrade key codes was changed between xbmc versions so:
KEY_0 became KEY_NUMERIC_0,
KEY_1 -> KEY_NUMERIC_1
...and so on...

I changed in ir_keymap keycodes (if you are using LIRC change key codes in config file), and in Lircmap.xml changing all numeric KEY_ to KEY_NUMERIC as above example. After that my remote started to working in gotham sam as in froyo.

I hope that this solution will be useful for others.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC 13.1 IR Remote stopped working after upgrade from 12.3 [SOLVED]0