<br />On Monday, August 19, 2013 09:09 CEST, "Marius Schrecker" <marius.schrecker@lyse.net> wrote:<br /> <blockquote>Hello,<br /><br /> Long time since I've been here, but I am once again trying to get everything playing nice together and need to solve one or two new problems.<br /><br />I run mythtv 0.26 running on ubuntu 13.04 64 bit. This was an upgrade from mythbuntu 12.04 and I'm aware that one or two things broke during the upgrade as 13.04 is not an officially supported mythbuntu release. However, I needed some other features that were not available on the versions of the software that were installable on 12.04.<br /><br />My main problem now is that Lirc is broken. I use an Imon-lcd panel. The panel receives the commands fine, but I have trouble unloading the lirc daemon (http://www.mail-archive.com/mythbuntu-bugs@lists.launchpad.net/msg08022.html), It seems there is an incompatibility between lirc 0.9.0-0ubuntu3 and the kernel
.<br /><br />1. The first question is whether I need lirc at all for this to work. I see that the imon can be configured as a regular input device, without lirc, but haven't found clear instructions on how to configure it.<br /><br />2. The Mythtv wiki page suggests that mythtv still needs lirc as a "bridge", but maybe this is out of date for 0.26+???<br /><br />3. Even if the remote works, do I still need lirc for the Imon LCD display?<br /><br />4. IF I still need lirc, has anyone found a workaround for the bug.<br /><br />I can't be the only one trying to run mythtv with a remote on Ubuntu 13.04<br /><br />Many thanks for your help!<br /><br />Marius<br /> </blockquote><br />Hi again,<br /><br /> As there are no howto's specifically covering this I wanted to write one, but unfortunately some of this just seems to work (by magic) if I don't get in the way too much.<br /><br />Here's what I did to get imon_mce (harmony remo
te with siverstone LC-20M codes) working :<br /><br />Left lirc 0.9 installed as it contains the drivers for the imon_lcd, but disbled the daemon.<br />Mafe sure I had ir-keytable from the v4l-utils installed (it was).<br /><br />Set up a udev rule:<br />KERNEL=="lcd[0-9]*" , ATTRS{idVendor}=="15c2" , SYMLINK+="lcd"<br />for the lcd screen to make sure it always loaded to /dev/lcd. The rest of getting the lcd working is well covered in other places.<br /><br />Now came the black magic bit:<br /><br />doing ir-keytable correctly found my imon receiver at event7, device was imon_pad and protocol "other", with RC-6 also available.<br /><br />Following up with a <br />ir-keytable -t :<br /> It turned out that most of the scancodes that are configured on the harmony are correctly mapped to keys by the input layer, but one or two were missing, including the direction keys. I googled a bit and the consesus was
to use the RC-6 protocol. so I changed it using ir-keytable -p.<br /><br />After that ir-keytable -t gave nothing. I tried changing back to "other", which was not recognised, and tried clearing the keytable cache using -c and loading both the mce_RC6 and the imon_mce keytables. At some point I had keytables imon_pad and imon_mce copied to /etc/rc_keymaps. I had tried to load both of these to the keytqable map using ir-keytable -w but only imon_pad was reported as being loaded. In was stuck with the RC-6 protocol.<br /><br /> At that point I did a reboot and, hey-presto. Everything just worked, including all the harmony mapped commands.<br /><br />The only remaining job is one or two small tweaks to the mythtv keystrokes.<br /><br />The bottom line seems to be, just copy the keymaps you think you might need from /lib/udev/rc_keymap/ and reboot. Everything should just work.<br /><br />Cheers!<br /><br />Marius<br /><br /><br />