CEC TV remote not working on vero (But does work on Pi)

Sure can do. Which one do you need?
I just rebooted, so currently it’s working. Should stop in maybe 10 minutes or so, at least that’s what happened thrice now.

Edit: Well, it’s still working, so I can’t reproduce it a fourth time. Maybe just some initial hiccups with my LG TV (on which CEC is a bit tricky anyways).

For some reason whenever I change input to the Vero it now changes my screen aspect to so called normal instead of full screen which means I get black edges on the sides. This started happening after the latest update.

Included the log below.

http://paste.osmc.io/fudisutogi

What happens if you go into Settings and manually choose your resolution ? Try resolutions other than the first one in the list and see what happens.

What model of TV is it ?

1 Like

I cycled through all the resolutions and that seemed to have helped the problem with the aspect ratio. The CEC functionally is still missing though on a 2013 Sony W905.

I came here to post about my Philips TV remote not working as with the old RPi but also got an update and now it seems it’s working again. Thanks

1 Like

My Panasonic Vero TV connected to demon x4000 does not work with rc2. Works fine with raspbmc on rpi on the same setup.

cec-client:

permitted by applicable law.
Last login: Sun Apr 12 21:51:39 2015 from 10.0.0.138
osmc@vero-osmc:~$ cec-client -m
starting a monitor-only client. use ‘mon 0’ to switch to normal mode
No device type given. Using ‘recording device’
CEC Parser created - libCEC version 2.2.0
no serial port given. trying autodetect:
path: /dev/mxc_hdmi_cec
com port: i.MX

opening a connection to the CEC adapter…
DEBUG: [ 77] unregistering all CEC clients
DEBUG: [ 78] Broadcast (F): osd name set to ‘Broadcast’
ERROR: [ 79] could not open a connection (try 1)
ERROR: [ 1082] could not open a connection (try 2)
ERROR: [ 2083] could not open a connection (try 3)
ERROR: [ 3084] could not open a connection (try 4)
ERROR: [ 4085] could not open a connection (try 5)
ERROR: [ 5085] could not open a connection (try 6)
ERROR: [ 6086] could not open a connection (try 7)
ERROR: [ 7087] could not open a connection (try 8)
ERROR: [ 8088] could not open a connection (try 9)
ERROR: [ 9089] could not open a connection (try 10)
NOTICE: [ 10090] connection opened
ERROR: [ 10090] could not start CEC communications
unable to open the device on port i.MX

Have you tried turning off the TV and Vero, disconnecting the TV from power source for a couple min, restart TV and set to the appropriate input, then start Vero.

Tried to disconnect the TV from power. Didn’t help. TV hardcoded to only use hdmi2. Denon receiver monitor connected there. Vero connected to denon.

The CEC device driver on the Vero does not allow multiple applications to open it at the same time unlike the CEC device driver on the Pi.

This means cec-client will not be able to open the port unless you first shut down Kodi. To do so:

sudo systemctl stop mediacenter

Now try running cec-client…

Did you exit Kodi when you tried cec-client?

Try


sudo systemctl stop mediacenter

then run cec-client

S

OK, turned off Kodi:

starting a monitor-only client. use ‘mon 0’ to switch to normal mode
No device type given. Using ‘recording device’
CEC Parser created - libCEC version 2.2.0
no serial port given. trying autodetect:
path: /dev/mxc_hdmi_cec
com port: i.MX

opening a connection to the CEC adapter…
DEBUG: [ 61] unregistering all CEC clients
DEBUG: [ 62] Broadcast (F): osd name set to ‘Broadcast’
NOTICE: [ 63] connection opened
DEBUG: [ 64] processor thread started
waiting for input

Pressed some buttons on the TV remote. Should I get debugging info?

I would just run cec-client with no command line options.

Then go into your TV menu and scan for CEC devices and it should find one called “CECTester”. When that is active pressing buttons like arrow buttons and OK on your TV remote should be logged in your cec-client session.

If your TV does not detect anything try other HDMI cables - not all HDMI cables work reliably with CEC and some do not at all. Out of 4 HDMI cables I have on my TV two work properly with CEC, one works only intermittently with CEC but drops out at other times, the fourth doesn’t work with CEC at all!

Not all HDMI cables are made equal when it comes to CEC and it seems that many of the cheap cables do not support CEC.

No CEC for me either using Vero with the supplied HDMI cable. Used to work on PI using RaspBMC.

I use the hdmi cable supplied with the vero. I Could try the hdmi cable connected to raspbmc. Could not figure out how to scan for cec devices on the TV. I managed to get the chromecast identified…

Will try some more tomorrow. Frustrating that it is so much worse than raspbmc. I cannot switch to Vero until I get this working.

TV: Panasonic TX-P42G20E
AVR: Denon X-4000

HDMI-sources on Denon: RaspBMC (HDMI-CEC works), IP-TV-box (motorola), Chromecast, Vero

CEC not working here either, samsung PS50c680,
kodi log just seems to show lots of this line:
21:05:11 T:1731507232 ERROR: CecLogMessage - Write: sent command error !

Same here. BTW using SIMPLINK on my LG to check devices.

I just updated OSMC on Vero and was quite hopeful from previous reports that CEC would now work. However, I could not get it to work after about 4 or 5 attempts of powering off/rebooting everything (TV, Vero and AV amp) and re-scanning for CEC devices.
I then “Hot” swapped the supplied Vero HDMI cable for a different one and CEC worked first time straight away.
So if anyone else is still having issues with CEC it may be worth trying a different HDMI cable.
The supplied Vero HDMI cable looks to be of high build quality on the outside but for me it does not work with CEC whereas the thinner “cheaper looking” cable I replaced it with works no problem.

1 Like

Same here with a Samsung UE55D8090 (CEC always worked with my Raspi an not with Vero). After the last post I tried another HDMI cable - and bingo - it works.
Thanks to Sam for the last patch and thanks to steveE for the hint!

I will investigate what’s up with the HDMI cables and change supplier if necessary. Nonetheless – the last update has addressed some CEC issues

S

I just tried with a different HDMI cable and can confirm CEC started working instantly

Pete