Remote stopped working after update
#1
Hi everyone.

I just updated my Ubuntu media center and now my Harmony remote stopped working. Except for power on...

The packages I installed/updated was: http://xbmclogs.com/puyqtyqdh

Here is the syslog from the last reboot: http://xbmclogs.com/p1qvlju1x

I also got a syslog from the 17th of March when everything was working perfectly: http://xbmclogs.com/paamkizrq

I can't seem to find any clues on the problem, but I am no Ubuntu expert so mayby one of you guys can help out. Further more at reboot I execute this script in order to enable the IR receiver
Code:
#!/bin/sh
modprobe -r nuvoton-cir
echo "auto" > "/sys/bus/acpi/devices/NTN0530:00/physical_node/resources"
modprobe nuvoton-cir
Do I need to update this?

Finally some system information.
HW: Intel NUC i3 (Haswell)
Ubuntu 14.04 LTS (Server Edition)
Kodi 15.0-Alpha2 from http://forum.kodi.tv/showthread.php?tid=...pid1429454

Any help is very much appriciated,
Jorgensen
Reply
#2
I did some more loging to help resolve my problem.

Code:
cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/10636059/
In this log I found this line:
Code:
[    11.883] (II) evdev: Nuvoton w836x7hg Infrared Remote Transceiver: Configuring as keyboard
Is that correct behaviour that your IR transceiver is configured as keyboard? Unfortunately, I don't know what it previously configured as.

I did not find anything usefull in the below logs. But I have attached them, if they are useful for someone else.

Code:
dmesg | pastebinit
http://paste.ubuntu.com/10636004/

Code:
cat ~/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/10636192/

Code:
DISPLAY=:0 vainfo | pastebinit
http://paste.ubuntu.com/10636064/

Code:
dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/10636069/

Code:
id | pastebinit
http://paste.ubuntu.com/10636070/

Code:
aplay -L | pastebinit
http://paste.ubuntu.com/10636074/
Reply
#3
Ive no clew here but suggest you try to work around that via this http://is.gd/a0Hf0e it works still with my old nuvoton-cir, see if that help any, adapting that solution to your OS now, try also with your workaround to set the adapter to auto and placing the kernel module permanently in /etc/modules after that and test.

If that doesnt work try http://forum.kodi.tv/showthread.php?tid=170372

and that's where I buck off..

Good job on all those logs fantastic post asking for support.
Reply
#4
First of all, thanks for your reply.

I was about to apply the changes you suggested but I decided to run apt-get update before. After the updates I noticed that the remote worked!!! I was very excited and rebooted to verify the remote was still working. But it wasn't...? I am so frustrated that I did not check if the remote worked before I applied the updates. Or saved the logs. So now I am not sure what made the remote work. Was it the updates? Or that I left the media center ON for the entire weekend? Before trying anything else I'll wait for tomorrow to check if the remote starts to work again.

The packages which were updated just in case:
Code:
Start-Date: 2015-03-23  21:51:02
Commandline: apt-get upgrade
Upgrade: 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),
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),
kodi:amd64 (15.0~git20150315.0500-efe9a21-0trusty, 15.0~git20150323.0500-a9c060a-0trusty),
kodi-bin:amd64 (15.0~git20150315.0500-efe9a21-0trusty, 15.0~git20150323.0500-a9c060a-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),
xbmc:amd64 (15.0~git20150315.0500-efe9a21-0trusty, 15.0~git20150323.0500-a9c060a-0trusty),
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),
tzdata:amd64 (2015a-0ubuntu0.14.04, 2015b-0ubuntu0.14.04),
linux-libc-dev:amd64 (3.13.0-46.79, 3.13.0-48.80)
End-Date: 2015-03-23  21:51:11
Reply
#5
None of those packages makes any difference to the remote.
Reply
#6
OK, I'll wait a couple of days to check if the remote starts to work again. And then check the log files. Thanks.
Reply
#7
I have found the problem and the solution... sort of.

It is somehow timing related.

When it fails I see this in ~/.kodi/temp/kodi.log:
Code:
17:55:16 T:139870366328576    INFO: LIRC Process: using: /dev/lircd
17:55:16 T:139870366328576    INFO: LIRC Connect: connect failed: No such file or directory
17:55:16 T:139870366328576    INFO: CRemoteControl::Process - failed to connect to LIRC, will keep retrying every 5 seconds

When it works it looks like this:
Code:
18:50:58 T:139942874470144    INFO: LIRC Process: using: /dev/lircd
18:50:58 T:139942874470144    INFO: LIRC Connect: successfully started

If I reboot the media center 10 times it probably works 5 of the times. However, I have also found a method which works everytime. If I exit Kodi from the main menu, Kodi restarts (NOT the media center, only Kodi) and then the IR remote always works again! However, this is cumbersome as I have to use my phone or tablet. So how do I delay Kodi from starting? Or wait for the IR transceiver to be initialized?
Reply
#8
there were some changes introduced to how lirc is handled in master try a newer build else if persists try compiling a build with https://github.com/xbmc/xbmc/pull/6612 reverted.

else I havent a clew.
Reply

Logout Mark Read Team Forum Stats Members Help
Remote stopped working after update0