I’m often using two OSMC boxes at the same TV (Samsung UE55). It’s hard to learn for my family, which “Kodi” is the one with the movies, and which one is the “dad is testing his stuff”.
IIRC, in the early times of Raspian/XBMC, one had the option to edit the CEC client name - or the hostname was used for it. Am I right? How can I get this back again with recent OSMC/RPi2?
I’m using the Februar 2016 version with auto-update, Skin changed back to Confluence.
Just because it’s hidden (any file or folder with a . In front of the name is hidden) shouldn’t stop you accessing it. It would be most straight forward to view (and edit) this file via logging on to the command line.
grep Kodi .kodi/temp/kodi.log | head -3
19:53:13 10.681442 T:1956823984 NOTICE: Starting Kodi (16.1). Platform: Linux ARM (Thumb) 32-bit
19:53:13 10.681510 T:1956823984 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
19:53:13 10.681585 T:1956823984 NOTICE: Kodi compiled Aug 28 2016 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 3.16.7 (200711)
sounds quite funny, but after > 10 days, the CEC name is displayed on the Samsung UE55 now. While my tests, I really unplugged the mains from TV for 20 seconds, but the CEC name kept “Kodi”. Next days I did nothing than watch TV, EPG and recorded movies, but no further power off/on. It still was “Kodi”, while the XML had “eva9003” in the named entry.
I stopped the test, because I planned to wait for the proposed hostname==CECname change first.
More than a week later, with every day using the OSMC box, my wife called me “now its not longer named ‘kodi’, is this what you are waiting for?”. After a detailed interrogation, she remembered the TV was magically powered on in the morning. This only happens when the Raspi performs a reboot by updates (or by accidentially mains fuse triggering). And this was finally the only thing I did not in all my tests. I ever performed a reboot on the ssh shell, but never a power cycle…
Okay, I’m now quite sure to have it:
In the meantime, while maintaining my UPS, I found a log entry about lost mains power in the whole building for aprx.15 minutes in mid of October. This corresponds with the time we experienced the magically appearance of the wanted CEC name in the Samsung TV CEC/Anynet Menu.
Lessons we learned:
Powering an Samsung UE55 for 10 … 20 seconds might no be enough to really reset the cached Anynet/CEC client settings. Must be a very power saving circuitry to hold the data. Or might have a Coldcap capacitor.