Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[ViX_Misc] A Ghost in my Machine ?? ( HDMI-CEC problem )

The fact that the HDMI-CEC has been disabled or even removed, will not stop the TV from sending messages. So they will show up in the log, but I assume the box is not responding to them?

If that would be the case, you must disable the HDMI-CEC support in the menu of the TV. Looking into my TV that should be possible.
Well, I'm digging a little bit deeper into HDMI-CEC... and it looks like the plugin is just managing the settings in /etc/enigma2/settings.
And it also looks like there is a setting config.hdmicec.enabled which was not in my settings file.
So, I removed all the config.hdmicec.xxxxx lines and just put in config.hdmicec.enabled=false.
Maybe this makes the ghost go away now. :-)
 
Well, I'm digging a little bit deeper into HDMI-CEC... and it looks like the plugin is just managing the settings in /etc/enigma2/settings.
And it also looks like there is a setting config.hdmicec.enabled which was not in my settings file.
So, I removed all the config.hdmicec.xxxxx lines and just put in config.hdmicec.enabled=false.
Maybe this makes the ghost go away now. :-)
I hope you stopped Enigma before editing the settingsfile? Otherwise it will be overwritten again with the old settings.
And keep us posted on how you go on :thumbsup:
 
I hope you stopped Enigma before editing the settingsfile? Otherwise it will be overwritten again with the old settings.
And keep us posted on how you go on :thumbsup:
Yes, I did. Unfortunately, it didn't help. HDMI-CEC on TV is disabled as well, but I still see tons of
eHdmiCEC: received message
eHdmiCEC: received message 83
And the ghost still switches channels, displays the menu, etc.
I'm frustrated.
 
Yes, I did. Unfortunately, it didn't help. HDMI-CEC on TV is disabled as well, but I still see tons of

And the ghost still switches channels, displays the menu, etc.
I'm frustrated.
And HDMI-CEC of the box is still de-installed? I ask that, because on doing an online update it will be re-installed.
 
And HDMI-CEC of the box is still de-installed? I ask that, because on doing an online update it will be re-installed.
yes, the HDMI-CEC Plugin is still deinstalled. However, the real HDMI-CEC stuff is part of the enigma binary. so, it can't be deinstalled.
I suspect that the HDMI-CEC driver misinterprets some noise on the HDMI interface as commands or something like that.
 
yes, the HDMI-CEC Plugin is still deinstalled. However, the real HDMI-CEC stuff is part of the enigma binary. so, it can't be deinstalled.
Hmmm, where did you find that? As far as I know it's only a plugin. And of course: that plugin is supported by the drivers.
 
Well, allow me that sneak peek as well: where do you find it to be Enigma-integrated?
well, i checked again... it's not enigma2 it's a driver that seems to be permanently active, sorry. :-) Unfortunately the driver is not standalone but bound together with others in one module, so it can't be removed easily.
i see that the driver is working with the device /dev/hdmi_cec
Code:
eHdmiCEC::eHdmiCEC()
  45 : eRCDriver(eRCInput::getInstance())
  46 {
  47         ASSERT(!instance);
  48         instance = this;
  49         fixedAddress = false;
  50         physicalAddress[0] = 0x10;
  51         physicalAddress[1] = 0x00;
  52         logicalAddress = 3;
  53         deviceType = 3;
  54 #ifdef DREAMBOX
  55         hdmiFd = ::open("/dev/misc/hdmi_cec0", O_RDWR | O_NONBLOCK);
  56 #else
  57         hdmiFd = ::open("/dev/hdmi_cec", O_RDWR | O_NONBLOCK);
  58 #endif
  59         if (hdmiFd >= 0)
  60         {
  61 
  62 #ifdef DREAMBOX
  63                 unsigned int val = 0;
  64                 ::ioctl(hdmiFd, 4, &val);
  65 #else
  66                 ::ioctl(hdmiFd, 0); /* flush old messages */
  67 #endif
  68                 getAddressInfo();
  69                 messageNotifier = eSocketNotifier::create(eApp, hdmiFd, eSocketNotifier::Read | eSocketNotifier::Priority);
  70                 CONNECT(messageNotifier->activated, eHdmiCEC::hdmiEvent);
  71         }
  72 }
what i'm trying next is to remove the device /dev/hdmi_cec before enigma2 is started.
according to the constructor code in the device driver the device driver should be dead if it can't open the device. let's see.
 
