-
Notifications
You must be signed in to change notification settings - Fork 294
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
RFC: Linux CEC framework adapter #380
Conversation
Just letting you know that I did see this PR, but I haven't had time yet to look into it because of other priorities. I'll look into it (and other PRs) asap. Thanks |
Hello,
I have prepared custom ebuild with the patch and two changes to configuration: This is based on libcec-4.0.2. Cheers, |
@nkichukov thanks, I have seen similar errors happening during first initialization, but since it works after that I have just ignored it. Also note that this adapter has some limitations like only supporting |
@opdenkamp any chance that this Linux kernel CEC framework adapter is still on your roadmap for libcec? |
I've just tested this on a Rock Pi 4 and it works. When will this be merged into the main branch? |
@opdenkamp any more feedback on blockers and/or showstoppers for this PR? |
I just wanted to pull this one in, but it looks like one last thing is missing before I can do this. @Kwiboo could you take a look at https://www.pulse-eight.com/contributors please. I'll merge it in once this has been signed. Sorry for the (massive) delay. |
FYI this PR and latest libcec master results in this build failure: cb3cc57 |
@opdenkamp thanks for the tip, I will update the PR and send in a signed CLA (as soon as I have access to a printer/scanner) |
You can use your phone :)
…Sent from my Huawei phone
-------- Original message --------
From: Jonas Karlman <notifications@github.com>
Date: Wed, 1 Apr 2020, 18:24
To: Pulse-Eight/libcec <libcec@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [Pulse-Eight/libcec] RFC: Linux CEC framework adapter (#380)
@opdenkamp<https://github.com/opdenkamp> thanks for the tip, I will update the PR and send in a signed CLA (as soon as I have access to a printer/scanner)
-
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#380 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAEFI57EZLN26IA5ARCJ2BDRKN2DPANCNFSM4D2JWY6Q>.
|
@malard thanks, I used Adobe Fill & Sign to sign the CLA. |
Confirming that this PR now builds with the |
@malard @opdenkamp Does adding Linux CEC framework warrant a major version release for libcec? Maybe just semantics but will Linux CEC framework support mean libCEC 5.0/v5.0.0 version release, or? |
@opdenkamp I have now sent the signed CLA directly to @malard email, the initial email to contributor-agreement[at]pulse-eight.com bounced. |
Not sure why, but thanks, all received
From: Jonas Karlman <notifications@github.com>
Sent: 02 April 2020 15:02
To: Pulse-Eight/libcec <libcec@noreply.github.com>
Cc: Martin Ellis <Martin.Ellis@pulse-eight.com>; Mention <mention@noreply.github.com>
Subject: Re: [Pulse-Eight/libcec] RFC: Linux CEC framework adapter (#380)
@opdenkamp<https://github.com/opdenkamp> I have now sent the signed CLA directly to @malard<https://github.com/malard> email, the initial email to contributor-agreement[at]pulse-eight.com bounced.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#380 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAEFI57MUFJCE3GM6WKGKP3RKSLD5ANCNFSM4D2JWY6Q>.
|
Could someone clarify what the benefit of the Linux CEC framework is compared to the old way of doing things? Does it mean, that any Linux system running a later kernel version automatically supports the Pulse-Eight CEC devices without the need to manually install drivers or libCEC packages? I'm curious because I'm to get some of the linux-based Retro-Gaming distros like Lakka, Recalbox or Batocera to work with my Pulse Eight CEC adapter on a x64 system. Is there an easy way to implement basic CEC features like turning on a tv and switching the HDMI input? |
My rough understanding is that this is a completely separate CEC effort as part of the Linux kernel. There's numerous CEC devices in various hardware that are supported now by recent Linux kernels. This adds support to libcec to control these linux kernel CEC devices. For example I believe you can even turn GPIO pins directly into CEC output and input pins with the kernel driver, if your computer/device has such pins. |
This is a request-for-comment for a linux cec framework adapter, any feedback would be grateful.
Tested on a ROCK64 device running LibreELEC+Kodi using the dw-hdmi-cec kernel device.