Remote control events repeat several times

Bug #1923660 reported by Martin Heckenbach
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-signed-hwe-5.8 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I think that after latest kernel update to Linux 5.8.0-49-generic there is an issue related (at least) to IR remote control input devices. After a key is pressed the event is repeated 95 times.

This is not related to lirc. This behaviour can be seen by utilizing evtest. After I have pressed a key there are several events recognized by evtest:

$ evtest
No device specified, trying to scan all of /dev/input/event*
Not running as root, no devices may be available.
Available devices:
...
/dev/input/event3: ITE8708 CIR transceiver
...
Select the device event number [0-24]: 3
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1283 product 0x0 version 0x0
Input device name: "ITE8708 CIR transceiver"
Supported events:
...
Event: time 1618343077.094251, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343077.094251, -------------- SYN_REPORT ------------
Event: time 1618343077.226238, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343077.226238, -------------- SYN_REPORT ------------
Event: time 1618343077.358229, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343077.358229, -------------- SYN_REPORT ------------
Event: time 1618343077.490292, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343077.490292, -------------- SYN_REPORT ------------
Event: time 1618343077.622249, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343077.622249, -------------- SYN_REPORT ------------
Event: time 1618343077.754271, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343077.754271, -------------- SYN_REPORT ------------
Event: time 1618343077.886254, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343077.886254, -------------- SYN_REPORT ------------
Event: time 1618343078.018248, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343078.018248, -------------- SYN_REPORT ------------
Event: time 1618343078.150253, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343078.150253, -------------- SYN_REPORT ------------
Event: time 1618343078.282255, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343078.282255, -------------- SYN_REPORT ------------
Event: time 1618343078.414254, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343078.414254, -------------- SYN_REPORT ------------
Event: time 1618343078.546247, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343078.546247, -------------- SYN_REPORT ------------
Event: time 1618343078.678255, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343078.678255, -------------- SYN_REPORT ------------
Event: time 1618343078.810294, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343078.810294, -------------- SYN_REPORT ------------
Event: time 1618343078.942244, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343078.942244, -------------- SYN_REPORT ------------
Event: time 1618343079.074261, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343079.074261, -------------- SYN_REPORT ------------
Event: time 1618343079.206257, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343079.206257, -------------- SYN_REPORT ------------
Event: time 1618343079.338268, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343079.338268, -------------- SYN_REPORT ------------
Event: time 1618343079.470268, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343079.470268, -------------- SYN_REPORT ------------
Event: time 1618343079.602231, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343079.602231, -------------- SYN_REPORT ------------
Event: time 1618343079.734274, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343079.734274, -------------- SYN_REPORT ------------
Event: time 1618343079.866261, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343079.866261, -------------- SYN_REPORT ------------
Event: time 1618343079.998272, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343079.998272, -------------- SYN_REPORT ------------
Event: time 1618343080.130260, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343080.130260, -------------- SYN_REPORT ------------
Event: time 1618343080.262262, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343080.262262, -------------- SYN_REPORT ------------
Event: time 1618343080.394269, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343080.394269, -------------- SYN_REPORT ------------
Event: time 1618343080.526267, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343080.526267, -------------- SYN_REPORT ------------
Event: time 1618343080.658255, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343080.658255, -------------- SYN_REPORT ------------
Event: time 1618343080.790253, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343080.790253, -------------- SYN_REPORT ------------
Event: time 1618343080.922252, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343080.922252, -------------- SYN_REPORT ------------
Event: time 1618343081.054255, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343081.054255, -------------- SYN_REPORT ------------
Event: time 1618343081.186255, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343081.186255, -------------- SYN_REPORT ------------
Event: time 1618343081.318255, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343081.318255, -------------- SYN_REPORT ------------
Event: time 1618343081.450253, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343081.450253, -------------- SYN_REPORT ------------
Event: time 1618343081.582260, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343081.582260, -------------- SYN_REPORT ------------
Event: time 1618343081.714257, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343081.714257, -------------- SYN_REPORT ------------
Event: time 1618343081.846256, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343081.846256, -------------- SYN_REPORT ------------
Event: time 1618343081.978256, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343081.978256, -------------- SYN_REPORT ------------
Event: time 1618343082.110252, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343082.110252, -------------- SYN_REPORT ------------
Event: time 1618343082.242251, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343082.242251, -------------- SYN_REPORT ------------
Event: time 1618343082.374256, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343082.374256, -------------- SYN_REPORT ------------
Event: time 1618343082.506252, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343082.506252, -------------- SYN_REPORT ------------
Event: time 1618343082.638267, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343082.638267, -------------- SYN_REPORT ------------
Event: time 1618343082.770254, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343082.770254, -------------- SYN_REPORT ------------
Event: time 1618343082.902215, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343082.902215, -------------- SYN_REPORT ------------
Event: time 1618343083.034246, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343083.034246, -------------- SYN_REPORT ------------
Event: time 1618343083.166252, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343083.166252, -------------- SYN_REPORT ------------
Event: time 1618343083.298251, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343083.298251, -------------- SYN_REPORT ------------
Event: time 1618343083.430257, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343083.430257, -------------- SYN_REPORT ------------
Event: time 1618343083.562252, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343083.562252, -------------- SYN_REPORT ------------
Event: time 1618343083.694251, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343083.694251, -------------- SYN_REPORT ------------
Event: time 1618343083.826256, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343083.826256, -------------- SYN_REPORT ------------
Event: time 1618343083.958252, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343083.958252, -------------- SYN_REPORT ------------
Event: time 1618343084.090255, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343084.090255, -------------- SYN_REPORT ------------
Event: time 1618343084.222240, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343084.222240, -------------- SYN_REPORT ------------
Event: time 1618343084.354254, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343084.354254, -------------- SYN_REPORT ------------
Event: time 1618343084.486253, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343084.486253, -------------- SYN_REPORT ------------
Event: time 1618343084.618252, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343084.618252, -------------- SYN_REPORT ------------
Event: time 1618343084.750255, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343084.750255, -------------- SYN_REPORT ------------
Event: time 1618343084.882254, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343084.882254, -------------- SYN_REPORT ------------
Event: time 1618343085.014253, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343085.014253, -------------- SYN_REPORT ------------
Event: time 1618343085.146253, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343085.146253, -------------- SYN_REPORT ------------
Event: time 1618343085.278254, type 1 (EV_KEY), code 103 (KEY_UP), value 2
Event: time 1618343085.278254, -------------- SYN_REPORT ------------
Event: time 1618343085.278254, type 1 (EV_KEY), code 103 (KEY_UP), value 0
Event: time 1618343085.278254, -------------- SYN_REPORT ------------

$ lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04

$ uname -a
Linux 5.8.0-49-generic #55~20.04.1-Ubuntu SMP Fri Mar 26 01:01:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Latest update (/var/log/apt/history)
Start-Date: 2021-04-12 21:55:35
Commandline: apt dist-upgrade
Requested-By: heckie (1000)
Install: linux-image-5.4.0-71-generic:amd64 (5.4.0-71.79, automatic), linux-image-5.8.0-49-generic:amd64 (5.8.0-49.55~20.04.1, automatic), linux-headers-5.4.0-71-generic:amd64 (5.4.0-71.79, automatic), linux-hwe-5.8-headers-5.8.0-49:amd64 (5.8.0-49.55~20.04.1, automatic), linux-modules-extra-5.4.0-71-generic:amd64 (5.4.0-71.79, automatic), linux-modules-extra-5.8.0-49-generic:amd64 (5.8.0-49.55~20.04.1, automatic), linux-modules-5.4.0-71-generic:amd64 (5.4.0-71.79, automatic), linux-headers-5.4.0-71:amd64 (5.4.0-71.79, automatic), linux-headers-5.8.0-49-generic:amd64 (5.8.0-49.55~20.04.1, automatic), linux-modules-5.8.0-49-generic:amd64 (5.8.0-49.55~20.04.1, automatic)
Upgrade: linux-headers-generic-hwe-20.04:amd64 (5.8.0.48.54~20.04.32, 5.8.0.49.55~20.04.33), libseccomp2:amd64 (2.4.3-1ubuntu3.20.04.3, 2.5.1-1ubuntu1~20.04.1), linux-headers-generic:amd64 (5.4.0.70.73, 5.4.0.71.74), linux-libc-dev:amd64 (5.4.0-70.78, 5.4.0-71.79), linux-image-generic:amd64 (5.4.0.70.73, 5.4.0.71.74), linux-image-generic-hwe-20.04:amd64 (5.8.0.48.54~20.04.32, 5.8.0.49.55~20.04.33), linux-generic-hwe-20.04:amd64 (5.8.0.48.54~20.04.32, 5.8.0.49.55~20.04.33), linux-generic:amd64 (5.4.0.70.73, 5.4.0.71.74)
End-Date: 2021-04-12 21:57:19

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.8.0-49-generic 5.8.0-49.55~20.04.1
ProcVersionSignature: Ubuntu 5.8.0-49.55~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-49-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: Budgie:GNOME
Date: Tue Apr 13 21:34:23 2021
InstallationDate: Installed on 2020-04-18 (360 days ago)
InstallationMedia: Ubuntu-Budgie 20.04 LTS "Focal Fossa" - Beta amd64 (20200417)
SourcePackage: linux-signed-hwe-5.8
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Martin Heckenbach (heckie75) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed-hwe-5.8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Tobias Brausen (tbrausen) wrote :
Download full text (18.5 KiB)

