Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kodi cec kms-drm issues #259

Open
halfagascan opened this issue Dec 22, 2021 · 0 comments
Open

Kodi cec kms-drm issues #259

halfagascan opened this issue Dec 22, 2021 · 0 comments

Comments

@halfagascan
Copy link

halfagascan commented Dec 22, 2021

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 : [email protected]
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 : [email protected]
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant