Forum

Full Version: CEC stopped working in Kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Software
XBian version:1.0 (knockout) (kernel: Linux 4.6.7+)
XBMC/Kodi version:17.0-BETA4 Git:2016-10-21-b8acb84
Overclock settings:default

Hardware
Device type and model (e.g. Raspberry Pi Model A/B 256/512 MB, CuBox-i i4Pro, ...):RPI 3
Power supply rating:Original power supply adapter
SD card size and make/type:16Gb
Network (Ethernet or wireless):Kodi using Ethernet; wireless adapter active too on different network
Connected devices (TV, USB, network storage, ...):Philips TV, External USB harddisks Seagate and Hitachi

Log files
Link to logfile(s):
13:09:22 52.201862 T:1827103664 DEBUG: GetMappingForDevice - device (2708:1001) mapped to CEC Adapter (type = cec)
13:09:22 52.205425 T:1827103664 ERROR: Detected version of libCEC interface (30001) is lower than the supported version 30100.


Problem description:
CEC used to work and is not working anymore (see error above in kodi.log).
At startup of Kodi it briefly displays same message on screen and basically I can not use the Phillips Remote Control to navigate Kodi. Also in System Settings menu of Kodi, Input -> Peripherals settings is grayed out so not available anymore.
I have had this problem since a few weeks, but I did not have the time yet to dig into it until now.

How to reproduce:
The error message always pops up briefly when (re)starting Kodi.
What I already tried is reinstalling CEC support following this (found in another thread in the forum):
--
sudo apt-get update
dpkg -l | grep cec # this lists all cec packages

sudo dpkg -r --force-all cec-utils libcec libcec-dev libcec3:armhf python-libcec # unstall all cec packages
, ignore everything
sudo apt-get install -f # Should reinstall all cec packages
--

Unfortunately it does not fix the problem.
I googled the error message for any leads, but no success so far.
So right now I don't know what to do to get it fixed.
Any help would be appreciated..

Thanks.
Required 3.1 CEC packages are in staging repo. So you have to enable this repo to get them

Terminal

apt-cache policy libcec
libcec:
Installed: 3.1.0.1~xbian-1462859882
Candidate: 3.1.0.1~xbian-1462859882
Package pin: 3.1.0.1~xbian-1462859882
Version table:
*** 3.1.0.1~xbian-1462859882 1001
500 mirror://apt.xbian.org/mirror.txt/ staging/rpi2-jessie armhf Packages
100 /var/lib/dpkg/status
3.0.1-1~xbian-1453442348 1001
500 mirror://apt.xbian.org/mirror.txt/ stable/rpi2-jessie armhf Packages
3.0.1-1~xbian-1438209384 1001
500 mirror://apt.xbian.org/mirror.txt/ stable/rpi2-jessie armhf Packages
3.0.1-1~xbian-1436247103 1001
500 mirror://apt.xbian.org/mirror.txt/ stable/rpi2-jessie armhf Packages
Problem is solved!
I added the staging repo in my xbian.list:
deb mirror://apt.xbian.org/mirror.txt stable main rpi2-jessie
deb mirror://apt.xbian.org/mirror.txt staging main rpi2-jessie
#deb mirror://apt.xbian.org/mirror.txt devel main rpi2-jessie

followed by:
sudo apt-get update
sudo apt-get upgrade
sudo reboot

Done


Thanks for the help; thread can be closed.
Set to solved
(22nd Oct, 2016 10:40 PM)Nachteule Wrote: [ -> ]Required 3.1 CEC packages are in staging repo. So you have to enable this repo to get them

Terminal

apt-cache policy libcec
libcec:
Installed: 3.1.0.1~xbian-1462859882
Candidate: 3.1.0.1~xbian-1462859882
Package pin: 3.1.0.1~xbian-1462859882
Version table:
*** 3.1.0.1~xbian-1462859882 1001
500 mirror://apt.xbian.org/mirror.txt/ staging/rpi2-jessie armhf Packages
100 /var/lib/dpkg/status
3.0.1-1~xbian-1453442348 1001
500 mirror://apt.xbian.org/mirror.txt/ stable/rpi2-jessie armhf Packages
3.0.1-1~xbian-1438209384 1001
500 mirror://apt.xbian.org/mirror.txt/ stable/rpi2-jessie armhf Packages
3.0.1-1~xbian-1436247103 1001
500 mirror://apt.xbian.org/mirror.txt/ stable/rpi2-jessie armhf Packages

I have used "devel" repo in order to install beta/rc versions of kodi. Now, what can i find on staging repo? bleeding edge alpha stuff?
We have 3 active repos:

1) Stable: Packages which are safe for use
2) Staging: mostly stable package, will be moved to stable soon
3) Devel: Development packages or new packages which have to be tested more. Use it for your own risk
What I read I really liked it. Thank you for your information!
192.168.l.0
With the help of this gadget, you can take one step toward a clutter-free living space while still providing a basic remote control for friends and family who might not be familiar with all of a professional remote control's features.
stumble guys
Reference URL's