You are not logged in.

#1 2018-05-02 18:18:24

Curly060
Member
Registered: 2015-03-05
Posts: 14

Nuvoton w836x7hg Infrared not working any more since Kernel 4.16

Hi,

I have a Zotac ZBOX nano ID62 which has a builtin Nuvoton w836x7hg Infrared Remote Transceiver.
Starting with Kernel 4.16 the infrared remote has stopped working. Using "ir-keytable -t" does not produce any result when pressing keys on the IR remote. On 4.15.x kernels the same command works as expected. I have specifically tested it with 4.15.15-1 and 4.16.1-1 kernels, so it is a regression from 4.15 to 4.16. I have compared the kernel source between those versions and indeed there was some refactoring in exactly this area.

Can anyone confirm this? And where do I file a bug report about this?

Cheers, Curly060 =;->

Offline

#2 2018-05-02 18:36:13

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Nuvoton w836x7hg Infrared not working any more since Kernel 4.16

Offline

#3 2018-05-22 11:47:42

JackArc
Member
Registered: 2017-05-13
Posts: 7

Re: Nuvoton w836x7hg Infrared not working any more since Kernel 4.16

i can confirm this. i have the same IR receiver Nuvoton w836x7hg on my Intel Nuc. after upgrading to kernel 4.16 it stopped working. on kernel 4.15 it works just fine. some guys from gentoo mentioned same problem
https://forums.gentoo.org/viewtopic-t-1 … 5e7b4e14be

curly060 did u send a bug report?

Offline

#4 2018-05-23 20:16:16

ThomasG
Member
Registered: 2011-05-16
Posts: 5

Re: Nuvoton w836x7hg Infrared not working any more since Kernel 4.16

I have run into the same problem with my Asrock Media box.

Meanwhile there seems to be an open Kernel Bug:

https://bugzilla.kernel.org/show_bug.cgi?id=199597

Offline

#5 2018-05-23 20:41:40

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Nuvoton w836x7hg Infrared not working any more since Kernel 4.16

The bug report contains a series of patches you could try.  I would then suggest reporting the issue to linux-media@vger.kernel.org as per

perl scripts/get_maintainer.pl drivers/media/rc/nuvoton-cir.c
Mauro Carvalho Chehab <mchehab@kernel.org> (maintainer:MEDIA INPUT INFRASTRUCTURE (V4L/DVB),commit_signer:3/3=100%)
Sean Young <sean@mess.org> (commit_signer:3/3=100%,authored:2/3=67%,added_lines:3/6=50%)
Heiner Kallweit <hkallweit1@gmail.com> (commit_signer:1/3=33%,authored:1/3=33%,added_lines:3/6=50%,removed_lines:111/114=97%)
Hans Verkuil <hans.verkuil@cisco.com> (commit_signer:1/3=33%)
linux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB))
linux-kernel@vger.kernel.org (open list)

Offline

#6 2018-05-28 23:16:33

Curly060
Member
Registered: 2015-03-05
Posts: 14

Re: Nuvoton w836x7hg Infrared not working any more since Kernel 4.16

JackArc wrote:

i can confirm this. i have the same IR receiver Nuvoton w836x7hg on my Intel Nuc. after upgrading to kernel 4.16 it stopped working. on kernel 4.15 it works just fine. some guys from gentoo mentioned same problem
https://forums.gentoo.org/viewtopic-t-1 … 5e7b4e14be

curly060 did u send a bug report?

Sorry for the late response. Yes, I sent a bug report (ash ThomasG has already mentioned):
https://bugzilla.kernel.org/show_bug.cgi?id=199597

I have tried the series of patches and they indeed fix the problem for me.

Cheers, Curly060 =;->

Offline

#7 2018-05-28 23:25:53

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Nuvoton w836x7hg Infrared not working any more since Kernel 4.16

The patches are not included in 4.17-rc7 so you will need to keep patching the kernels for a while.

Offline

#8 2018-05-28 23:27:19

Curly060
Member
Registered: 2015-03-05
Posts: 14

Re: Nuvoton w836x7hg Infrared not working any more since Kernel 4.16

loqs wrote:

The bug report contains a series of patches you could try.  I would then suggest reporting the issue to linux-media@vger.kernel.org as per

perl scripts/get_maintainer.pl drivers/media/rc/nuvoton-cir.c
Mauro Carvalho Chehab <mchehab@kernel.org> (maintainer:MEDIA INPUT INFRASTRUCTURE (V4L/DVB),commit_signer:3/3=100%)
Sean Young <sean@mess.org> (commit_signer:3/3=100%,authored:2/3=67%,added_lines:3/6=50%)
Heiner Kallweit <hkallweit1@gmail.com> (commit_signer:1/3=33%,authored:1/3=33%,added_lines:3/6=50%,removed_lines:111/114=97%)
Hans Verkuil <hans.verkuil@cisco.com> (commit_signer:1/3=33%)
linux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB))
linux-kernel@vger.kernel.org (open list)

The author of the patch series has already done that and there has already been a discussion about it:
https://www.spinics.net/lists/linux-med … 34773.html

So with some luck it will be fixed in 4.17 kernel. as loqs mentioned: not in 4.17-rc7

Cheers, Curly060 =;->

Last edited by Curly060 (2018-05-28 23:29:34)

Offline

#9 2018-05-28 23:33:45

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Nuvoton w836x7hg Infrared not working any more since Kernel 4.16

Just found https://www.spinics.net/lists/linux-med … 35159.html mentions a pull request and there is at least until Sunday before 4.17 is released so Linus could still pull it.
Edit:
https://git.linuxtv.org/media_tree.git/ … 56c5823f6d

Last edited by loqs (2018-05-28 23:41:53)

Offline

Board footer

Powered by FluxBB