I have a Pi B+ (BCM2708 Rev 0010) running OSMC 2015.11-2 that has worked flawlessly with my Toshiba TV (including previous OSMC releases).
I’ve had to move the Pi to another room and connect to a different TV, a ‘Logik L24FED12A’. The remote didn’t work at first, I had to enable CEC in the TV’s menus but it now works fine with one exception; pressing the standby button on the remote shuts down the PI (when I say ‘shuts down’ it may be that the PI is hibernating/on standby/sleeping or whatever but it’s not available via the LAN and I have to reboot to use it - switching the TV back on simply gives me a ‘no signal’ message).
I’ve just checked and the physical on/off button on the TV (how quaint!) does exactly the same thing (i.e. shuts down the Pi).
In Power Saver settings:
shutdown function timer is off
try to wake up remote servers on access is off
shutdown function is set to shutdown (but is greyed out)
I can’t think what else to try… any suggestions please?
Check the settings inside
System>Settings>System>Input Devices>Peripherals>CEC, press enter again to access the CEC settings …
(might not be quite the right names but is something like that)
and you will see settings for what happens when TV is shutdown.
Thanks Paul, I already looked in there (so many settings I forgot to mention it!) - ‘When the TV is switched off’ is set to ‘ignore’, I haven’t changed anything in this area and nothing else looks relevant to my problem. I just changed that setting from ‘ignore’ to ‘suspend’ just to check and the result is the same ie the Pi shuts down (or locks up somehow) and has to be rebooted.
Leave it on ignore.
On the other hand I suggest to find out what really happens on OSMC. Suggest you enable debugging and log into OSMC by SSH and use tail -f .kodi/temp/kodi.log to monitor the log file. Then press the power button and check whats going on.
Also after reboot you could paste the logfile with paste-log .kodi/temp/kodi.old.log
Thanks for the idea but it’s powered directly from the mains (I have a un-powered usb hard drive attached and a wireless connection via a usb hub). This set up worked perfectly beforehand, it’s only since I’ve connected it to this particular tv that the issue has arisen.
Thanks for the replies each. Can you point me to instructions for remapping keys? I found a post here about changing .kodi/userdata/keymaps.xml (I think that was the file, although it didn’t exist on my system) but I couldn’t quite follow the the instructions anyway.
That isn’t quite the location - you want ~/.kodi/userdata/keymaps/ and then a file in that folder named something like keyboard.xml or remote.xml (probably the latter, as DBM says).
There are bits in the Kodi Wiki about remapping, and there is also an addon (which I haven’t used).
I feel unqualified to expand, as I don’t use CEC at all.
Probably not the same Toshiba model but might have similar ability …
see page 40 (printed page number) for setting in TV to enable/disable auto-standby.
I suspect that setting this to Off will stop TV sending the Power Off signal as remote key press via CEC.
@paulwebster: thanks Paul but the toshiba tv worked fine - the one with the problem is a different make (‘Logik’).
@dandnsmith: the path I gave was from memory, I was actually using the path you specified. I’ve installed the add-on and my guess is that I need to re-map the ‘rewind’ button, as fzinken mentioned further up the thread, as the log contains:
OnKey: rewind (0xc4) pressed, action is ShutDown()
However, when I go to the ‘Navigation’ section of the Keymap Editor I seem to be unable to change the default value for rewind, ‘b’, to anything else!
Looking at the wiki page ( http://kodi.wiki/view/Keymap ) I’m not sure if I can manually create a remote.xml file with just a single key defined - if that’s possible I suppose I need something like :
No, that doesn’t work There’s nothing more I can see in the OSMC or TV menus that can be changed… I wonder if trying a different ‘universal’ remote would help? Other than up it looks like I’ll have to admit defeat.