FS#49788 - [linux-lts] IR receiver not worked at all with kernel 4.4.13-1-lts

Attached to Project: Arch Linux
Opened by V.I.S. (BytEvil) - Tuesday, 21 June 2016, 05:50 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 30 August 2016, 13:13 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In kernel version 4.4.13-1-lts (current at the time of this writing) my IR receiver has stopped working. I see no output from my remote when using ir-keytable -v, all configurations look right and there are no output in dmesg or ir-keytable. However it works with kernel version 4.5.4-1 and 4.6.


Additional info:
[root@KODI ~]# lsusb (doesn't display all devices)
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[root@KODI ~]# ir-keytable -v
Couldn't find any node at /sys/class/rc/rc*.

[root@KODI ~]# dmesg|grep -i ir (after modprobe mceusb command)
[ 215.255380] IR NEC protocol handler initialized
[ 215.259812] IR RC5(x) protocol handler initialized
[ 215.266093] IR RC6 protocol handler initialized
[ 215.269834] IR JVC protocol handler initialized
[ 215.276279] IR Sony protocol handler initialized
[ 215.282589] IR MCE Keyboard/mouse protocol handler initialized
[ 215.286837] lirc_dev: IR Remote Control driver registered, major 244
[ 215.290623] IR LIRC bridge handler initialized

My computer and the IR receiver works again when using the 4.5.4-1 kernel.
---------------------------------------------------------------------------------
ir-keytable -v
Found device /sys/class/rc/rc0/
Input sysfs node is /sys/class/rc/rc0/input29/
Event sysfs node is /sys/class/rc/rc0/input29/event26/
Parsing uevent /sys/class/rc/rc0/input29/event26/uevent
/sys/class/rc/rc0/input29/event26/uevent uevent MAJOR=13
/sys/class/rc/rc0/input29/event26/uevent uevent MINOR=90
/sys/class/rc/rc0/input29/event26/uevent uevent DEVNAME=input/event26
Parsing uevent /sys/class/rc/rc0/uevent
/sys/class/rc/rc0/uevent uevent NAME=rc-rc6-mce
/sys/class/rc/rc0/uevent uevent DRV_NAME=mceusb
input device is /dev/input/event26
/sys/class/rc/rc0/protocols protocol rc-5 (disabled)
/sys/class/rc/rc0/protocols protocol nec (disabled)
/sys/class/rc/rc0/protocols protocol rc-6 (enabled)
/sys/class/rc/rc0/protocols protocol jvc (disabled)
/sys/class/rc/rc0/protocols protocol sony (disabled)
/sys/class/rc/rc0/protocols protocol mce_kbd (disabled)
/sys/class/rc/rc0/protocols protocol lirc (disabled)
Found /sys/class/rc/rc0/ (/dev/input/event26) with:
Driver mceusb, table rc-rc6-mce
Supported protocols: lirc rc-5 jvc sony nec mce-kbd rc-6
Enabled protocols: rc-6
Name: Media Center Ed. eHome Infrared
bus: 3, vendor/product: 1934:5168, version: 0x0001
Repeat delay = 500 ms, repeat period = 125 ms
--------------------------------------------------------------------------

dmesg|grep -i ir
[ 4.225910] IR NEC protocol handler initialized
[ 4.228314] IR RC5(x) protocol handler initialized
[ 4.230584] IR RC6 protocol handler initialized
[ 4.232749] IR JVC protocol handler initialized
[ 4.235896] IR Sony protocol handler initialized
[ 4.238175] IR MCE Keyboard/mouse protocol handler initialized
[ 4.240797] lirc_dev: IR Remote Control driver registered, major 243
[ 4.242648] IR LIRC bridge handler initialized
[ 4.251388] Registered IR keymap rc-rc6-mce
[ 4.251511] input: MCE IR Keyboard/Mouse (mceusb) as /devices/virtual/input/input30
[ 4.251789] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 30 August 2016, 13:13 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Thursday, 23 June 2016, 05:43 GMT
Is it supposed to work? Is it possible support was just added in 4.5?
Comment by V.I.S. (BytEvil) - Friday, 24 June 2016, 11:24 GMT
My IR receiver worked fine on non lts 4.4.x kernel.
Comment by Andreas Radke (AndyRTR) - Friday, 24 June 2016, 19:37 GMT
Please check with lsmod your stock kernel what module is used. Maybe some module is missing in lts kernel config.
Comment by V.I.S. (BytEvil) - Monday, 27 June 2016, 06:06 GMT
rc_core module is not included in lts-kernel (in 4.4.14-1 too), but lirc_dev module is present.
Comment by Andreas Radke (AndyRTR) - Tuesday, 28 June 2016, 19:39 GMT
Please pipe lsmod output through "sort". Right now I can't see what module is missing.

Both kernels contain rc-core module.

andyrtr@laptop64:/home/andyrtr $ pacman -Ql linux-lts | grep -i rc-core
linux-lts /usr/lib/modules/4.4.14-1-lts/kernel/drivers/media/rc/rc-core.ko.gz
andyrtr@laptop64:/home/andyrtr $ pacman -Ql linux | grep -i rc-core
linux /usr/lib/modules/4.6.3-1-ARCH/kernel/drivers/media/rc/rc-core.ko.gz
Comment by V.I.S. (BytEvil) - Tuesday, 30 August 2016, 08:38 GMT
All worked fine with 4.4.19-1 LTS kernel.

Loading...