Last edited:
well, i checked again... it's not enigma2 it's a driver that seems to be permanently active, sorry. :-) Unfortunately the driver is not standalone but bound together with others in one module, so it can't be removed easily.

what i'm trying next is to remove the device /dev/hdmi_cec before enigma2 is started.
according to the constructor code in the device driver the device driver should be dead if it can't open the device. let's see.
Exactly what I said: de-instal the plugin.
Nevertheless: when both TV & box have the settings disabled, there should not be any problem.
 
Exactly what I said: de-instal the plugin.
Nevertheless: when both TV & box have the settings disabled, there should not be any problem.
well, as i said: the plugin is deinstalled, but the device /dev/hdmi_cec is still there and the driver is active... generating messages.
 
well, i checked again... it's not enigma2 it's a driver that seems to be permanently active, sorry. :-) Unfortunately the driver is not standalone but bound together with others in one module, so it can't be removed easily.
i see that the driver is working with the device /dev/hdmi_cec
Code:
eHdmiCEC::eHdmiCEC()
  45 : eRCDriver(eRCInput::getInstance())
  46 {
  47         ASSERT(!instance);
  48         instance = this;
  49         fixedAddress = false;
  50         physicalAddress[0] = 0x10;
  51         physicalAddress[1] = 0x00;
  52         logicalAddress = 3;
  53         deviceType = 3;
  54 #ifdef DREAMBOX
  55         hdmiFd = ::open("/dev/misc/hdmi_cec0", O_RDWR | O_NONBLOCK);
  56 #else
  57         hdmiFd = ::open("/dev/hdmi_cec", O_RDWR | O_NONBLOCK);
  58 #endif
  59         if (hdmiFd >= 0)
  60         {
  61 
  62 #ifdef DREAMBOX
  63                 unsigned int val = 0;
  64                 ::ioctl(hdmiFd, 4, &val);
  65 #else
  66                 ::ioctl(hdmiFd, 0); /* flush old messages */
  67 #endif
  68                 getAddressInfo();
  69                 messageNotifier = eSocketNotifier::create(eApp, hdmiFd, eSocketNotifier::Read | eSocketNotifier::Priority);
  70                 CONNECT(messageNotifier->activated, eHdmiCEC::hdmiEvent);
  71         }
  72 }
what i'm trying next is to remove the device /dev/hdmi_cec before enigma2 is started.
according to the constructor code in the device driver the device driver should be dead if it can't open the device. let's see.
i think i killed the ghost now. :-) No hdmi_cec messages in the log anymore, no mysterious channel switches.
however, there should be an easier way to disable hdmicec completely.
 
i think i killed the ghost now. :-) No hdmi_cec messages in the log anymore, no mysterious channel switches.
however, there should be an easier way to disable hdmicec completely.

How did you disable it completely in the end?
 
How did you disable it completely in the end?
i created a file /usr/bin/enigma2_pre_start.sh
with the following content:
Code:
#!/bin/sh
rm /dev/hdmi_cec
this deletes the /dev/hdmi_cec device before enigma2 starts. and without the device the hdmicec device driver doesn't work.
 
So, is you disable the plugin, restart enigma, remove the plugin, restart enigma, it's still active?
 
So, is you disable the plugin, restart enigma, remove the plugin, restart enigma, it's still active?
removing the plugin does not remove the device driver. the device driver was still active and caused my problems.
 
That's why I'm asking, it really shouldn't be that much of a pain to remove a plugin.

Did you restart the box after first disabling the plugin.
Then again after removing the plugin.
If so, we do have an issue that probably needs fixing.
 
That's why I'm asking, it really shouldn't be that much of a pain to remove a plugin.

Did you restart the box after first disabling the plugin.
Then again after removing the plugin.
If so, we do have an issue that probably needs fixing.
yes, i did. and i think we do have a problem.
1. problem: hdmicec doesnt work with my sony bravia tv: ghost key strokes
2. problem: it's not possible to disable hdmicec completely (the device driver)
 
Last edited:
yes, i did. and i think we do have a problem.
1. problem: hdmicec doesnt work with my sony bravia tv: ghost key strokes
2. problem: it's not possible to disable hdmicec completely (the device driver)
What I still don't understand is why for my Sony Bravia it is sufficient to 'kill' those commands in the TV-menu.
 

OpenViX Feeds Status

Back
Top