<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Oct 4, 2018 at 6:11 AM Phill Edwards <<a href="mailto:philledwards@gmail.com">philledwards@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I know lots of people have been having remote control problems after upgrading to 18.04 and I'm yet another one. But I think I'm very close.<div><br></div><div>I use a Harmony universal remote which worked fine on my 16.04 Ubuntu frontend. I had it set up with devinput so I didn't need to run lirc . After upgrading to Ubuntu 18.04 the only buttons that generate a response in MythTV are up, down, left, and right. </div><div><br></div><div>When I run ir-keytable I get a list of mappings as per below, and when I run ir-keytable -t in a terminal window I get key responses.</div><div><br></div><div><div>~$ sudo ir-keytable --read --device=/dev/input/event4</div><div>scancode 0x800f0400 = KEY_NUMERIC_0 (0x200)</div><div>scancode 0x800f0401 = KEY_NUMERIC_1 (0x201)</div><div>scancode 0x800f0402 = KEY_NUMERIC_2 (0x202)</div><div>scancode 0x800f0403 = KEY_NUMERIC_3 (0x203)</div><div>scancode 0x800f0404 = KEY_NUMERIC_4 (0x204)</div><div>scancode 0x800f0405 = KEY_NUMERIC_5 (0x205)</div><div>scancode 0x800f0406 = KEY_NUMERIC_6 (0x206)</div><div>scancode 0x800f0407 = KEY_NUMERIC_7 (0x207)</div><div>scancode 0x800f0408 = KEY_NUMERIC_8 (0x208)</div><div>scancode 0x800f0409 = KEY_NUMERIC_9 (0x209)</div><div>scancode 0x800f040a = KEY_DELETE (0x6f)</div><div>scancode 0x800f040b = KEY_ENTER (0x1c)</div><div>scancode 0x800f040c = KEY_SLEEP (0x8e)</div><div>scancode 0x800f040d = KEY_MEDIA (0xe2)</div><div>scancode 0x800f040e = KEY_MUTE (0x71)</div><div>scancode 0x800f040f = KEY_INFO (0x166)</div><div>scancode 0x800f0410 = KEY_VOLUMEUP (0x73)</div><div>scancode 0x800f0411 = KEY_VOLUMEDOWN (0x72)</div><div>scancode 0x800f0412 = KEY_CHANNELUP (0x192)</div><div>scancode 0x800f0413 = KEY_CHANNELDOWN (0x193)</div><div>scancode 0x800f0414 = KEY_FASTFORWARD (0xd0)</div><div>scancode 0x800f0415 = KEY_REWIND (0xa8)</div><div>scancode 0x800f0416 = KEY_PLAY (0xcf)</div><div>scancode 0x800f0417 = KEY_RECORD (0xa7)</div><div>scancode 0x800f0418 = KEY_PAUSE (0x77)</div><div><br></div><div>And my $HOME/.mythtv/lircrc looks like this:</div><div><div>...</div><div><div>begin</div><div>    remote = devinput</div><div>    prog = mythtv</div><div>    button = KEY_NUMERIC_1</div><div>    config = 1</div><div>    repeat = 0</div><div>    delay = 10</div><div>end</div><div><br></div><div>begin</div><div>    remote = devinput</div><div>    prog = mythtv</div><div>    button = KEY_NUMERIC_0</div><div>    config = 0</div><div>    repeat = 0</div><div>    delay = 10</div><div>end</div></div></div><div>...etc...</div><div><br></div><div>So devinput is getting the button presses and they're being mapped to keys like KEY_NUMERIC_0, KEY_PAUSE etc but MythTv frontend doesn't seem to be registering these button presses. So what have I omitted that will fill in the final piece of the jigsaw and get MythTV to respond? Is there another config file somewhere I have to modify?</div><br></div></div></div></div></div></blockquote><div>I don't know if this is your fix but I would look at your lirc_options.conf.  In my Fedora system, it's located at /etc/lirc/lirc_options.conf</div><div><br></div><div>It could be that your driver line says "driver = default" (or possibly something else?) instead of "driver = devinput".  If that's the case, lircd won't listen to devinput.</div><div><br></div><div>Test with irw as well.  Also make sure that the name of your remote (mceusb, myremote or similar) is correct.  In my system, the remote configuration files are in /etc/lirc/lircd.conf.d  I thought there was a reference to it in ~/.lircrc (or wherever your file is) but I don't see it there.  LIRC confuses me a lot and I haven't tweaked my setttings in over a year.  Still, that might be important also.<br></div><div><br></div><div>I may be wrong but it's worth a try.  A few upgrades ago, that driver setting was flipped on me (in the other direction).  It could be that a package upgrade changed that setting for you.</div><div><br></div><div>Hopefully a LIRC guru will chime in and give your some proper help.</div></div></div>