Pulse-Eight / libcec

USB CEC Adapter communication Library http://libcec.pulse-eight.com/
Other
721 stars 290 forks source link

LG TV - issues with LIBCEC 4 (Source switch when TV switched on/auto play paused video) #344

Open ghost opened 7 years ago

ghost commented 7 years ago

I have two issue with my LG LM640S television when using it with latest KODI 18 testbuilds. I tried and the same issue happens on the stable Libreelec and I can confirm that everything was fine with libcec 3.

My config: TV: LG LM640S HDMI 1: RPI2 with KODI with testbuilds from http://forum.kodi.tv/showthread.php?tid=298461 CEC adapter settings: [https://www.dropbox.com/s/gfbn4f6put60ej7/IMG_5327.JPG?dl=0](CEC adapter config in KODI)

ISSUE 1

LOG: https://www.dropbox.com/s/q9wg9yzxwgw4plh/kodi.log2?dl=0 The log snapshot were made just after the tv auto switched the source to RPI, so the CEC log is in the last minute.

ISSUE 2

When I pause a video with tv remote, the video starts to play after 10-20 seconds. When logging disabled, this issue comes almost every time. When logging enabled, it happens 1 in 5 times. Very annoying :)

Part of the log, where I pause the video on CEC and when it start to play: https://pastebin.com/G8yYxNK8 Full LOG: https://www.dropbox.com/s/gif5pt15fks1hy3/kodi.log3?dl=0

ashtonaut commented 7 years ago

Your Issue #1 sounds like it is this:

https://github.com/Pulse-Eight/libcec/issues/307

This is currently unresolved.

ghost commented 7 years ago

Yes, that issue sounds similar. Maybe my log files help to the developer to figure out a solution.

ghost commented 7 years ago

Milhouse was so kind to make us a build with reverted #256 Here you can get it: http://milhouse.libreelec.tv/builds/testing/RPi2/LibreELEC-RPi2.arm-9.0-Milhouse-20170428184648-%230427l-ga5bf4d2.tar

I can confirm that It solved the described issue :)

opdenkamp commented 7 years ago

can you check whether this solve your second issue https://github.com/Pulse-Eight/libcec/commit/1a8dc6c96a1c74d2820fea1a39f4dc8057905102