Open ignisf opened 3 years ago
OK, I am able to reproduce the issue reliably with cec-client -d 0
(https://gist.github.com/ignisf/1c5831f87a1ef812e80c86676c47b76b).
The issue is not present when invoking cec-client -t p -d 0
(https://gist.github.com/ignisf/af0115eb3e198438ffc6edf1fe01fa7c).
The only pattern I am noticing for now is with the logical address. If it's not Recorder 1 (1)
, it's working.
Workaround for Kodi:
systemctl stop kodi
on CoreELEC).device_type
in userdata/peripheral_data/cec_CEC_Adapter.xml
to "4".
Hardware:
Software:
Freshly installed CoreELEC 19.1-Matrix, though the issue was present on 9.2.7 as well
libCEC version: 6.0.2, compiled on 2021-05-12 11:26:34 by portisch@ubuntu on Linux 5.4.0-73-generic (x86_64), features: P8_USB, DRM, P8_detect, AOCEC
Full debug log:
https://gist.github.com/ignisf/f90343b03b55fe79d66bf6ce286ea6f3
Observed issue:
https://www.youtube.com/watch?v=VZnzgLSV4a8
The CEC functionality of the TV gets disabled every around 30 seconds (the remote stops being able to control Kodi) and is gone for around 10 seconds, then reappears.
The logs are full with power status changes
from 'on' to 'in transition from standby to on'
andFIXME: LG seems to have bugged out. resetting to 'in transition standby to on'. the return button will not work
.Rarely, after a random sequence of reboots, I am able to get a stable connection. In this case the logs indicate that libCEC has received the Recorder 2 (2) logical address. Also the 'Title' entry is missing from the CEC menu on the TV.
Relevant excerpt (the device disappears right after
2021-05-17 00:18:53.911 T:4739 DEBUG <general>: CecLogMessage - << POLL: TV (0) -> Recorder 1 (1)
: