Closed gdachs closed 9 years ago
I checked and unfortunately it doesn't work well. CEC stops working after a while. Original author of the patch also mentions this problem: http://forum.odroid.com/viewtopic.php?f=111&t=7540&start=150#p79142. See p9.
Yes, but it is not the fault of the patch. The patch helps to investigate it.
Amlogics HDMI CEC implementation works without problems for me.
We discussed this already. What is working? I can't see how I am able to power on TV/AVR with Amlogics HDMI CEC implementation. Can you show me how?
With your patch even button presses on TVs remote don't work.
And after applying you patch Kodi sometimes hangs on splash screen during a boot.
Without the patch only the remote is working. I have thought it is better to find an error in existing code, instead of living with missing functionality, but of course you are free not to use the patch.
Yes, I agree that Amlogics HDMI CEC implementation has a lot of problems, but your implementation currently works even worse. People use HDMI CEC not to only turn on/off the TV. Believe me I don't have nothing against you patch, but in current state it is not usable. I'll be glad to merge the PR after the issues will be fixed.
I am not a kernel hacker and have not enough time to do that, we should stop this now. Sorry for wasting your time. Had hoped it would be a faster solution for the problem.
I struggled with your patch for a whole day, hoping to find a solution for the problem. But unfortunately currently I don't have an idea why it doesn't work.
thanks for trying!
np. you are welcome.
@codesnake @gdachs optimally CEC should really not even be implemented into the Linux kernel at all, but userspace instead. see discussion with opdenkamp (libcec author) comments about LibCEC and the "HDMI CEC framework" for the Linux kernel here:
https://github.com/Pulse-Eight/libcec/issues/67
However if they insist that it is implement into the Linux kernel then the suggested "HDMI CEC framework" might be better than previous implementations.
http://lists.freedesktop.org/archives/dri-devel/2015-March/079678.html http://lists.freedesktop.org/archives/dri-devel/2015-March/thread.html#79678
But maybe better to utilize Pulse-Eight new platform support library (supported by libCEC 2.3) as a shared platform abstraction between Amlogic CEC driver for LibCEC to add Kodi / XBMC support, see
https://github.com/Pulse-Eight/libcec/pull/65 https://github.com/Pulse-Eight/platform
@codesnake: now as a pull request