From: Jason Bolen <bolen.jason@gm...> - 2013-09-19 17:53:51
I'm not sure if it's appropriate to post this question here since list
is for LIRC, but here goes anyway.
Here’s the current configuration:
Ubuntu 13.04, kernel 3.8.0-19-generic
Lirc is not installed
Microsoft IR receiver (model 1040)
Microsoft remote (model 1039)
Microsoft IR keyboard (model (1044)
Harmony One remote
In my troubleshooting I’ve switched to a live version of Xubuntu
13.04 to remove as many variables as possible.
My overall goal is to use my Harmony One remote to emulate a Microsoft
MCE keyboard to control XBMC. My plan is to use XMBCbuntu 12.2. I’ve
set up my Harmony with two device profiles, “Windows Media Center SE”
and “MCE Keyboard”. The first profile is meant to emulate the 1039
remote and the second is meant to emulate the 1044 keyboard. I want
to use the “MCE Keyboard” profile because it provides some additional
capabilities in XBMC.
The problem is that any keyboard (letter keys) commands sent from the
Harmony are received, but then repeats indefinitely. Initially I
thought this was a problem with XBMC, but I can confirm it’s actually
at the OS level. I can demonstrate this same behavior buy just
opening a terminal window and issuing a keyboard command. Once the
letter key command is sent, it just keeps on repeating that letter
until hit another key. Funny thing is when I use the actual 1044
keyboard, everything works as expected, no repeats.
Other items of note: the remote commands (number keys, play, pause,
etc) sent from the Harmony work fine in XMBC. The entire setup works
correctly when I plug it into my windows box. In Windows, the Harmony
can issue keyboard commands at the command prompt with no repeats. I
manually installed ir-keytable. Using ir-keytable –t I can see the
remote commands (from the 1039 or Harmony) coming through. None of
the keyboard commands are visible though.
I’ve read that lirc drivers have been included in kernels since
2.6.36. That explains how any of this is working without lirc
installed. I’ve also read that handling repeating keys with IR
keyboards is tricky. Some remotes only send a key-down command, not
necessarily a key-up. I’ve noticed that when I hold down a letter key
on the 1044 keyboard, it sends multiple IR signals (I can see the
transmitter light blinking). When I touch a button on the Harmony, it
only transmits once, the repeating keys are coming from the OS, not
Is there any way to prevent the automatic repeating? I’d be happy to
post any relevant log or configuration files, but I’m not sure which
ones are applicable. Would I be better off installing lirc? I
assumed that doing all this in kernel would be more simple, but I’m
willing to do whatever I can to get this working.
Thanks for the help,