[RPi4] My TV remote controller stopped working on KODI!!!

  • Hi there,


    I've been using Kodi (21.2 (Omega)) + LibreELEC (12.0.2) on a Phillips TV without issues moving through all the options & KODI menus with my TV remote controller. But suddenly this morning stopped working. Apparently my TV last update was months ago so I don't know what's going on. From time to time I update manually (when I have notifications) KODI add-ons but nothing else. This could be the problem? A bad add-on update?

    I've activated the debug log on the CEC module and I can see a lot of these messages:


    2025-01-28 10:14:57.853 T:1440 debug <general>: CecLogMessage - CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT - tx_status=24 len=1 addr=40 opcode=ffffffff
    2025-01-28 10:14:57.853 T:1440 debug <general>: CecLogMessage - << 40
    2025-01-28 10:14:57.997 T:1440 debug <general>: CecLogMessage - CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT - tx_status=24 len=1 addr=40 opcode=ffffffff
    2025-01-28 10:14:57.997 T:1440 debug <general>: CecLogMessage - >> POLL not sent
    2025-01-28 10:14:58.997 T:1440 debug <general>: CecLogMessage - << Playback 1 (4) -> TV (0): POLL
    2025-01-28 10:14:58.997 T:1440 debug <general>: CecLogMessage - << 40
    2025-01-28 10:14:59.131 T:1440 debug <general>: CecLogMessage - CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT - tx_status=24 len=1 addr=40 opcode=ffffffff
    2025-01-28 10:14:59.131 T:1440 debug <general>: CecLogMessage - << 40
    2025-01-28 10:14:59.273 T:1440 debug <general>: CecLogMessage - CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT - tx_status=24 len=1 addr=40 opcode=ffffffff
    2025-01-28 10:14:59.274 T:1440 debug <general>: CecLogMessage - >> POLL not sent
    2025-01-28 10:15:00.274 T:1440 debug <general>: CecLogMessage - << Playback 1 (4) -> TV (0): POLL
    2025-01-28 10:15:00.274 T:1440 debug <general>: CecLogMessage - << 40
    2025-01-28 10:15:00.407 T:1440 debug <general>: CecLogMessage - CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT - tx_status=24 len=1 addr=40 opcode=ffffffff
    2025-01-28 10:15:00.407 T:1440 debug <general>: CecLogMessage - << 40
    2025-01-28 10:15:00.550 T:1440 debug <general>: CecLogMessage - CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT - tx_status=24 len=1 addr=40 opcode=ffffffff
    2025-01-28 10:15:00.550 T:1440 debug <general>: CecLogMessage - >> POLL not sent
    2025-01-28 10:15:01.550 T:1440 debug <general>: CecLogMessage - << Playback 1 (4) -> TV (0): POLL
    2025-01-28 10:15:01.550 T:1440 debug <general>: CecLogMessage - << 40
    2025-01-28 10:15:01.684 T:1440 debug <general>: CecLogMessage - CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT - tx_status=24 len=1 addr=40 opcode=ffffffff
    2025-01-28 10:15:01.684 T:1440 debug <general>: CecLogMessage - << 40

    Asking IA told me that this means "Issues with CEC (Consumer Electronics Control) communication, indicating repeated failures to send POLL commands to the TV" but I don't know how to fix it.


    Any idea? I really appreciate any help you can provide.


    Ivan

  • Exceuting the "cec-client -l" I can see the there is a device found but no idea if this is correct or not:


    LibreELEC:~ # cec-client -l
    libCEC version: 4.0.7, compiled on 2025-01-20 01:55:29 by docker@0720c6ca9669 on Linux 6.8.8-2-pve (x86_64), features: P8_USB, DRM, P8_detect, Linux
    Found devices: 1

    device: 1
    com port: Linux
    vendor id: 0000
    product id: 0000
    firmware version: 0
    type: Linux

  • First make sure you are connected to primary hdmi port (hdmi0 - the one closest to power connection).

    Next, disconnect TV from mains for several minutes.

    Remove all HDMI connections, and just connect one HDMI from TV to Pi (no AVR etc).

    Power on TV first, set to Pi's AV input, then power on Pi 4.

    Does CEC remote work? If so you can try connecting the other hdmi devices..

  • First make sure you are connected to primary hdmi port (hdmi0 - the one closest to power connection).

    Next, disconnect TV from mains for several minutes.

    Remove all HDMI connections, and just connect one HDMI from TV to Pi (no AVR etc).

    Power on TV first, set to Pi's AV input, then power on Pi 4.

    Does CEC remote work? If so you can try connecting the other hdmi devices..

    I've change the microHDMI port and now works perfect again. Thanks for the info! I forgot that RP4 has two microHDMI ports. But why is better to use the primary one? I really don't know what port was using before because I have the RPi4 whitin an Argon40 case and I don't know what port internally is connected to the closest to power connection...) Now I'm using this one

    Anyway, my issue has been solved so many thanks for you help!!!!

  • The HDMI0 port is the preferred one to also support 4K@60Hz (AFAIK: HDMI1 of the RPi4 supports max 4K@30Hz). With LE 12.0.1 there was an attempt to support CEC on both HDMI ports at the same time, but this caused more problems than it helped. This temporary function was dropped with LE 12.0.2.

  • I have had the same issue. When I roll back to LibreELEC-RPi5.aarch64-12.0.1.img, my TV remote works. However when updating to 12.0.2, no matter what HDMI port I use, the TV remote does not work.

    I have followed the instruction set above but no luck for me.

    Cheers MRF.

  • First make sure you are connected to primary hdmi port (hdmi0 - the one closest to power connection).

    Next, disconnect TV from mains for several minutes.

    Remove all HDMI connections, and just connect one HDMI from TV to Pi (no AVR etc).

    Power on TV first, set to Pi's AV input, then power on Pi 4.

    Does CEC remote work? If so you can try connecting the other hdmi devices..

    Perfect :thumbup: Thank you ;)

  • I have had the same issue. When I roll back to LibreELEC-RPi5.aarch64-12.0.1.img, my TV remote works. However when updating to 12.0.2, no matter what HDMI port I use, the TV remote does not work.

    I have followed the instruction set above but no luck for me.

    Cheers MRF.

    Same here ;(