Current Pulse-Eight CEC Adapter support in Kodi is obsolete.
Bug report
The current (provided, bundled) version of cec.dll required for use with Pulse-Eight's CEC adapter is obsolete at v4.0.4. A number of fixes were back-ported from the latest (v6.0.2) release and included in a version of the driver (v4.0.7) especially for use with Kodi 18+ and or any software still using the v4 interface / branch.
Describe the bug
Here is a clear and concise description of what the problem is:
A number of fixes for the CEC-adapter made by Pulse-Eight were included in their v6.0.x releases (current latest: v6.0.2), but the v6 branch is not at this time compatible with Kodi 18+ unless Kodi is compiled with v6 support so far as I understand it. Either way, those same fixes were back-ported to v4.0.7 to be compatible with Kodi's existing 4.0.x support, as provided.
Possible Fix
The version of 'cec.dll' currently distributed with Kodi (Matrix v19.3) is v4.0.4, and should be either upgraded to the v4.0.7 version available from Pulse-Eight's GitHUB repository, OR native support for v6.0.2 built into Kodi going forwards. Also, I would ask that the Kodi team keep an eye on the Pulse-Eight releases page on their GitHUB repo, for future fixes/updates that may be integrated into Kodi's bundled CEC driver/support, for those of us who have need of it.
Link to Pulse-Eight's v4.0.7 release page: https://github.com/Pulse-Eight/libcec/releases/tag/libcec-4.0.7
Your Environment
Used Operating system:
-
[ ] Android
-
[ ] iOS
-
[ ] tvOS
-
[ ] Linux
-
[ ] OSX
-
[X] Windows
-
[ ] Windows UWP
-
Operating system version/name: Windows 10 - Professional
-
Kodi version: Matrix (19.3)
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
...Both versions (v4.0.4.0 and v4.0.7.0) will report themselves as being v4.0.4. within Kodi, which may lead to some confusion. This is an oversight by Pulse-Eight. Check the 'details' tab of the of the DLL file itself (Properties -> Details) to confirm the actual version of the DLL.
@malard maybe one for you?
@opdenkamp and myself will look into this for the v21 release