Kodi Community Forum
Bug Kodi is resetting my CEC device settings on exit - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+---- Forum: Peripherals (https://forum.kodi.tv/forumdisplay.php?fid=254)
+---- Thread: Bug Kodi is resetting my CEC device settings on exit (/showthread.php?tid=300812)



Kodi is resetting my CEC device settings on exit - yasij - 2016-12-14

With the upgrade to Kodi 17 beta 6, Kodi keeps resetting my CEC settings on exit. I am stopping X by systemctl stop sddm, and Kodi is crashing on exit in CMediaSourceSetttings::Clear()

Debug log: http://paste.ubuntu.com/23629387/
Crash log: http://paste.ubuntu.com/23629411/
CEC settings: http://paste.ubuntu.com/23629396/
CEC settings after Kodi exit: http://paste.ubuntu.com/23629401/


RE: Kodi is resetting my CEC device settings on exit - Ned Scott - 2016-12-15

Yeah, the libCEC version bump is causing a lot of issues. I have no idea why that was allowed during the beta cycle, long after feature freeze :/


RE: Kodi is resetting my CEC device settings on exit - yasij - 2016-12-19

I reported this bug here: http://trac.kodi.tv/ticket/17144 . It also causes the CEC settings to be reset on a suspend/resume cycle which means my CEC adapter is listening to the wrong input for the wake-up signal.


RE: Kodi is resetting my CEC device settings on exit - yasij - 2016-12-21

I read through the CEC code a bit, and it looks like libcec is overwriting my CEC settings. There are numerous calls to SetSetting inside SetConfigurationFromLibCEC, and SetConfigurationFromLibCEC is called in CPeripheralCecAdapter::OpenConnection after a connection to the CEC adapter is opened which overwrites the user provided settings from the dialog.


RE: Kodi is resetting my CEC device settings on exit - Juppstein - 2017-01-07

Hmm, the CEC settings on my TV (Samsung UE46C6000) are being reset every few times I send Kodi (v16) to sleep. Is the CEC adapter (PulseEight adapter for Intel NUC) able to directly change the settings on a TV?

Waking up works as intended and the TV remote works as well, just sending to sleep keeps the TV alive while the NUC goes to sleep. Changing the setting back on the TV will make it work again for one or two times, then it breaks again.

I remember this not to happen when I only had my Chromecast connected to the TV. There the CEC settings stayed as they were intially set.