Kodi raspberry pi

Kodi need libcec 4.0.7. But in default repository libcec is 6.0.+

Kodi in the repo, should have been rebuilt for the new libcec.

What’s the output of pacman -Qi kodi?

:warning: not compatible with Kodi 18.x. Please use libCEC 4.0.7 instead.

Kodi doesn’t support libcec 6.0+, only 4.0.7

I’m still waiting on the output of the command I posted.

And would also like the output of kodi run from terminal.

[pi@raspberrypi4 ~]$ pacman -Qi kodi
Название             : kodi
Версия               : 18.8-1
Описание             : A software media player and entertainment hub for digital media
Архитектура          : aarch64
URL                  : https ://kodi.tv
Лицензии             : GPL2
Группы               : Нет
Предоставляет        : xbmc
Зависит от           : desktop-file-utils  hicolor-icon-theme  mesa  python2-pycryptodomex  python2-pillow
                   python2-simplejson  xorg-xdpyinfo  kodi-bin  sndio
Доп. зависимости     : afpfs-ng: Apple shares support [установлено]
                   bluez: Blutooth support [установлено]
                   python2-pybluez: Bluetooth support [установлено]
                   libplist: AirPlay support [установлено]
                   pulseaudio: PulseAudio support [установлено]
                   shairplay: AirPlay support [установлено]
                   upower: Display battery level [установлено]
Требуется            : kodi-bin
Опционально для      : Нет
Конфликтует с        : xbmc
Заменяет             : xbmc
Установленный размер : 35,29 MiB
Сборщик              : Furkan Kardame 
Дата сборки          : Пт 31 июл 2020 02:32:05
Дата установки       : Пн 24 авг 2020 23:53:49
Причина установки    : Явно установлен
Установочный скрипт  : No
Проверен             : Подпись

[pi@raspberrypi4 ~]$

It’s works, but I can’t control with the remote because of libcec 6.0.+

pi@raspberrypi4 ~]$ pacman -Qi kodi-bin
Название             : kodi-bin
Версия               : 18.8-1
Описание             : x11 kodi binary
Архитектура          : aarch64
URL                  : 
Лицензии             : GPL2
Группы               : Нет
Предоставляет        : Нет
Зависит от           : bluez-libs  curl  lcms2  libass  libbluray  libcdio  libcec  libmicrohttpd  libnfs  libpulse
                       libva  libvdpau  libxrandr  libxslt  lirc  mariadb-libs  python2  smbclient  taglib  tinyxml
                       kodi
Доп. зависимости     : Нет
Требуется            : kodi
Опционально для      : Нет
Конфликтует с        : Нет
Заменяет             : Нет
Установленный размер : 45,78 MiB
Сборщик              : Furkan Kardame 
Дата сборки          : Пт 31 июл 2020 02:32:05
Дата установки       : Пн 24 авг 2020 23:53:51
Причина установки    : Установлен как зависимость другого пакета
Установочный скрипт  : No
Проверен             : Подпись

@spikerguy Any ideas? Do we need to package libcec4 and make it a dependency of kodi?

Also libcec 6.0.+ doesn’t work:
no serial port given. trying autodetect: FAILED

Yeah, I see that the raspberry pi specific Kodi package from Arch ARM, uses a special libcec, while the regular Kodi package from Arch x64 does not.

1 Like

Are there any solutions?

Currently no, but will rebuilt it with internal libcec from the xmbc branch once there is a new update.

In the mean time you can try to compile it with internal libcec and see if that helps you.

Kodi pkgbuild can be found here

Let me know once you try it.