2020-05-20, 16:24
(2020-05-19, 23:15)Milhouse Wrote:Hi Milhouse,(2020-05-19, 23:15)Milhouse Wrote: libcec-next
I see that libcec is noted as upgraded in this release (devel-20200519212340-#0519-g68af82c (Generic.x86_64))
and that we now have 5.0.0 in place.
I have had a mostly hate affair with CEC after I added the Pulse-Eight to the NUC - 12+ months ago. (It works Well (ish) between the AppleTV4K, Sony STR-DN1040 AVR, Panasonic Viera 50 Plasma)
I fixed the script.json-cec so that it is compatible with Matrix, and have been trying to debug what CEC actual does/how it works within Kodi. I turned on debug and component debug, with #0511 but weren’t getting the logs showing any CEC data actually being transmitted/received. CEC was being sent by the Kodi though.
1. Put the movie on pause, 2. Turn off the Amp manually, 3. Amp turns back on, 4. Unhappy ....
1. Put the movie on pause, 2. Change amp to video1 (appletv), 3. Amp turns back to DVD (Kodi), 4. Unhappy ....
so I have experimented tonight. And CEC seems to be completely not engaging with the AVR. Though the logs show messages both ways. I.e. the examples above are not failing (or doing anything). I tried to play the movie whilst the amp was off / or on appletv, no switch back either.
logs are here : http://paste.ubuntu.com/p/xGJD5nvJ7M/ **** when I tried to submit from pastekodi and from the kodi app, is.io returned no data. So thus the Pastebinit from my Ubuntu box.
if there is something that I’m blatantly missing/got wrong in the CEC add on, a nudge in the right direction would be great. I’ll start looking at the actual codes being CEC transmitted and received and try and work out what they are doing in the mean time.
LibreELEC:~ # dmesg | grep -i cec
[ 3.201361] input: Pulse-Eight CEC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:2548:1002.0003/input/input7
[ 3.201528] hid-generic 0003:2548:1002.0003: input,hidraw2: USB HID v1.10 Mouse [Pulse-Eight CEC Adapter] on usb-0000:00:14.0-6/input2
thanks @Klojum - fixed.. too tired here and iPad...
some further commentary in what does work.
LibreELEC:~ # kodi-send --action="CECActivateSource" <— does nothing
Sending: {'type': 'action', 'content': 'CECActivateSource'}
LibreELEC:~ # kodi-send --action="CECStandby" <— turns the Sony AMP off
Sending: {'type': 'action', 'content': 'CECStandby'}
LibreELEC:~ # kodi-send --action="CECToggleState" <— turns the Sony AMP off (but not on)