[mythtv-users] Problems after upgrading frontend from Mythbuntu 12.04 to 14.04

Mike Perkins mikep at randomtraveller.org.uk
Thu Dec 3 10:01:44 UTC 2015


On 03/12/15 01:31, Stephen Worthington wrote:
> On Thu, 3 Dec 2015 09:23:09 +1100, you wrote:
>
>>>
>>> 1. You probably are running up against the change of the IR drivers
>>> into kernel drivers instead of user mode drivers inside lirc.  In
>>> which case, the best option is to use the kernel drivers (devinput),
>>> but that means a significant reconfiguration of your IR setup.  So
>>> what remote are you using?  Do all the keys work at startup, or only
>>> the arrow keys?
>>>
>>
>> Only the arrow keys work.
>
> That is pretty characteristic of this problem.  You are using the
> drivers in the kernel and they are producing keystrokes via the
> keyboard drivers into all your programs. You are not actually using
> lirc at all.  So the IR remote arrows (and maybe a few more keys) will
> work in all programs, including at a terminal prompt.
>
>>
>>>
>>> For working Mythbuntu 14.04 IR config using devinput, see my setup
>>> which is available for download from my web server:
>>>
>>>    http://www.jsw.gen.nz/mythtv/mythbuntu-devinput-lirc.bz2
>>
>>
>> Gulp - holy cow! I just had a look at your README and this looks like it's
>> a gargantuan task and not something for the faint-hearted. Lirc was always
>> the most difficult and annoying thing to get working as part of a MythTV
>> setup. I can't believe it's been made even more complicated!
>>
>> My remote is a Harmony 600. Is there, by any chance, a shortcut to doing
>> this by copying someone else's config for a Harmony 600? if not, I'll start
>> working my way through your guide. One of the 1st things I noticed was that
>> I don't have /etc/rc_keymaps/ files. I also don't have ir-keytable
>> installed. Should I just install ir-keytable or does this indicate a more
>> fundamental problem that I need to deal with first?
>
> Go ahead and install ir-keytable.  Without it installed, the drivers
> in the kernel can not be configured, but will be running.
>
> There may well be a Harmony 600 file available somewhere, but it does
> not take as long as you might think to create a suitable file.  The
> standard files in Mythbuntu 14.04 can be found in
> /lib/udev/rc_keymaps, and if one is compatible it could be used.  But
> a remote only has a certain number of buttons on it, so you just need
> to use ir-keytable -t and tee the output to a file, then press all the
> buttons on the remote in a known order.  Kill ir-keytable and use the
> captured data to create the config file line for each key.
>
> What mode are you running your Harmony 600 in?  If it has an MCE mode,
> then you can select that and use the rc6_mce file (standard or my
> version) as a base and only have to fix the entries for any keys that
> do not match.
>
Your questions are not entirely meaningful.

The Harmony 600 is a programmable remote, able to emulate up to five different remotes, and designed 
to handle operation of all your audiovisual kit.

The keycodes which the 600 (and 650) use are obtained from the Harmony website and consist of 
choosing which remote you are emulating, or which device you are controlling. This gives you a 
dropdown list of available codes and you can assign any of them to any of the remote's keys.

Since mythtv is a software product, this is awkward. Generally, people choose an MCE device but 
there are many and the IR codes are *all different*.

I have a 600 and this is one reason I find it difficult to properly program it for mythtv use. None 
of the available codesets that I have tried cover all the required keys.

-- 

Mike Perkins



More information about the mythtv-users mailing list