You are not logged in.

#1 2017-12-11 20:45:44

morarch
Member
Registered: 2015-10-06
Posts: 5

Double key presses with IR remote in lirc since kernel 4.14

Hello,

since I upgraded to kernel 4.14.3 (persists in 4.14.4) every key press of my infrared remote is registered twice. I have first noticed the problem using kodi and can reproduce it with irw. Downgrading to 4.13.12 brings back the correct behaviour.
The IR receiver ITE8708 CIR is built into the Intel NUC Kit NUC7I3BNH.

lirc is using the default devinput.lircd.conf. Removing lirc and its configuration and reinstalling the package didn't help.

Here are the relevant config files:

/etc/lirc/lircd.conf

include "lircd.conf.d/*.conf"

/etc/lirc/lirc_options.conf

[lircd]
nodaemon        = False
driver          = devinput
device          = auto
output          = /var/run/lirc/lircd
pidfile         = /var/run/lirc/lircd.pid
plugindir       = /usr/lib/lirc/plugins
permission      = 666
allow-simulate  = No
repeat-max      = 600
#effective-user =
#listen         = [address:]port
#connect        = host[:port]
#loglevel       = 6
#release        = true
#release_suffix = _EVUP
#logfile        = ...
#driver-options = ...

[lircmd]
uinput          = False
nodaemon        = False

/etc/lirc/lircd.conf.d/devinput.lircd.conf
as is provided by the package. With the one conf retrieved through irdb-get download devinput/devinput.lircd.conf nothing changes.

Running lircd through systemd, executing irw and pressing a key on the remote once produces this output:

000000008001006a 00 KEY_RIGHT devinput-32
000000008001006a 00 KEY_RIGHT devinput-32

Without running lircd and executing ir-keytable -t:

1513024597.015868: event type EV_MSC(0x04): scancode = 0x800f0421
1513024597.015868: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x006a)
1513024597.015868: event type EV_SYN(0x00).
1513024597.122435: event type EV_MSC(0x04): scancode = 0x800f0421
1513024597.122435: event type EV_SYN(0x00).
1513024597.289666: event type EV_KEY(0x01) key_up: KEY_RIGHT(0x006a)
1513024597.289666: event type EV_SYN(0x00).
1513024597.359754: event type EV_MSC(0x04): scancode = 0x800f0421
1513024597.359754: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x006a)
1513024597.359754: event type EV_SYN(0x00).
1513024597.529698: event type EV_KEY(0x01) key_up: KEY_RIGHT(0x006a)
1513024597.529698: event type EV_SYN(0x00).

ir-keytable

Found /sys/class/rc/rc0/ (/dev/input/event8) with:
	Driver ite-cir, table rc-rc6-mce
	Supported protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp 
	Enabled protocols: lirc rc-6 
	Name: ITE8708 CIR transceiver
	bus: 25, vendor/product: 1283:0000, version: 0x0000
	Repeat delay = 500 ms, repeat period = 125 ms

----

Running the same procedure on kernel 4.13.12:
irw

000000008001006a 00 KEY_RIGHT devinput-32
000000008001006a 01 KEY_RIGHT devinput-32

ir-keytable -t

1513026122.616733: event type EV_MSC(0x04): scancode = 0x800f0421
1513026122.616733: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x006a)
1513026122.616733: event type EV_SYN(0x00).
1513026122.722047: event type EV_MSC(0x04): scancode = 0x800f0421
1513026122.722047: event type EV_SYN(0x00).
1513026122.959767: event type EV_MSC(0x04): scancode = 0x800f0421
1513026122.959767: event type EV_SYN(0x00).
1513026123.132207: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x006a)
1513026123.132207: event type EV_SYN(0x00).
1513026123.212292: event type EV_KEY(0x01) key_up: KEY_RIGHT(0x006a)
1513026123.212292: event type EV_SYN(0x00).

ir-keytable

Found /sys/class/rc/rc0/ (/dev/input/event8) with:
	Driver ite-cir, table rc-rc6-mce
	Supported protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp 
	Enabled protocols: lirc rc-6 
	Name: ITE8708 CIR transceiver
	bus: 25, vendor/product: 1283:0000, version: 0x0000
	Repeat delay = 500 ms, repeat period = 125 ms

Additionally the lirc package is currently out of date. I have modified the PKGBUILD to build and install lirc in version 0.10.1. But the problem still persists.

Last edited by morarch (2017-12-11 21:28:07)

Offline

#2 2018-07-06 08:54:45

geeuz
Member
Registered: 2018-07-06
Posts: 1

Re: Double key presses with IR remote in lirc since kernel 4.14

Same behavior here with 4.15, does anybody has a solution?

Offline

Board footer

Powered by FluxBB