Ubuntu Utopic (14.10) + Kodi 14: CEC not working, freeze on exit
#1
Hello everyone,

I got an upgraded XBMCBuntu / Kodibuntu (upgraded to Utopic 14.10) with Kodi installed. I've got problems with high cpu usage (one core always at 100%). Couldn't figure out until I unplugged my Pulse-Eight USB-CEC adapter. High cpu usage and freeze on exit problems solved, but (obviously) no CEC. CEC always worked before (on Ubuntu 12.10).

With USB-CEC adapter plugged in, Kodi shows an error on startup: "couldn't initialize CEC adapter, please check settings". The Peripherals option shows the available device with settings, but it has no effect, CEC not working.

This thread has two purposes:
1. to let people coping with high CPU usage find this thread and possibly solve their high CPU usage problem
2. to let people reply that have had the same problems and managed to fix this

Thank you in advance.
Reply
#2
make sure your libcec version is >=2.2.0. It available from our PPAs
Reply
#3
(2015-01-26, 10:27)wsnipex Wrote: make sure your libcec version is >=2.2.0. It available from our PPAs

Using these PPA's:
- https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa
- https://launchpad.net/~pulse-eight/+arch...ntu/libcec

Both libcec 2.2.0-2.

[edit]
Now at home:

Package: libcec
Priority: optional
Section: libs
Installed-Size: 50
Maintainer: Lars Op den Kamp <[email protected]>
Architecture: i386
Version: 2.2.0-2~utopic
Depends: libcec2 (= 2.2.0-2~utopic)
Filename: pool/main/libc/libcec/libcec_2.2.0-2~utopic_i386.deb
Size: 25262
MD5sum: d342195f2425d0361bc91140667d5ea8
SHA1: 7e9b8fde00303359f33b9c5e4209d2920319f67b
SHA256: d56e2348c9258e2c552621cff13ea70b1e0dc24b169d991727dfe57822ff09fb
Description-en: Meta package libcec.
Description-md5: 76931879e759c099cc7b30839f61518d
Reply
#4
This sounds similar to what I just experienced - I performed a fresh install of Ubuntu 14.10, installed Kodi and received the same CEC initialisation error as yourself.

Ran cec-client and it was spewing up permission denied errors - checked which user and group the device belonged to and found that is uses the dialout group. Added myself to that group, logged out and in again and XBMC picked up the CEC adapter straight away! Worth a check anyway.
Reply
#5
(2015-02-03, 00:40)phoenix427 Wrote: This sounds similar to what I just experienced - I performed a fresh install of Ubuntu 14.10, installed Kodi and received the same CEC initialisation error as yourself.

Ran cec-client and it was spewing up permission denied errors - checked which user and group the device belonged to and found that is uses the dialout group. Added myself to that group, logged out and in again and XBMC picked up the CEC adapter straight away! Worth a check anyway.

Thanks! I will check your solution in the near future.
Reply
#6
(2015-02-03, 00:40)phoenix427 Wrote: Ran cec-client and it was spewing up permission denied errors - checked which user and group the device belonged to and found that is uses the dialout group. Added myself to that group, logged out and in again and XBMC picked up the CEC adapter straight away! Worth a check anyway.

Hi there, I can also confirm similar.

- New install of Ubuntu 14.04.2 LTS ( lsb_release -a )
- Install of Kodi 15.0 from their repos ( kodi --version )
- Pulse 8 repos installed from ppa (sudo add-apt-repository ppa:pulse-eight/libcec )
- cec-client installed ( sudo apt-get install cec-utils )
- libCEC version 3.0.1 ( cec-client --info )
- not mandatory, but I created a new user in ubuntu (user kodi)

kodi was giving errors of "Pulse-Eight CEC adapter" "Couldn't initialise the CEC adapter. Please check..." (kodi display message)
Image

found the device and that it was using com port /dev/ttyACM0
$ cec-client -l | grep com\ port

checked the user and group
$ ls -l /dev/ttyACM0

crw-rw---- 1 root dialout 166, 0 Aug 2 13:23 /dev/ttyACM0

added this user to the dialout group
$ sudo usermod -aG dialout kodi

After this, kodi did recognise the CEC adaptor but complained about having old firmware (again, a kodi display message)
I looked to install cec-firmware-upgrade as found in another post, but this didn't exist in pulse 8's repos.

however... I've since found that there is nothing further to do... the CEC adaptor will update itself from kodi automatically, and this was confirmed in kodi menus.
(System Settings, System, Input Devices, Peripherals) shows the CEC Adapter Version libCEC 3.0.1 - firmware v5 (2015-01-27)
Reply



Logout Mark Read Team Forum Stats Members Help
Ubuntu Utopic (14.10) + Kodi 14: CEC not working, freeze on exit0
This forum uses Lukasz Tkacz MyBB addons.