Kodi Community Forum

Full Version: [SOLVED] Remote not working after update
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

Did an update today of my Kodibuntu (remote from my work).
After coming home I started the HTPC and wanted to watch a movie. There I noticed, that my remote is not working anymore.
I don't have an idea what exactly is the problem.

I updated the following packages:

Code:
Start-Date: 2015-03-31  13:49:59
Commandline: apt-get dist-upgrade
Install: linux-image-extra-3.13.0-48-generic:amd64 (3.13.0-48.80, automatic), linux-image-3.13.0-48-generic:amd64 (3.13.0-48.80, automatic), linux-headers-3.13.0-48:amd64 (3.13.0-48.80, automatic), linux-headers-3.13.0-48-generic:amd64 (3.13.0-48.80, automatic)
Upgrade: initscripts:amd64 (2.88dsf-41ubuntu6, 2.88dsf-41ubuntu6.1), python3-problem-report:amd64 (2.14.1-0ubuntu3.7, 2.14.1-0ubuntu3.8), linux-headers-generic:amd64 (3.13.0.46.53, 3.13.0.48.55), libgnutls-openssl27:amd64 (2.12.23-12ubuntu2.1, 2.12.23-12ubuntu2.2), libegl1-mesa:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), libopenvg1-mesa:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), libegl1-mesa-drivers:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), libarchive13:amd64 (3.1.2-7ubuntu2, 3.1.2-7ubuntu2.1), oscam-svn:amd64 (1.20.9238+svn201503230301~ubuntu14.04.1, 1.20.9243+svn201503310401~ubuntu14.04.1), libgl1-mesa-dri:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), libglapi-mesa:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), mesa-vdpau-drivers:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), kodi:amd64 (14.1~git20150130.1238-final-0trusty, 14.2~git20150327.1058-final-0trusty), kodi-bin:amd64 (14.1~git20150130.1238-final-0trusty, 14.2~git20150327.1058-final-0trusty), libgl1-mesa-glx:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), libxatracker2:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), sysv-rc:amd64 (2.88dsf-41ubuntu6, 2.88dsf-41ubuntu6.1), libwayland-egl1-mesa:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), libgnutls26:amd64 (2.12.23-12ubuntu2.1, 2.12.23-12ubuntu2.2), libgbm1:amd64 (10.1.3-0ubuntu0.3, 10.1.3-0ubuntu0.4), apport:amd64 (2.14.1-0ubuntu3.7, 2.14.1-0ubuntu3.8), sysvinit-utils:amd64 (2.88dsf-41ubuntu6, 2.88dsf-41ubuntu6.1), python3-apport:amd64 (2.14.1-0ubuntu3.7, 2.14.1-0ubuntu3.8), linux-libc-dev:amd64 (3.13.0-46.79, 3.13.0-48.80), unattended-upgrades:amd64 (0.82.1ubuntu2.1, 0.82.1ubuntu2.2), linux-image-generic:amd64 (3.13.0.46.53, 3.13.0.48.55), linux-generic:amd64 (3.13.0.46.53, 3.13.0.48.55)

I already booted the old kernel, 3.13.0-46-generic, which makes no difference.
I'm able to control Kodi via Yatse without any problem.

Therefore I checked If the IR Receiver did receive the commands, which is actually the case:

Code:
root@kodi:~# irw /dev/lircd
ffff22040f800000 00 KEY_OK MCE
ffff22040f800000 00 KEY_OK MCE
ffff1f040f800000 00 KEY_DOWN MCE
ffff1f040f800000 00 KEY_DOWN MCE
ffff20040f800000 00 KEY_LEFT MCE
ffff21040f800000 00 KEY_RIGHT MCE
ffff20040f800000 00 KEY_LEFT MCE

Also I checked if my configs have changed, which are not. Here they are:

Lircd hardware.conf --> http://paste.ubuntu.com/10714248/
lircd.conf --> http://paste.ubuntu.com/10714251/
remote.xml --> http://paste.ubuntu.com/10714262/

Could someone please help me?

Here's the kodi Debug log when Pressing Exit Key

