[Solved] IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

For discussion of topics specific to MythTV on linux
Post Reply
User avatar
heyted
Senior
Posts: 301
Joined: Sun Jun 08, 2014 2:14 am
Location: South Florida
Contact:
United States of America

[Solved] IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by heyted »

After pressing a key on my IR remote, the key is repeated about 500 times. Is anyone else having this issue?

This is also being discussed on the mailing list: https://lists.archive.carbon60.com/mythtv/users/636833

I filed a bug report here: https://bugs.launchpad.net/ubuntu/+sour ... ug/1926030
Last edited by heyted on Mon May 10, 2021 11:06 pm, edited 1 time in total.
Ted | My blog
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by wesnewell »

Never ran the 5.8.0 kernel. Suggest you got to this and see if it fixes the problem.
wes@mythfe0:~$ ir-keytable -V
IR keytable control version 1.18.0
wes@mythfe0:~$ uname -a
Linux mythfe0 5.10.0-1023-oem #24-Ubuntu SMP Thu Apr 15 13:46:37 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
wes@mythfe0:~$ lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04

Or 5.4.0-71 kernel.
Ref:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1901089
Last edited by wesnewell on Sun Apr 25, 2021 4:57 pm, edited 1 time in total.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by paulh »

Yeah my parents box suddenly started to behave oddly with each key press sending 100's of key presses causing the box to momentarily lock up making it unusable.

I just reinstalled the previous working kernel (5.8.0-48-generic) and adjusted grub to use that for now until they sort it out.

You can install any kernel using something like

Code: Select all

sudo apt install linux-image-5.8.0-45-generic
If you want grub to load that kernel automatically one easy way, not necessarily the best way :), is to edit /etc/default/grub

Code: Select all

sudo nano /etc/default/grub
and change the GRUB_DEFAULT to something like:-

Code: Select all

GRUB_DEFAULT="1>2"
The entry numbers start at 0 so that means select the 2nd menu entry 'Advanced Options for Ubuntu' then the 3rd menu entry 'Ubuntu, with Linux 5.8.0-45-generic' in the grub menu.
User avatar
heyted
Senior
Posts: 301
Joined: Sun Jun 08, 2014 2:14 am
Location: South Florida
Contact:
United States of America

Re: IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by heyted »

Thanks Wes N and Paul H. To update this, kernel 5.8.0-52.59 appears to have solved this problem.

https://bugs.launchpad.net/ubuntu/+sour ... omments/23
Ted | My blog
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: [Solved] IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by paulh »

Just done an upgrade on Ubuntu 20.10 which upgraded the kernel to 5.8.0-53.60 and the problem is still present :(
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: [Solved] IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by wesnewell »

Check for kernels 5.10.0-xxxx available for your distro. Earlier ones are screwed up, but any after 5.10.0-1023 should be ok. At least this one works fine and they are available for 20.04LTS. Any kernel with a compile date from 09-2020 to 03-2021 has the potential of being screwed up depending on the compilers sources.AFAIK, All later 5.8, all 5.9, and early 5.10 kernels were screwed.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: [Solved] IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by paulh »

I just upgraded my FE's to 21.04 and all works fine with the 5.11.0-17 kernel. Another clean upgrade with no problems - well done Ubuntu :D
User avatar
heyted
Senior
Posts: 301
Joined: Sun Jun 08, 2014 2:14 am
Location: South Florida
Contact:
United States of America

Re: [Solved] IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by heyted »

For Ubuntu Groovy (20.10) users affected by this bug, there is a request for someone to test a proposed kernel.

https://bugs.launchpad.net/ubuntu/+sour ... ug/1926030
Ubuntu Kernel Bot wrote:
Sat Jun 05, 2021 11:00 pm
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-groovy' to 'verification-done-groovy'. If the problem still exists, change the tag 'verification-needed-groovy' to 'verification-failed-groovy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-groovy
Ted | My blog
kbocek
Senior
Posts: 201
Joined: Mon Jul 20, 2015 4:42 pm
United States of America

Re: [Solved] IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by kbocek »

I know this is a year-old thread but I am having the same issue with IR key-presses being repeated endlessly. I am on Ubuntu 18.04.6 LTS. I have tried multiple kernels installed via ubuntu-mainline-kernel.sh. *All* show this behavior. I currently have 5.12.19-051219-generic installed.

Does anyone have a fix for this problem?

Edit:

Discovered that lircd was running in the background. I stopped and disabled lircd and the issue went away.
ssorbom
Newcomer
Posts: 3
Joined: Mon Sep 20, 2021 10:37 pm
United States of America

Re: [Solved] IR Remote Keys Repeat Many Times Starting with Kernel 5.8.0-49

Post by ssorbom »

I am currently on 22.04, and experiencing it too. BUT ONLY if my IR receiver was plugged in at boot.
Post Reply