# Disable HDMI-CEC completely?

**URL:** https://forums.plex.tv/t/disable-hdmi-cec-completely/95500
**Category:** Apps & Creations
**Created:** [March 2, 2015, 5:53pm UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500 "2015-03-02T17:53:41Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![robertsig](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@robertsig](https://forums.plex.tv/u/robertsig)
#### Post date: [March 2, 2015, 5:53pm UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500/1 "2015-03-02T17:53:41Z")

</div>

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

&nbsp;

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

&nbsp;

Yet... it still seems to work.&nbsp; Rasplex still notifies me that it detected a CEC adapter on boot up.&nbsp; 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!

&nbsp;

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

&nbsp;

---

<div class="post-metadata">

### Author: ![robertsig](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@robertsig](https://forums.plex.tv/u/robertsig)
#### Post date: [March 2, 2015, 6:40pm UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500/2 "2015-03-02T18:40:40Z")

</div>

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

[https://forums.plex.tv/topic/80519-disable-hdmi-cec/](https://forums.plex.tv/topic/80519-disable-hdmi-cec/)

---

<div class="post-metadata">

### Author: ![jgearinger](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@jgearinger](https://forums.plex.tv/u/jgearinger)
#### Post date: [March 2, 2015, 8:36pm UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500/3 "2015-03-02T20:36:53Z")

</div>

I would disable it in the config.txt:

You can try adding&nbsp;hdmi\_ignore\_cec\_init=1&nbsp;config option to your&nbsp;/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:

[http://raspberrypi.stackexchange.com/questions/6682/stopping-rasppi-raspbmc-from-auto-changing-source-on-tv](http://raspberrypi.stackexchange.com/questions/6682/stopping-rasppi-raspbmc-from-auto-changing-source-on-tv)

&nbsp;

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. &nbsp;Plenty of documentation around on how...&nbsp;

---

<div class="post-metadata">

### Author: ![robertsig](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@robertsig](https://forums.plex.tv/u/robertsig)
#### Post date: [March 2, 2015, 8:54pm UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500/4 "2015-03-02T20:54:30Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Cryptopher](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@Cryptopher](https://forums.plex.tv/u/Cryptopher)
#### Post date: [March 4, 2015, 6:34am UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500/5 "2015-03-04T06:34:11Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Cryptopher](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@Cryptopher](https://forums.plex.tv/u/Cryptopher)
#### Post date: [March 4, 2015, 12:41pm UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500/6 "2015-03-04T12:41:19Z")

</div>

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!&nbsp;

---

<div class="post-metadata">

### Author: ![dlanor](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dlanor/32/4522_2.png) [@dlanor](https://forums.plex.tv/u/dlanor)
#### Post date: [March 7, 2015, 9:59am UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500/7 "2015-03-07T09:59:04Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [March 7, 2015, 11:14am UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500/8 "2015-03-07T11:14:31Z")

</div>

> 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.  
> &nbsp;  
> 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

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [January 8, 2020, 6:53pm UTC](https://forums.plex.tv/t/disable-hdmi-cec-completely/95500/9 "2020-01-08T18:53:30Z")

</div>