Code:
22:04:39 T:139639127730112   DEBUG: ------ Window Init () ------
22:04:39 T:139635904710400   DEBUG: webserver: request received for /jsonrpc
22:04:58 T:139639127730112   DEBUG: Previous line repeats 22 times.
22:04:58 T:139639127730112   DEBUG: LIRC: Update - NEW at 1599942:ffff23040f800000 00 KEY_EXIT MCE (KEY_EXIT)
22:04:58 T:139636084041472   DEBUG: webserver: request received for /jsonrpc
22:05:02 T:139635963459328   DEBUG: Previous line repeats 5 times.
22:05:02 T:139635963459328   DEBUG: Thread JobWorker 139635963459328 terminating (autodelete)
22:05:03 T:139635963459328   DEBUG: webserver: request received for /jsonrpc
22:05:03 T:139639127730112   DEBUG: Previous line repeats 1 times.
22:05:03 T:139639127730112   DEBUG: LIRC: Update - NEW at 1605813:ffff23040f800000 00 KEY_EXIT MCE (KEY_EXIT)
22:05:04 T:139639127730112   DEBUG: LIRC: Update - NEW at 1606360:ffff23040f800000 00 KEY_EXIT MCE (KEY_EXIT)
22:05:04 T:139639127730112   DEBUG: LIRC: Update - NEW at 1606760:ffff23040f800000 00 KEY_EXIT MCE (KEY_EXIT)
22:05:05 T:139635963459328   DEBUG: webserver: request received for /jsonrpc
22:05:05 T:139639127730112   DEBUG: Previous line repeats 1 times.
22:05:05 T:139639127730112   DEBUG: LIRC: Update - NEW at 1607225:ffff23040f800000 00 KEY_EXIT MCE (KEY_EXIT)
22:05:05 T:139639127730112   DEBUG: LIRC: Update - NEW at 1607675:ffff23040f800000 00 KEY_EXIT MCE (KEY_EXIT)
22:05:06 T:139639127730112   DEBUG: LIRC: Update - NEW at 1608130:ffff23040f800000 00 KEY_EXIT MCE (KEY_EXIT)
22:05:06 T:139639127730112   DEBUG: LIRC: Update - NEW at 1608558:ffff23040f800000 00 KEY_EXIT MCE (KEY_EXIT)
22:05:06 T:139635963459328   DEBUG: webserver: request received for /jsonrpc

And once again:

Code:
root@kodi:/etc/lirc# irw /dev/lircd
ffff23040f800000 00 KEY_EXIT MCE

Code:
root@kodi:/etc/lirc# grep 23040F800000 /etc/lirc/lircd.conf
    KEY_EXIT                 0x23040F800000      # back
    KEY_BACK                 0x23040F800000      # back

Could someone tell me what is the problem?
Right compiled lirc with libirman from sources. The same result. All my checks saying the IR Receiver is doing right, but I still can't control Kodi.
This Problem must be related in Kodi 14.2

Anyone can help? Hometheater without an remote sucks hard.

Did also to move back to 14.1, but obviously did not find the right package version (did already searched into my apt/history and term.log):

root@kodi:/var/log/apt# apt-get install kodi=2:14.1~git20150130.1238-final-0trusty
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '2:14.1~git20150130.1238-final-0trusty' for 'kodi' was not found

Actually got the following packages:

root@kodi:/var/log/apt# dpkg -l|grep -i kodi
ii kodi 2:14.2~git20150327.1058-final-0trusty all Kodi Media Center (arch-independent data package)
ii kodi-bin 2:14.2~git20150327.1058-final-0trusty amd64 Kodi Media Center (binary data package)
ii kodibuntu-artwork 0.45 all artwork for KODIbuntu
ii kodibuntu-core 0.1.0~trusty all KODIbuntu Desktop environment - minimal installation
ii kodibuntu-default-session 0.39 all Set default session to Kodibuntu
ii kodibuntu-default-settings 0.39 all default settings for KODIbuntu
ii kodibuntu-initscripts 0.1.3~trusty all default init scripts for KODIbuntu
ii kodibuntu-live-settings 0.39 all default settings for KODIbuntu live ISO
ii plymouth-theme-kodibuntu-animated-logo 0.45 all animated plymouth theme for KODIbuntu
ii plymouth-theme-kodibuntu-logo 0.45 all plymouth theme for KODIbuntu
ii plymouth-theme-kodibuntu-text 0.45 all plymouth text theme for KODIbuntu
ii ubiquity-slideshow-kodibuntu 1.0.0~trusty all Ubiquity slideshow for KODIbuntu
Does the remote work if you exit Kodi and start Kodi again? Without restarting the mediacenter.
No.
Is this a bug?
Three things stand out to me.

1. IRW does not identify the name of your remote as the same one you have in lircd.conf.

If indeed you are using Lirc your remote should be identified by IRW with the name you gave it in lircd.conf

2. In addition, a good practice would have the name with no spaces.

3. Where is your Lircmap.xml? The name of your remote is specifically identified to kodi in that file.
Thanks for the tip.
Obviously really was a problem with the Lircmap.xml. Couldn't explain to myself why, because I didn't change anythink.
Did rename the Device in the lircd.conf to a name without space. Then added a Block with all necessarry commands in the Lircmap.xml with the new name.
Afterwards everythink works like a charm.

Thanks.