Skip to content

Kodi cec kms-drm issues #259

@halfagascan

Description

@halfagascan

Clean install of FreeBSD 13.0-RELEASE-p4 amd64.
Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz NUC
Pulse eight usb adaptor.
Base installed, desktop-installer installed, kodi installed, some errors see bug PR 260490,
Kodi starts and runs, plays iptv channels, no issues. Just need to use a usb mouse to control.
As part of kodi install, libcec-6.0.2, gets installed.
As user:
echo 'scan' | cec-client -s -d 1
ERROR: [ 3553] error opening serial port '/dev/ttyU0': Permission denied

ls -all /dev/ttyU0 crw------- 1 root wheel 0x182 Dec 19 09:09 /dev/ttyU0

id uid=1001(jerry) gid=1001(jerry) groups=1001(jerry),0(wheel)

as root:
echo 'scan' | cec-client -s -d 1
opening a connection to the CEC adapter...
ERROR: [ 19932] failed to ping the adapter 3 times in a row. closing the connection.
Connection lost - trying to reconnect

requesting CEC bus information ...
ERROR: [ 40898] failed to ping the adapter 3 times in a row. closing the connection.
Connection lost - trying to reconnect

CEC bus information

device #0: TV
address: 0.0.0.0
active source: no
vendor: Unknown
osd string: TV
CEC version: unknown
power status: on
language: ???

device #1: Recorder 1
address: 1.0.0.0
active source: no
vendor: Unknown
osd string: Recorder 1
CEC version: unknown
power status: unknown
language: eng

Part of cec debug, much to long to post here:

CEC bus information

device #0: TV
address: 0.0.0.0
active source: no
vendor: Unknown
osd string: TV
CEC version: unknown
power status: unknown
language: ???

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
currently active source: unknown (-1)
Illegal instruction (core dumped)

ls -all -rw------- 1 root wheel 38088704 Dec 19 09:45 cec-client-6.0.2.core

And cec never connects to or sends to the tv
Some internet searching seems to suggest a bad hdmi cable, this same set works fine on linux.
Can anyone provide more troubleshooting advice or a fix?

Maybe this is related?
Pulse-Eight/libcec@8d5379d

pkg info libcec
libcec-6.0.2
Name : libcec
Version : 6.0.2
Installed on : Sun Dec 19 07:44:33 2021 CST
Origin : multimedia/libcec
Architecture : FreeBSD:13:amd64
Prefix : /usr/local
Categories : multimedia
Licenses : GPLv2
Maintainer : sunpoet@FreeBSD.org
WWW : http://libcec.pulse-eight.com/
Comment : Library to control Pulse-Eight's HDMI-CEC adapter

pkg info drm-kmod
drm-kmod-g20190710_1
Name : drm-kmod
Version : g20190710_1
Installed on : Sun Dec 19 07:37:45 2021 CST
Origin : graphics/drm-kmod
Architecture : FreeBSD:13:*
Prefix : /usr/local
Categories : graphics
Licenses :
Maintainer : x11@FreeBSD.org
WWW : https://github.com/FreeBSDDesktop/kms-drm
Comment : Metaport of DRM modules for the linuxkpi-based KMS components
filed this as well Bug 260579
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions