Erroneous double-presses in Kodi

I have relatively long release_delay=200 in remote.conf.
Actual delay occasionally happens even bigger - >400msec, causing Kodi to register double-presses on single key press.
Why is that?

#amlogic NEC remote
factory_code    = 0x79840001
work_mode       = 0
repeat_enable   = 1
#repeat_delay    = 130
repeat_delay    = 50
repeat_peroid   = 120
release_delay   = 200
debug_enable    = 1

@anon88919003

1 Like

same problem here - at the moment i use kore on my tablet to workaround this

Working zone for the delay seem to be very narrow for me, <40ms:
110 < release_delay < 150

you can try this settings

repeat_delay = 120
repeat_peroid = 33
release_delay	=	121

Thanks, I’ve already applied this release_delay value.
It seem works but sometimes some presses still skipped:

Oct 11 03:26:30.686310 CoreELEC kernel: remote: press ircode = 0x00,
Oct 11 03:26:30.686827 CoreELEC kernel: remote: 
Oct 11 03:26:30.687127 CoreELEC kernel: scancode = 0x006c,maptable = 0,code:0xff007984
Oct 11 03:26:30.935802 CoreELEC kernel: remote: release ircode = 0x00,
Oct 11 03:26:30.936069 CoreELEC kernel: remote: scancode = 0x006c, maptable = 0,code:0x00000000
Oct 11 03:26:31.055855 CoreELEC kernel: remote: Wrong custom code is 0xfc01f984
Oct 11 03:26:40.535899 CoreELEC kernel: remote: press ircode = 0x00,
Oct 11 03:26:40.536779 CoreELEC kernel: remote: 
Oct 11 03:26:40.537258 CoreELEC kernel: scancode = 0x006c,maptable = 0,code:0xff007984

I have following in my android’s mesongxl.dtsi and I don’t recall any problems with it:

        remote:rc@c8100580 {
                compatible = "amlogic, aml_remote";
                dev_name = "meson-remote";
                reg = <0x0 0xc8100580 0x00 0x44>, /*Multi-format IR controller*/
                        <0x0 0xc8100480 0x00 0x20>; /*Legacy IR controller*/
                status = "okay";
                protocol = <REMOTE_TYPE_NEC>;
                interrupts = <0 196 1>;
                pinctrl-names = "default";
                pinctrl-0 = <&remote_pins>;
                map = <&custom_maps>;
                max_frame_time = <200>; /*set software decoder max frame time*/
        };

I wonder what the reg values mean, and shouldn’t I reproduce something from that section in my remote.conf somehow?
@anon88919003 @Portisch

your factory_code is wrong in remote.conf

As I said, it happens occasionally. Most of the time it works ok