libCEC latest update on Ubuntu broke Kodi 17 CEC support

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Stinkysocks Offline
Junior Member
Posts: 7
Joined: Dec 2015
Reputation: 0
Exclamation  libCEC latest update on Ubuntu broke Kodi 17 CEC support
Post: #1
As of latest Ubuntu libCEC driver upgrade to version 3.1.0.1~trusty Kodi 17 Alpha 1 will stop working with CEC support. Solution until developers fix this issue is to force downgrade on ubuntu to driver 3.0.1-1~trusty.

In case you dont know how to do this below you will find sollution:
apt-get install --reinstall libcec3=3.0.1-1~trusty

Enjoy
find quote
tulipo Offline
Junior Member
Posts: 5
Joined: May 2012
Reputation: 0
Post: #2
I have the same problem and i solve with your solution.

Ubuntu 14.04 with kodi 15.2 and Pulse height HDMI CEC-Adapter

Thanks again
find quote
Stinkysocks Offline
Junior Member
Posts: 7
Joined: Dec 2015
Reputation: 0
Post: #3
Your welcome. I am glad at least someone doesnt have to strugle finding sollution.

Anyhow here is how you can solvew this for any debian distribution (not just Ubuntu 14.04)

Get available version from apt cache:
apt-cache showpkg libcec

you will get something like this:
Reverse Depends:
libcec3:i386,libcec 2.2
libcec3:i386,libcec 2.2
libcec:i386,libcec
libcec3,libcec 2.2
libcec3,libcec 2.2
libcec3:i386,libcec 2.2
libcec3:i386,libcec 2.2
libcec2:i386,libcec 1.6
libcec2:i386,libcec 1.6
libcec:i386,libcec
libcec3,libcec 2.2
libcec3,libcec 2.2
libcec2,libcec 1.6
libcec2,libcec 1.6
Dependencies:
3.1.0.1~trusty - libcec3 (5 3.1.0.1~trusty) libcec:i386 (0 (null))
3.0.1-1~trusty - libcec3 (5 3.0.1-1~trusty) libcec:i386 (0 (null))
Provides:
3.1.0.1~trusty -
3.0.1-1~trusty -

Reverse Provides:
libcec3 3.0.1-1~trusty
libcec3 3.1.0.1~trusty
libcec2 2.2.0-2~trusty

check the version in bold trext

than just add wanted version after equal sign (=) in this command:
apt-get install --reinstall libcec3=add wanted version here

Enjoy
(This post was last modified: 2016-01-22 10:53 by Stinkysocks.)
find quote
tulipo Offline
Junior Member
Posts: 5
Joined: May 2012
Reputation: 0
Post: #4
I wrote 2 lines to the Pulse-eight website giving my debug log from kodi. And they sayd that is a kodi bug that load libcec 3.0 instead libcec 3.

That's my log:


16:26:12 T:139952490837952 DEBUG: LoadMappings - loaded node "Motorola Nyxboard Hybrid"
16:26:12 T:139952490837952 DEBUG: LoadMappings - loaded node "CEC Adapter"
16:26:12 T:139952490837952 DEBUG: LoadMappings - loaded node "Pulse-Eight CEC Adapter"
16:26:12 T:139952490837952 DEBUG: LoadMappings - loaded node "iMON HID device"
16:26:12 T:139952490837952 DEBUG: CPeripheralBusUSB - initialised udev monitor
16:26:12 T:139952490837952 DEBUG: SECTION:LoadDLL(libcec.so.3.0)
16:26:12 T:139952490837952 DEBUG: Loading: libcec.so.3.0
16:26:12 T:139952490837952 ERROR: Unable to load libcec.so.3.0, reason: libcec.so.3.0: cannot open shared object file: No such file or directory
16:26:12 T:139952490837952 DEBUG: Dll libcec.so.3.0 was not found in path
16:26:12 T:139952490837952 ERROR: Initialise - failed to initialise bus cec
16:26:12 T:139952490837952 DEBUG: GetMappingForDevice - device (2548:1002) mapped to Pulse-Eight CEC Adapter (type = cec)
16:26:12 T:139951993607936 NOTICE: Thread PeripBusUSBUdev start, auto delete: false
16:26:12 T:139952490837952 DEBUG: SECTION:LoadDLL(libcurl.so.4)
16:26:12 T:139952490837952 DEBUG: Loading: libcurl.so.4
find quote
Stinkysocks Offline
Junior Member
Posts: 7
Joined: Dec 2015
Reputation: 0
Post: #5
Its actualy not a bug. By the time they compiled kodi, there was no 3.1 version of libcec yet. I believe they will add/fix the correct version in future releases. Until than we will be forced to help each other with workarounds Wink
(This post was last modified: 2016-01-24 09:02 by Stinkysocks.)
find quote
AlexKid Offline
Junior Member
Posts: 5
Joined: Apr 2014
Reputation: 0
Post: #6
Thank you very much
now CEC works again for me
find quote
andyxm715 Offline
Junior Member
Posts: 14
Joined: Nov 2015
Reputation: 1
Post: #7
just had the same problem with my pulse-eight Adapter when installing updates to Lubuntu, now working great with your solution.... thanks for posting your fix Smile
(This post was last modified: 2016-02-09 02:03 by andyxm715.)
find quote
tulipo Offline
Junior Member
Posts: 5
Joined: May 2012
Reputation: 0
Post: #8
I just update to kodi 16 Jarvis and still have this problem...
find quote
lakram Offline
Junior Member
Posts: 10
Joined: May 2011
Reputation: 0
Post: #9
Thanks I ran into this problem after upgrading to Jarvis. Thanks so much for posting a solution, it worked great for me!
find quote