2014-07-21, 12:39
Hello,
I'm posting here as a last resort after googling a lot.
The Intel NUC has a built-in infrared receiver. I followed the instructions on the wiki ( http://wiki.xbmc.org/index.php?title=Int...onsumer_IR ) to fix the built-in CIR.
I set up the Harmony like this:
Manufacturer: Microsoft
Device: MCE Keyboard (manual input. this is the only fully working solution for me, I tried with 'XBMC' and 'Windows Media Center SE', but some buttons did not work at all or were registered twice randomly within XBMC)
I get multiple (infinite) button presses when I press a single button rapidly.
Example (tested either with 'irw' or 'ir-keytable -t':
Press the button '1' -> one key registered
Press the button '1' twice, within half a second -> I get two keypresses, then, after a small delay, it continues to register '1' indefinitely as if I were keeping it pressed.
Covering the remote IR doesn't stop it, so I guess this is a software issue. Obviously, scrolling through lists within XBMC is a nightmare.
Here are some outputs, please ask me for more if needed.
I don't even know what to look for anymore to debug this...
Thank you
I'm posting here as a last resort after googling a lot.
The Intel NUC has a built-in infrared receiver. I followed the instructions on the wiki ( http://wiki.xbmc.org/index.php?title=Int...onsumer_IR ) to fix the built-in CIR.
I set up the Harmony like this:
Manufacturer: Microsoft
Device: MCE Keyboard (manual input. this is the only fully working solution for me, I tried with 'XBMC' and 'Windows Media Center SE', but some buttons did not work at all or were registered twice randomly within XBMC)
I get multiple (infinite) button presses when I press a single button rapidly.
Example (tested either with 'irw' or 'ir-keytable -t':
Press the button '1' -> one key registered
Press the button '1' twice, within half a second -> I get two keypresses, then, after a small delay, it continues to register '1' indefinitely as if I were keeping it pressed.
Covering the remote IR doesn't stop it, so I guess this is a software issue. Obviously, scrolling through lists within XBMC is a nightmare.
Here are some outputs, please ask me for more if needed.
Code:
$ dmesg | grep IR (relevant lines)
[ 5.138300] Registered IR keymap rc-rc6-mce
[ 5.146866] IR RC5(x) protocol handler initialized
[ 5.148317] IR NEC protocol handler initialized
[ 5.150544] IR JVC protocol handler initialized
[ 5.150926] IR RC6 protocol handler initialized
[ 5.151723] IR Sony protocol handler initialized
[ 5.155112] IR SANYO protocol handler initialized
[ 5.156672] input: MCE IR Keyboard/Mouse (nuvoton-cir) as /devices/virtual/input/input11
[ 5.157594] IR MCE Keyboard/mouse protocol handler initialized
[ 5.157646] IR Sharp protocol handler initialized
[ 5.160882] lirc_dev: IR Remote Control driver registered, major 248
[ 5.163719] IR LIRC bridge handler initialized
Code:
$ dmesg | grep -i Nuvoton
[ 4.313181] nuvoton-cir 00:08: [io 0x0240-0x024f]
[ 4.313197] nuvoton-cir 00:08: unable to assign resources
[ 4.313200] nuvoton-cir 00:08: Could not activate PNP device!
[ 5.107805] nuvoton-cir 00:08: [io 0x0240-0x024f]
[ 5.107846] nuvoton-cir 00:08: [irq 3]
[ 5.107851] nuvoton-cir 00:08: [io 0x0250-0x025f]
[ 5.108381] nuvoton-cir 00:08: activated
[ 5.138442] input: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:08/rc/rc0/input10
[ 5.139557] rc0: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:08/rc/rc0
[ 5.155319] nuvoton_cir: driver has been successfully loaded
[ 5.156672] input: MCE IR Keyboard/Mouse (nuvoton-cir) as /devices/virtual/input/input11
[ 5.163715] rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
Code:
$ sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event9) with:
Driver nuvoton-cir, table rc-rc6-mce
Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
Name: Nuvoton w836x7hg Infrared Remote
bus: 25, vendor/product: 1050:00c3, version: 0x0033
Repeat delay = 500 ms, repeat period = 125 ms
Code:
$ sudo cat /sys/class/rc/rc0/protocols
[rc-5] [nec] [rc-6] [jvc] [sony] [sanyo] [sharp] [mce_kbd] [lirc]
Code:
$ uname -r
3.15.0-031500-generic
I don't even know what to look for anymore to debug this...
Thank you