Disable HDMI-CEC completely?

I have a Panasonic Plasma TV.  Raspberry Pi 2 running 0.51 Rasplex.

 

In Rasplex I disabled CEC in Preferences, Input Devices and Peripherals. It shows up there as a CEC Adapter.  I turned off every option, including "Enabled" which I assume would take care of it.  On my TV, I turned off Viera Link, which is their HDMI-CEC protocol.

 

Yet... it still seems to work.  Rasplex still notifies me that it detected a CEC adapter on boot up.  Consequently, if I'm not on that HDMI input, my TV remote still seems to change things on my Rasplex box without me knowing it!

 

How can I completely kill CEC detection in Rasplex?  Obviously the GUI doesn't work, so is there some Linux command that will prevent it from running?

 

I did this and it did not work. Does the location of those commands matter?

https://forums.plex.tv/topic/80519-disable-hdmi-cec/

I would disable it in the config.txt:

You can try adding hdmi_ignore_cec_init=1 config option to your /boot/config.txt. It should, in theory, disable sending initial active source message by RaspberryPi which is probably responsible for changing input source to HDMI in your case.

source:
 
If you have not edited your config.txt before, you need to either SSH and mount the drive as R/W or pull the card and access the SD card on your PC.  Plenty of documentation around on how... 

HI swarmier,  I tried that and it does not work.

I am having exactly the same problem. Panasonic Viera with the link switched off in the menu on the TV, CEC (supposidly) disabled in rasplex and yet it still reveives all remote control commands even when the PI is not the active source on the TV.

Also, when I switch off the TV the PI crashes.

Is there any way of preventing libcec from loading in the first place?

UPDATE:

So I sorted my problem out this morning. I am a bit reluctant to share the secret of my success as it is a trifle embarrassing: the PI still had an IR sensor attached to it from a previous project and although I had never deliberately set up the remote it was happily receiving all the commands direct from my hand rather than via the HDMI cable.

Needless to say I feel a bit of a twit, but I am very pleased that it's all working now! 

All’s well that ends well. Anyone can make an honest mistake and there’s no shame in that.
And coming clean afterwards to clarify the mistake you made is definitely a ‘non-twit’ move, as I see it.

Best regards: dlanor

I am having exactly the same problem. Panasonic Viera with the link switched off in the menu on the TV, CEC (supposidly) disabled in rasplex and yet it still reveives all remote control commands even when the PI is not the active source on the TV.
Also, when I switch off the TV the PI crashes.
 
Is there any way of preventing libcec from loading in the first place?


There is no way to prevent CEC from loading, but you can switch it off in Preferences.

Can you please mark your last response as 'Answered' this may help others.

Regards