2015-03-21, 11:14
I have been using Kodi for a few months now on a RPi2 with Rasbian. 2 days ago, with no changes on my part, CEC control stopped working.
I have been trying to troubleshoot this myself, but everything seems to be working, only that it isn't responding to inputs.
If I use cec-client to monitor the connection, I can see Kodi and the TV talking during startup, after which point the TV starts sending button presses as they occur and Kodi specific things such as the name show correctly in the menus on the TV, except the controls, such as the arrows don't work.
I have tried most common debugging steps like restarting, using a different HDMI port, only plugging in the RPi, resetting settings, ... I have not tried wiping and reinstalling Kodi, which I suspect will fix it, but I only want to use as a last resort.
I enabled debug logging of CEC and can see kodi receiving the commands just fine.
I used the instructions from http://drcobra.co.uk/?p=25 to install Kodi
I have been trying to troubleshoot this myself, but everything seems to be working, only that it isn't responding to inputs.
If I use cec-client to monitor the connection, I can see Kodi and the TV talking during startup, after which point the TV starts sending button presses as they occur and Kodi specific things such as the name show correctly in the menus on the TV, except the controls, such as the arrows don't work.
I have tried most common debugging steps like restarting, using a different HDMI port, only plugging in the RPi, resetting settings, ... I have not tried wiping and reinstalling Kodi, which I suspect will fix it, but I only want to use as a last resort.
I enabled debug logging of CEC and can see kodi receiving the commands just fine.
Code:
19:44:33 T:1861141520 DEBUG: CecLogMessage - >> 01:44:02
19:44:33 T:1861141520 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
19:44:33 T:1861141520 DEBUG: CecLogMessage - key pressed: down (2)
19:44:33 T:1861141520 DEBUG: PushCecKeypress - received key a7 duration 0
19:44:33 T:1861141520 DEBUG: CecLogMessage - >> 01:8b:02
19:44:33 T:1861141520 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): vendor remote button up (8B)
19:44:33 T:1861141520 DEBUG: CecLogMessage - key released: down (2)
19:44:33 T:1861141520 DEBUG: PushCecKeypress - received key a7 duration 378
19:44:35 T:1861141520 DEBUG: CecLogMessage - >> 01:44:03
19:44:35 T:1861141520 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
19:44:35 T:1861141520 DEBUG: CecLogMessage - key pressed: left (3)
19:44:35 T:1861141520 DEBUG: PushCecKeypress - received key a9 duration 0
19:44:36 T:1861141520 DEBUG: CecLogMessage - >> 01:8b:03
19:44:36 T:1861141520 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): vend or remote button up (8B)
19:44:36 T:1861141520 DEBUG: CecLogMessage - key released: left (3)
19:44:36 T:1861141520 DEBUG: PushCecKeypress - received key a9 duration 395
I used the instructions from http://drcobra.co.uk/?p=25 to install Kodi