Kodi Community Forum

Full Version: Upgrade to Kodi gives remote key "bounce" issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am running XBMCbuntu Gotham 13.2 with a Harmony 650 remote setup with MCE keyboard commands and a genuine RC6 receiver.
To get this working initially I had to remove LIRC.
There is no other customisation and ir-keytable is not running.
This works fine.

If I try to go to KODI 14.0 I end up by getting multiple key repeats from the remote.

This happens if I do an apt-get install and upgrade on the same OS build or if I run Kodibuntu Live (after removing LIRC to get the remote working at all)
If I install ir-keytable on the Kodi-Live build I can see the spurious key presses.

Before I give up and run 13.2 forever can anyone point me at a possible solution ?

------------------------------------------------------------------------------------------------------------------------------------------------------

Let me answer my own question in case someone else has the same issue:

It in not possible to control Kodi 14.0 with a remote programmed as an MCE Keyboard with no other customisation, ( keymaps Lirc) as was possible in XBMC 13.2.

I have used this post as a starting point :

114124 (thread)

The Harmony 650 is programmed as a "Microsoft Media Centre PC".

RC6 Keytable looks like this :

Code:
# table rc6_mce, type: RC-6
0x800f0400 KEY_KP0
0x800f0401 KEY_KP1
0x800f0402 KEY_KP2
0x800f0403 KEY_KP3
0x800f0404 KEY_KP4
0x800f0405 KEY_KP5
0x800f0406 KEY_KP6
0x800f0407 KEY_KP7
0x800f0408 KEY_KP8
0x800f0409 KEY_KP9
0x800f040a KEY_DELETE
0x800f040b KEY_ENTER
0x800f040c KEY_KPSLASH                # Power
0x800f040d KEY_C                    # Left Meta, Start
0x800f040e KEY_MUTE
0x800f040f KEY_M                    # Info
0x800f0410 KEY_PAGEUP                # Volume Up
0x800f0411 KEY_PAGEDOWN                # Volume Down
0x800f0412 KEY_CHANNELUP
0x800f0413 KEY_CHANNELDOWN
0x800f0414 KEY_F                    # Fast forward
0x800f0415 KEY_R                    # Rewind
0x800f0416 KEY_PLAY
0x800f0417 KEY_RECORD
0x800f0418 KEY_PLAY
0x800f046e KEY_PLAYPAUSE
0x800f0419 KEY_X
0x800f041a KEY_DOT                # Skip Next            
0x800f041b KEY_COMMA            # Skip Previous
0x800f041c KEY_NUMERIC_POUND
0x800f041d KEY_BACKSPACE
0x800f041e KEY_UP
0x800f041f KEY_DOWN
0x800f0420 KEY_LEFT
0x800f0421 KEY_RIGHT
0x800f0422 KEY_ENTER                # Ok
0x800f0423 KEY_ESC                    # Back / Exit
0x800f0424 KEY_C
0x800f0425 KEY_TUNER
0x800f0426 KEY_EPG
0x800f0427 KEY_ZOOM
0x800f043a KEY_BRIGHTNESSUP
0x800f0446 KEY_TV
0x800f0447 KEY_AUDIO
0x800f0448 KEY_PVR
0x800f0449 KEY_CAMERA
0x800f044a KEY_VIDEO
0x800f044c KEY_LANGUAGE
0x800f044d KEY_TITLE
0x800f044e KEY_PRINT
0x800f0450 KEY_RADIO
0x800f045a KEY_SUBTITLE
0x800f045b KEY_RED
0x800f045c KEY_O                    # Green
0x800f045d KEY_YELLOW
0x800f045e KEY_Z                    # Blue
0x800f0465 KEY_POWER2
0x800f046e KEY_PLAYPAUSE
0x800f046f KEY_MEDIA
0x800f0480 KEY_BRIGHTNESSDOWN
0x800f0481 KEY_PLAYPAUSE

Many keys in that keytable are not used in my minimal implementation.

There is no other mapping in Kodi and LIRC has been removed.

The KEY_STOP was changed to KEY_X as that is broken in 14.0 and has been reported by many users in this forum.

That works for me at present.
I have installed 14.0 on my XBMCbuntu build but now this is running I will migrate to KODIbuntu using the Backup Addon to preserve settings.
Hi Alec,

I managed to change my rc_keymap but can't seem to:
1. see any changes in XBMC
2. load the rc table at startup

Can you give me any pointers?
Hi.
I used this thread for reference :
114124 (thread)

Copy the base keymap to /etc/rc_keymaps and edit the copy.

Then reload the keytable :

ir-keytable -c -w /etc/rc_keymaps/rc6_mce

and test it:

ir-keytable -t

Then you need to reload it when you boot the system. See the thread I quoted above to set that up.
Thanks, I did just that, but the commands don't seem to reach Kodi Sad
Do you see the key presses in ir-keytable -t ?
Have you removed lirc ?

Use the kodi log to see key presses in kodi .

rgds