Display More
mediacenter:/dev/input # ir-keytable
Found /sys/class/rc/rc1/ (/dev/input/event13) with:
Driver em28xx, table rc-pinnacle-pctv-hd
Supported protocols: rc-5 nec rc-6
Enabled protocols: rc-5
Name: 2-5: em28178#0 IR
bus: 3, vendor/product: 2013:025f, version: 0x0001
Repeat delay = 500 ms, repeat period = 125 ms
Found /sys/class/rc/rc0/ (/dev/input/event4) with:
Driver nuvoton-cir, table rc-rc6-mce
Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony nec sanyo mce-kbd rc-6 sharp xmp
Enabled protocols: lirc
Name: Nuvoton w836x7hg Infrared Remote
bus: 25, vendor/product: 1050:00c5, version: 0x0062
Repeat delay = 500 ms, repeat period = 125 msmediacenter:/dev/input # ir-keytable -t -d /dev/input/event4
Testing events. Please, press CTRL-C to abort.
nothing happens when pressing keys on the remote.dmesg:
[ 3.008765] nuvoton-cir 00:07: found NCT6779D or compatible: chip id: 0xc5 0x62
[ 3.043319] Registered IR keymap rc-rc6-mce
[ 3.043479] input: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:07/rc/rc0/input7
[ 3.044471] rc rc0: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:07/rc/rc0
[ 3.046472] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops 0xffffffff81d31440)
[ 3.054433] lirc_dev: IR Remote Control driver registered, major 245
[ 3.059184] IR LIRC bridge handler initialized
[ 3.063650] rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
[ 3.063699] nuvoton-cir 00:07: driver has been successfully loaded
Could you upload the full dmesg (just do "dmesg | paste" and post the URL) and lsmod output?
Are you using userspace lirc (i.e. have you create a lircd.conf in the .config dir)? Are you running ir-keytable or other commands via http://autostart.sh/udev rules/... to setup a custom remote configuration? Which protocol/configuration are you using on your oneforall remote, is it MCE?
If you are using the nuvoton IR receiver (of your zbox) and the remote configured to (rc6) MCE protocol could you try running "ir-keytable -p rc-6 /sys/class/rc/rc0/" (double check if rc0 really is the nuvoton, it could also be rc1 since you have 2 IR receivers installed) and test if you get any events via "ir-keytable -t"?
It's quite odd that on the nuvoton IR the only enabled protocol is lirc and not lirc + rc-6. The kernel should enable the rc-6 protocol from loading the rc-rc6-mce keymap. But there's also a kernel bug, even if it enables the rc-6 protocol it didn't load the rc-6 protocol decoder - so decoding doesn't work. Manually enabling the protocol (eg via ir-keytable -p) triggers protocol decoder loading and decoding works fine again. I've already reported that bug and it was confirmed: Bug: decoders referenced in kernel rc-keymaps not loaded on boot — Linux media
so long,
Hias