# Modify CEC Button Configuration

**URL:** <https://forums.plex.tv/t/modify-cec-button-configuration/190500>\
**Category:** Apps & Creations\
**Created:** [April 30, 2017, 3:15pm UTC](https://forums.plex.tv/t/modify-cec-button-configuration/190500 "2017-04-30T15:15:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![reipet2003](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reipet2003](https://forums.plex.tv/u/reipet2003)\
**Post date:** [April 30, 2017, 3:15pm UTC](https://forums.plex.tv/t/modify-cec-button-configuration/190500/1 "2017-04-30T15:15:15Z")

</div>

Hello all,

I know this question have been already asked many times but I have searched around and tried for 3 days now and did nt get anything running as planed.  
I would be really grateful for a step by step instruction for my, i think little, problem.

I have a raspberry pi 3 here with rasplex 1.8.0 hooked up with HDMI on a Philips TV.  
On startup it says pulse eight cec adapter connected.  
So far I have to say every button is working on the TV remote I need (arrows, play, stop, OK), but some buttons are missing I need for a proper function. Back/Home, Shutdown, Power on.

I have searched how to record the cec signals when i press the button but nothing show up even I press buttons working already. I says the pi needs to be in debug mode. I still didnt find how to activate it.

Then im searching for this keymapping file, could not find anything.  
The only thing working well so far is using ssh to login to the rasplex.

Im sorry im new to raspberry pi and I dont want to invest in the remote ir board as I think the button mapping should be able to be achieved easy.  
Is it possible to start the pi also with the TV remote?

Thank for your patient answers.

---

<div class="post-metadata">

**Author:** ![Valdhor](https://avatars.discourse-cdn.com/v4/letter/v/ebca7d/32.png) [@Valdhor](https://forums.plex.tv/u/Valdhor)\
**Post date:** [May 1, 2017, 6:48pm UTC](https://forums.plex.tv/t/modify-cec-button-configuration/190500/2 "2017-05-01T18:48:42Z")

</div>

The link that should help with debugging key presses is [forums.plex.tv/discussion/150209/cec-remote-buttons-how-do-i-find-out-which-button-has-been-pressed/p1](http://forums.plex.tv/discussion/150209/cec-remote-buttons-how-do-i-find-out-which-button-has-been-pressed/p1 "forums.plex.tv/discussion/150209/cec-remote-buttons-how-do-i-find-out-which-button-has-been-pressed/p1").

I would recommend never turning the Pi off. Just leave it on with it’s own power supply. Pulling the power has been known to corrupt the SD card. If you are worried about power consumption, don’t be. If you look at the numbers you get that a Pi3 normally consumes around 400mA. With a 5V supply that’s 2W. For watt hours in a year multiply that by 24 (Hours a day) x 365 gives you 17520 or 17.5 killowatt hours. At about 10c/KWH (in the US) the cost per year would be $1.75.

---

<div class="post-metadata">

**Author:** ![videotecaCNSU](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/videotecacnsu/32/17514_2.png) [@videotecaCNSU](https://forums.plex.tv/u/videotecaCNSU)\
**Post date:** [May 2, 2017, 1:02pm UTC](https://forums.plex.tv/t/modify-cec-button-configuration/190500/3 "2017-05-02T13:02:48Z")

</div>

In my case I installed a [power button](https://forums.plex.tv/discussion/250861/gpio-power-button-and-led-indicator-addon-v0-1#latest "power button"), and Im using a [wiimote](https://forums.plex.tv/discussion/245052/wiimote-control-for-rasplex-addon-v0-5#latest "wiimote")as the default remote controller

---

<div class="post-metadata">

**Author:** ![reipet2003](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reipet2003](https://forums.plex.tv/u/reipet2003)\
**Post date:** [May 6, 2017, 5:12am UTC](https://forums.plex.tv/t/modify-cec-button-configuration/190500/4 "2017-05-06T05:12:23Z")

</div>

Thank you for all your answer.

Another simple question, how to turn on debug mode to get the tail command working

THX!

---

<div class="post-metadata">

**Author:** ![reipet2003](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reipet2003](https://forums.plex.tv/u/reipet2003)\
**Post date:** [May 6, 2017, 5:35am UTC](https://forums.plex.tv/t/modify-cec-button-configuration/190500/5 "2017-05-06T05:35:33Z")

</div>

Got it, sorry

---

<div class="post-metadata">

**Author:** ![reipet2003](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reipet2003](https://forums.plex.tv/u/reipet2003)\
**Post date:** [May 6, 2017, 5:44am UTC](https://forums.plex.tv/t/modify-cec-button-configuration/190500/6 "2017-05-06T05:44:21Z")

</div>

So, I have tested the Philips remote.  
If i press the back button there is not log activity coming up, means no CEC command send to rasplex?  
This button is no use then?  
But i could reconfigure any other working button to take over that back/exit command right?

---

<div class="post-metadata">

**Author:** ![videotecaCNSU](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/videotecacnsu/32/17514_2.png) [@videotecaCNSU](https://forums.plex.tv/u/videotecaCNSU)\
**Post date:** [May 8, 2017, 12:28pm UTC](https://forums.plex.tv/t/modify-cec-button-configuration/190500/7 "2017-05-08T12:28:54Z")

</div>

yes, you can reconfigure any button

---

<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, 7:34pm UTC](https://forums.plex.tv/t/modify-cec-button-configuration/190500/8 "2020-01-08T19:34:19Z")

</div>


