IR keys repeated when Kodi is running and LG TV connected

Hi Sam,

Nothing else is connected to my TV.
lirc & eventlircd setup is exactly the same on both the Vero and RPI. Only difference is that RPI uses TSOP IR sensor, which is connected to GPIO pins.

I’ve swapped HDMI cable from Vero to RPI and the remote is working without issues at the RPI.

Nick

Unfortunately I am out of ideas.
We could swap the hardware over – but I can’t think of why it would work well in one environment and not another.

Sam

Hi Sam,

I discovered something very interesting. My IR remote works most of the time when I place the Vero on top of the dark Vero packaging. As soon as I place the Vero back on the wood of the TV cabinet, the issue returns.

When the Vero is placed on my black wooden center speaker, issue is present. When I place the packaging between the speaker and the Vero, issue is gone.

Weird…

Can you take a photo of the living room setup?

No problem. Let me know if you need additional photos.


Not sure still unfortunately

Ok thanks for checking. Never had IR issues with other devices and my all-in-one remote.

Can we swap the hardware? Let’s hope that fixes the issue.

Nick

Sure, ping support@osmc.tv.

Sam

Is that the Vero 4K IR extension in front of the speaker and behind the cable, or is that for another device (like the Pi)?

If so, have you tried unplugging the IR extension from the Vero? If not, have you tried using the IR extension for the Vero?
ZoomIn

That’s the Vero IR extension. It’s not connected at the moment, because the Vero is currently in line of sight.

I’ve tested both internal IR receiver and the extender. When I tested the extender, I placed the Vero inside the TV cabinet with door closed and internal IR sensor masked with electrical tape. Issue is still present, but when I place the Vero on top op the packaging box, there’s an improvement. That’s very weird, because the IR light should not reach the internal sensor. I’ve double checked that the IR light cannot reach the internal sensor, by unplugging the IR extender.

I’ve received a new Vero box from Sam and the issue is solved! :smiley: I’m not 100% certain if the new box solved the issue, or a new firmware update of my TV (TV was auto-updated before I received the new Vero).

Using the LIRC profile that was created with irrecord on a RPI3 IR performance was not optimal (had to press a button twice). I replaced it with the builtin Xbox 360 LIRC profile and applied the same profile to my all-in-one remote. Now IR response is great.

The only thing that’s not optimal is that some remote presses seem to be ignored when I’m controlling the Live TV OSD (video/audio settings, etc).

I suspect the issue was resolved due to some changes we made in the May update with regards to remote support.

Sam

Thanks for your reply Sam.

Good to read that OSMC is frequently updated. You could be right, my first Vero unit was not tested with the Leia May update (only Leia nightly).

Do you know a way to improve IR performance for the Live TV OSD? Are presses missed due to system load/disabled interrupts? I haven’t tested thoroughly, but didn’t experience missed remote presses when using the OSD for movies (DLNA streaming). I noticed that movies use AC3 bitstreaming and Live TV uses AC3 decoding (resulting in increase load?)

Nick

You could use kernel based decoding which would improve performance. See IR Remote stops working with uPNP streaming. This is the way we want to handle remotes in the future.

Sam

Thanks Sam.

I followed your advice and (completely) disabled LIRC and eventlircd (masked service eventlircd). I’ve modified 60-ir-keytable.rules to load RC-6 protocol and my custom mapping. Because Kodi now recognises the device as keyboard, I’ve modified the remote keys to the correct keyboard keys for Kodi.

The missed keypresses when watching Live TV are gone!

Nick

I’m glad to hear this, thanks for the reports.
This is the future approach that we’d like to use with My OSMC 2.0

Sam

Hi Sam,

I’ve got an update after using ir-keytable (+external IR sensor) method for ~2 weeks. I was still experiencing missed pressed during playback. Wife told me that there was no improvement compared to the LIRC method.

I decided to buy a FLIRC sensor. So far, IR response is very good. Now I’m 100% happy with the device.

I forget: are you using WiFi for Wired Ethernet? We have some improvements (soon) for WiFi which will improve performance.

I will see if I can improve the kernel module for the IR sensor’s response a bit as well.

Sam

Hi Sam,

I use wired ethernet. I’m more than happy to test updates for you. Just let me know :slightly_smiling_face:

Nick

Thanks for confirming. That eliminates one variable.

Is this only an issue with Live TV or does it affect other playback too?

Sam