Comment 0 for bug 1730958

Revision history for this message
Charles (charles-bovy) wrote :

Current setup/failing setup:
Linux frontend01 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 4.13.0-17.20-generic 4.13.8
Ubuntu 17.10, 4.13.0-17-generic
Nuvoton w836x7hg Infrared Remote Transceiver
Zotac ID42

Working setup:
Ubuntu 17.10, 4.4.8-040408-generic

I'm not able to get the remote working after a normal reboot (using 4.13 kernel)
It does actually after a suspend and wake-up, and do a echo 'auto' to resources.

Please find snapshot of dmesg below:

[ 14.067757] nuvoton-cir 00:0a: found NCT6776F or compatible: chip id: 0xc3 0x33
[ 14.468143] rc rc0: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:0a/rc/rc0
[ 14.468227] input: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:0a/rc/rc0/input7
[ 14.468484] rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
[ 14.468526] nuvoton-cir 00:0a: driver has been successfully loaded

<snip>
modprobe -r nuvoton-cir
echo "auto" > /sys/bus/acpi/devices/NTN0530\:00/physical_node/resources
modprobe nuvoton-cir
<snip>

[ 66.231365] nuvoton-cir 00:0a: found NCT6776F or compatible: chip id: 0xc3 0x33
[ 66.231610] rc rc0: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:0a/rc/rc0
[ 66.231758] input: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:0a/rc/rc0/input13
[ 66.232140] rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
[ 66.232240] nuvoton-cir 00:0a: driver has been successfully loaded

<snip> suspend/resume

[ 105.890769] nuvoton-cir 00:0a: disabled
[ 106.651982] nuvoton-cir 00:0a: activated

<snip>
modprobe -r nuvoton-cir
echo "auto" > /sys/bus/acpi/devices/NTN0530\:00/physical_node/resources
modprobe nuvoton-cir
<snip>

[ 138.549572] nuvoton-cir 00:0a: found NCT6776F or compatible: chip id: 0xc3 0x33
[ 138.549839] rc rc0: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:0a/rc/rc0
[ 138.551225] input: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:0a/rc/rc0/input17
[ 138.552171] rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
[ 138.552256] nuvoton-cir 00:0a: driver has been successfully loaded

In order to get the device working I need the following in this order:
* suspend/resume
* echo "auto" > /sys/bus/acpi/devices/NTN0530\:00/physical_node/resources