This bug affects me as well with the mentioned kernel and the next in line:
ubuntu kernel (affected): 5.8.0-49.55~20.04.1
ubuntu kernel (affected): 5.8.0-50.56~20.04.1

With the ubuntu provided mainline kernels (via mainline) the problem does not occur:
mainline kernel (not error): 5.8.0-050800.202008022230
mainline kernel (not error): 5.8.1-050801.202008111432

If during automatic repetition I press another key, this key is then repeated instead but the "counter" is reset and it is repeated another approx. 100 times.

The "value" of the automatically repeated key is "2". The manually pressed key has a value of "1".

root@weaselmice:~# lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04

root@weaselmice:~# uname -a
Linux weaselmice 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

root@weaselmice:~# ir-keytable
Found /sys/class/rc/rc0/ with:
 Name: Media Center Ed. eHome Infrared Remote Transceiver (0609:0334)
 Driver: mceusb
 Default keymap: rc-rc6-mce
 Input device: /dev/input/event7
 LIRC device: /dev/lirc0
 Attached BPF protocols: Operation not supported
 Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon rc-mm
 Enabled kernel protocols: lirc rc-6
 bus: 3, vendor/product: 0609:0334, version: 0x0100
 Repeat delay = 500 ms, repeat period = 125 ms

root@weaselmice:~# evtest /dev/input/event7
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x609 product 0x334 version 0x100
Input device name: "Media Center Ed. eHome Infrared Remote Transceiver (0609:0334)"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 28 (KEY_ENTER)
    Event code 103 (KEY_UP)
    Event code 105 (KEY_LEFT)
    Event code 106 (KEY_RIGHT)
    Event code 108 (KEY_DOWN)
    Event code 111 (KEY_DELETE)
    Event code 113 (KEY_MUTE)
    Event code 114 (KEY_VOLUMEDOWN)
    Event code 115 (KEY_VOLUMEUP)
    Event code 119 (KEY_PAUSE)
    Event code 128 (KEY_STOP)
    Event code 142 (KEY_SLEEP)
    Event code 161 (KEY_EJECTCD)
    Event code 164 (KEY_PLAYPAUSE)
    Event code 167 (KEY_RECORD)
    Event code 168 (KEY_REWIND)
    Event code 174 (KEY_EXIT)
    Event code 207 (KEY_PLAY)
    Event code 208 (KEY_FASTFORWARD)
    Event code 210 (KEY_PRINT)
    Event code 212 (KEY_CAMERA)
    Event code 224 (KEY_BRIGHTNESSDOWN)
    Event code 225 (KEY_BRIGHTNESSUP)
    Event code 226 (KEY_MEDIA)
    Event code 352 (KEY_OK)
    Event code 356 (KEY_POWER2)
    Event code 358 (KEY_INFO)
    Event code 365 (KEY_EPG)
    Event code 366 (KEY_PVR)
    Event code 368 (KEY_LANGUAGE)
    Event code 369 (KEY_TITLE)
    Event code 370 (KEY_SUBTITLE)
    Event code 372 (KEY_ZOOM)
    Event code 373 (KEY_MODE)
    Event code 377 (KEY_TV)
    Event code 385 (KEY_RADIO)
    Event code 386 (KEY_TUNER)
    Event code 387 (KEY_PLAYER)
    Event code 389 (KEY_DVD)
    Event code 392 (KEY_AUDIO)
    Event code 393 (KEY_VIDEO)
    Event code 398 (KEY_RED)
    Event code 399 (KEY_GREEN)
    Event code 400 (KEY_YELLOW)
    Event code 401 (KEY_BLUE)
    Event code 402 (KEY_CHANNELUP)
    Event code 403 (KEY_CHANNELDOWN)
    Event code 407 (KEY_NEXT)
    Event cod...

Revision history for this message
Martin Heckenbach (heckie75) wrote :

I can confirm that the problem is fixed in Ubuntu 20.04 with kernel 5.8.0-59

Issue is solved.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.