[SOLVED] Raspberry CEC - repeated inputs

Hello!

I had this bug for ages, the remote repeats inputs way too fast.

I’ve been fiddeling with the configuration in /home/osmc/.kodi/userdata/peripheral_data/rpi_2708_1001.xml

<setting id="button_release_delay_ms" value="0" /> (tested values between 0 and 2500)
<setting id="button_repeat_rate_ms" value="500" /> (tested values between 0 and 2500)
<setting id="double_tap_timeout_ms" value="600" /> (tested values between 0 and 2500)

but whatever I set these to it does not seam to change anything.

I’ve also tried advancedsettings.xml

<advancedsettings>
<remoterepeat>800</remoterepeat>
</advancedsettings>

but no fix…

Any ideas out there? Been annoying me for a long while now.

If it makes any difference, its cec over hdmi with a panasonic plasma.

output from the log:

fastest possible click (hard to accomplish):

14:17:12 T:1861219360   DEBUG: PushCecKeypress - received key a8 duration 0
14:17:12 T:1956941824   DEBUG: OnKey: 168 (0xa8) pressed, action is Right
14:17:13 T:1861219360   DEBUG: PushCecKeypress - received key a8 duration 76

normal click (only jumped once):

14:17:11 T:1861219360   DEBUG: PushCecKeypress - received key a8 duration 0
14:17:11 T:1956941824   DEBUG: OnKey: 168 (0xa8) pressed, action is Right
14:17:12 T:1861219360   DEBUG: PushCecKeypress - received key a8 duration 207

just a bit longer, jumps twice… :

14:17:13 T:1861219360   DEBUG: PushCecKeypress - received key a8 duration 0
14:17:13 T:1956941824   DEBUG: OnKey: 168 (0xa8) pressed, action is Right
14:17:14 T:1861219360   DEBUG: PushCecKeypress - received key a8 duration 0
14:17:14 T:1956941824   DEBUG: OnKey: 168 (0xa8) pressed, action is Right
14:17:14 T:1861219360   DEBUG: PushCecKeypress - received key a8 duration 349

Noone has experienced the same?

Did you try adjusting the repeat settings in Settings->System->Input Devices->Peripherals->CEC ?

Yes, Maximum is 500ms and its not enough, setting it to lowest makes the remote completely unusable, so it does change the repeat time. and even if it is set at 500ms it seams it ‘double-clicks’ even at relative short button presses (~250ms)

Try with delay=500, repeat=200, release=0

Those are the settings that works best, but the remote still does double clicks on presses ~250ms.

Would it be possible to increase delay to more than 500? I dont see any difference with manual change.

I changed /usr/share/kodi/system/peripherals.xml

<setting key="double_tap_timeout_ms" type="int" min="50" max="1500" step="50" value="300" label="38050" order="16" />
<setting key="button_repeat_rate_ms" type="int" min="0" max="1250" step="10" value="0" label="38051" order="17" />
<setting key="button_release_delay_ms" type="int" min="0" max="500" step="50" value="0" label="38052" order="18" />

now I can make changes that works! woho!

Good settings for our remote is delay 650, repeat 250 and release 0

Thanks

I made this request on github issues - no response:

Thanks

Hi, i know this is an old post, but i would just like to thank you, and confirm, i had the same problem on my Philips TV (model 7000), and the solution you provided really help.

Thanks.