# CEC questions

**URL:** <https://forums.plex.tv/t/cec-questions/123950>\
**Category:** Apps & Creations\
**Created:** [November 18, 2015, 8:49pm UTC](https://forums.plex.tv/t/cec-questions/123950 "2015-11-18T20:49:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbjerg](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cbjerg/32/972_2.png) [@cbjerg](https://forums.plex.tv/u/cbjerg)\
**Post date:** [November 18, 2015, 8:49pm UTC](https://forums.plex.tv/t/cec-questions/123950/1 "2015-11-18T20:49:24Z")

</div>

I have a few CEC related questions  
I’ve read [https://forums.plex.tv/discussion/150209/cec-remote-buttons-how-do-i-find-out-which-button-has-been-pressed/](https://forums.plex.tv/discussion/150209/cec-remote-buttons-how-do-i-find-out-which-button-has-been-pressed/) and created a remote.xml file.  
My question is: Is there a way to map keys on a Sony remote, that doesn’t seem to send cec signals? It’s probably a stupid question and I apologize, but I can’t find any info anywhere, as to whether the reason for the rc keys not sending a signal, is because they’re not mapped anywhere. I have for instance a return key on my rc, that switches back to the most recently watched tv channel. I’d like to use that for rasplex while on the hdmi channel.  
Second question is: Is there any way to change the ced name of the Pi? My tv wont fit Plex Home Theater, and only writes Plex Ho…

---

<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:** [November 18, 2015, 9:10pm UTC](https://forums.plex.tv/t/cec-questions/123950/2 "2015-11-18T21:10:58Z")

</div>

I use Sony TV’s, the Return button functions as exit by default when using the HDMI source that the RPi is connected to.

What function is returned when you press the Return Button? (using the instructions in the topic you quoted)

Regards

---

<div class="post-metadata">

**Author:** ![cbjerg](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cbjerg/32/972_2.png) [@cbjerg](https://forums.plex.tv/u/cbjerg)\
**Post date:** [November 18, 2015, 9:18pm UTC](https://forums.plex.tv/t/cec-questions/123950/3 "2015-11-18T21:18:33Z")

</div>

It doesn’t log that i clicked the button. I tail’ed the plex log with grep on CecLogMessage and OnKey and nothing shows up if i hit a button that’s not mapped to CEC. It just changed to the latest watched tv channel

---

<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:** [November 18, 2015, 9:35pm UTC](https://forums.plex.tv/t/cec-questions/123950/4 "2015-11-18T21:35:41Z")

</div>

That’s strange, unfortunately if CEC doesn’t capture the button then you can’t assign a function to it.

Have you checked both your TV’s BraviaSync options and Rasplex CEC options.

Regards

---

<div class="post-metadata">

**Author:** ![HalilBasyurt](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@HalilBasyurt](https://forums.plex.tv/u/HalilBasyurt)\
**Post date:** [November 22, 2015, 11:35am UTC](https://forums.plex.tv/t/cec-questions/123950/5 "2015-11-22T11:35:39Z")

</div>

Can we please have on option to change device name of CEC?  
The file for this is located under usr/share/xbmc/system/peripherals.xml, but the whole usr folder is write protected, so changing the line of code from " Plex Home Theater" to for example “Plex” cannot be saved. In the same line there is an option to enable this to be changed in settings, but it is coded as configurable = 0.  
Please enable this?  
Or is there another way to change device name?

---

<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:** [November 22, 2015, 3:06pm UTC](https://forums.plex.tv/t/cec-questions/123950/6 "2015-11-22T15:06:58Z")

</div>

> @HalilBasyurt said:  
> Can we please have on option to change device name of CEC?  
> The file for this is located under usr/share/xbmc/system/peripherals.xml, but the whole usr folder is write protected, so changing the line of code from " Plex Home Theater" to for example “Plex” cannot be saved. In the same line there is an option to enable this to be changed in settings, but it is coded as configurable = 0.  
> Please enable this?  
> Or is there another way to change device name?

In the /storage/userdata/peripheral\_data folder there is a file ‘pi\_2708\_1001.xml’, edit this file to change the name from ‘Plex Home Theatre’ to whatever you want.

Regards

---

<div class="post-metadata">

**Author:** ![HalilBasyurt](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@HalilBasyurt](https://forums.plex.tv/u/HalilBasyurt)\
**Post date:** [November 22, 2015, 7:39pm UTC](https://forums.plex.tv/t/cec-questions/123950/7 "2015-11-22T19:39:16Z")

</div>

@NedtheNerd said:

> > @HalilBasyurt said:  
> > Can we please have on option to change device name of CEC?  
> > The file for this is located under usr/share/xbmc/system/peripherals.xml, but the whole usr folder is write protected, so changing the line of code from " Plex Home Theater" to for example “Plex” cannot be saved. In the same line there is an option to enable this to be changed in settings, but it is coded as configurable = 0.
> 
> In the /storage/userdata/peripheral\_data folder there is a file ‘pi\_2708\_1001.xml’, edit this file to change the name from ‘Plex Home Theatre’ to whatever you want.
> 
> Regards

---

<div class="post-metadata">

**Author:** ![HalilBasyurt](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@HalilBasyurt](https://forums.plex.tv/u/HalilBasyurt)\
**Post date:** [November 22, 2015, 7:43pm UTC](https://forums.plex.tv/t/cec-questions/123950/8 "2015-11-22T19:43:57Z")

</div>

> @NedtheNerd said:

> In the /storage/userdata/peripheral\_data folder there is a file ‘pi\_2708\_1001.xml’, edit this file to change the name from ‘Plex Home Theatre’ to whatever you want.
> 
> Regards

Ned, thanks for your quick reply.

Sorry for the previous post.  
The folder is located under /storage/.plexht/userdata/peripheral\_data/

But it does not stick. After changing it to Plex and then to PLEX is reverted back to Plex Home Theater.  
I renamed device id and restarted at least 10 times…  
Is it supposed to reset back after a reboot/reset?

---

<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:** [November 22, 2015, 8:28pm UTC](https://forums.plex.tv/t/cec-questions/123950/9 "2015-11-22T20:28:13Z")

</div>

Will have a look.

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, 7:08pm UTC](https://forums.plex.tv/t/cec-questions/123950/10 "2020-01-08T19:08:27Z")

</div>


