I am testing new RPi 2 and new (only) OSMC_TGT_rbp2_20150202.img image.
CEC is somehow failing randomly (few seconds to few minutes) after boot. Here is all that I could find from Debug - which is not much:
osmc@osmc:~$ tail -n 1000 -f .kodi/temp/kodi.log | grep -i cec
12:50:44 T:3024531456 DEBUG: LoadMappings - loaded node "CEC Adapter"
12:50:44 T:3024531456 DEBUG: LoadMappings - loaded node "Pulse-Eight CEC Adapter"
12:50:44 T:3024531456 DEBUG: SECTION:LoadDLL(libcec.so.2)
12:50:44 T:3024531456 DEBUG: Loading: libcec.so.2
12:50:45 T:3024531456 DEBUG: GetMappingForDevice - device (2708:1001) mapped to CEC Adapter (type = cec)
12:50:45 T:3024531456 DEBUG: InitialiseFeature - using libCEC v2.2.0
12:50:45 T:3024531456 NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
12:50:45 T:2940658720 NOTICE: Thread CECAdapter start, auto delete: false
12:50:45 T:2940658720 DEBUG: OpenConnection - opening a connection to the CEC adapter: RPI
hdmi_ignore_cec_init=1
hdmi_force_cec_address=65535
12:50:46 T:2940658720 DEBUG: OpenConnection - connection to the CEC adapter opened
12:50:46 T:2903503904 NOTICE: Thread CECAdapterUpdate start, auto delete: false
12:50:48 T:2903503904 DEBUG: UpdateAudioSystemStatus - no CEC capable amplifier found
12:50:50 T:2884244512 DEBUG: OSMC PI hdmi_ignore_cec_init =
12:50:50 T:2884244512 DEBUG: OSMC PI hdmi_ignore_cec =
12:50:25 T:2928669728 DEBUG: PushCecKeypress - received key a8 duration 0
12:50:25 T:2928669728 DEBUG: PushCecKeypress - received key a8 duration 141
12:50:26 T:2928669728 DEBUG: PushCecKeypress - received key a8 duration 0
12:50:26 T:2928669728 DEBUG: PushCecKeypress - received key a8 duration 139
12:50:30 T:2928669728 DEBUG: PushCecKeypress - received key a7 duration 0
12:50:30 T:2928669728 DEBUG: PushCecKeypress - received key a7 duration 124
12:50:31 T:2928669728 DEBUG: PushCecKeypress - received key a9 duration 0
12:50:31 T:2928669728 DEBUG: PushCecKeypress - received key a9 duration 147
12:50:33 T:2928669728 DEBUG: PushCecKeypress - received key b duration 0
12:50:33 T:2928669728 DEBUG: PushCecKeypress - received key b duration 139
12:50:52 T:2903503904 DEBUG: Thread CECAdapterUpdate 2903503904 terminating
After this, there is absolutely nothing that I can do using TV remote. The only solution so far is to restart via ssh.
Iāve been using RPi B for some time now with raspbmc auto updated. Iāve never seen this kind of behaviour.
For testing I used:
- Two different Power Supplies
- Two different HDMI cables
- Two different HDMI ports on TV
I also tried restarting/powering off/on all/some devices - nothing changed.
Just to clarify, everything works fine on:
Old RPi 1 model B running on auto updated software, right now:
pi@raspbmc:~/.kodi/temp$ kodi --version
14.1 Git:2015-02-02-81c4046-dirty Media Center Kodi
Copyright (C) 2005-2013 Team Kodi - http://kodi.tv
ā¦connected to SHARP AQUOS LC 40LE830E and using standard TV Remote.
Please can you point me to some more verbose Debug mode. Or maybe there is some bug in current version of libcec. The weird thing is for example inconsistency in libCEC versions:
(...)
12:50:45 T:3024531456 DEBUG: InitialiseFeature - using libCEC v2.2.0
(...)
osmc@osmc:~$ dpkg -l | grep cec
ii rbp-libcec-osmc 2.1.4 armhf libcec
osmc@osmc:~$ dpkg -L rbp-libcec-osmc
/.
/usr
/usr/lib
/usr/lib/pkgconfig
/usr/lib/pkgconfig/libcec.pc
/usr/lib/libcec.la
/usr/lib/libcec.so.2.0.1
/usr/lib/libcec.a
/usr/bin
/usr/bin/cec-client
/usr/lib/libcec.so
/usr/lib/libcec.so.2
So I can see versions:
- 2
- 2.0.1
- 2.1.4
- 2.2.0
WTH?
Second - minor thing is that xbmc-send doesnāt work:
osmc@osmc:/usr/bin$ ./xbmc-send
Traceback (most recent call last):
File ā/usr/bin/xbmc-sendā, line 29, in
from xbmcclient import *
ImportError: No module named xbmcclient
It tries to: sys.path.append(āā¦/ā¦/lib/pythonā)
and there is no such directory.
This is minor bug and I am sure it will be corrected in near future