Still can't get CEC working with Kodi on latest Bullseye Build

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
ISquishWorms
Posts: 32
Joined: Thu Jan 31, 2019 2:01 am

Still can't get CEC working with Kodi on latest Bullseye Build

Post by ISquishWorms »

Hello,

Ever since installing the latest build of Dietpi Bullseye on my Raspberry Pi 3 I am unable use my TV controller to navigate around Kodi. I have had a look within Kodi under the settings, system, peripherals and the list is empty CEC is not listed. I have also done some searching and found various posts about CEC issues such as these:

viewtopic.php?t=8653&start=20
https://github.com/MichaIng/DietPi/issues/4613

I tried to roll back my Kernel as this was offered as a possible solution in one of the older posts I found but that did not help and Kodi would not even load after doing that.

What am I doing wrong or need to do to fix this? I am thinking about just restoring my backup and returning to Buster if this can not be fixed as Kodi was working fine prior to updating to Bullseye.

Thank you for any help with this matter.

ISquishWorms.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Still can't get CEC working with Kodi on latest Bullseye Build

Post by Joulinar »

Maybe following GitHub post could help https://github.com/MichaIng/DietPi/issues/4881
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
ISquishWorms
Posts: 32
Joined: Thu Jan 31, 2019 2:01 am

Re: Still can't get CEC working with Kodi on latest Bullseye Build

Post by ISquishWorms »

Hi Joulinar,

Thanks for the link and assistance. I followed the instructions and manged to get the TV CEC listing under the command line, but it still is not working in Kodi and not listed under peripherals. Maybe I need to try reinstalling Kodi?

Code: Select all

root@RaspberryPi-3:/usr/lib/arm-linux-gnueabihf# echo 'scan' | cec-client -s -d 1
opening a connection to the CEC adapter...
requesting CEC bus information ...
CEC bus information
===================
device #0: TV
address:       0.0.0.0
active source: no
vendor:        Samsung
osd string:    TV
CEC version:   1.3a
power status:  on
language:      eng


device #1: Recorder 1
address:       1.0.0.0
active source: no
vendor:        Pulse Eight
osd string:    CECTester
CEC version:   1.4
power status:  on
language:      eng
User avatar
MichaIng
Site Admin
Posts: 3514
Joined: Sat Nov 18, 2017 6:21 pm

Re: Still can't get CEC working with Kodi on latest Bullseye Build

Post by MichaIng »

A problem may be that Kodi was built against libcec6 from Bullseye, while that one (from Raspbian/Debian) is not compatible with RPi which is why you needed to downgrade to libcec4.

So I guess we'd need to rebuild Kodi against this downgraded libcec4 or wait for a libcec6 on the RPi repository: https://github.com/RPi-Distro/repo/issues/268
Post Reply