<div dir="ltr"><div>Biggest source of frustration: there are keytable codes for everything on my MCE remote, but only about 10% actually do anything from within Myth 29. Why replace earlier lirc if you have to manually remap virtually the entire remote?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 8, 2018 at 7:14 PM, Steve Greene <span dir="ltr"><<a href="mailto:sgreene820@gmail.com" target="_blank">sgreene820@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Stephen,</div><div>"sudo ir-keytable -t" without the device specification worked for me on 18.04. Not sure why the device specification broke it. <br></div><div><br></div><div>Re making a keytable file, do I need to supply the hexadecimal code if I want to use standard ascii mythtv keybindings for a remote key? Where do I find those?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Steve<br></div><div><br></div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 8, 2018 at 1:47 PM, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-8257879455022958987HOEnZb"><div class="m_-8257879455022958987h5">On Wed, 8 Aug 2018 11:19:39 -0400, you wrote:<br>
<br>
>I'm building a new box with Ubuntu 18.04 and trying to get the remote <br>
>working, but ran into a snag.  I'm following the instructions here:<br>
><br>
><a href="https://www.mythtv.org/wiki/User_Manual:IR_control_via_evdev" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/U<wbr>ser_Manual:IR_control_via_evde<wbr>v</a><br>
><br>
>This worked:<br>
><br>
>don@andy:~$ sudo ir-keytable -t<br>
>Testing events. Please, press CTRL-C to abort.<br>
>182.735877: event type EV_MSC(0x04): scancode = 0x800f0401<br>
>182.735877: event type EV_KEY(0x01) key_down: KEY_NUMERIC_1(0x0201)<br>
>182.735877: event type EV_SYN(0x00).<br>
>182.869726: event type EV_MSC(0x04): scancode = 0x800f0401<br>
>182.869726: event type EV_SYN(0x00).<br>
>183.132071: event type EV_KEY(0x01) key_up: KEY_NUMERIC_1(0x0201)<br>
>183.132071: event type EV_SYN(0x00).<br>
><br>
>, but this did not:<br>
><br>
>don@andy:~$ sudo ir-keytable -t -d /dev/event/input3<br>
>/dev/event/input3: No such file or directory<br>
><br>
>don@andy:~$ sudo ir-keytable -t -d /dev/event/input4<br>
>/dev/event/input4: No such file or directory<br>
><br>
>My box has /dev/input/event*, but does not have /dev/event.  Trying the <br>
>next command:<br>
><br>
>don@andy:~$ sudo ir-keytable<br>
>Found /sys/class/rc/rc0/ (/dev/input/event10) with:<br>
>         Name: Media Center Ed. eHome Infrared Remote Transceiver <br>
>(0471:0815)<br>
>         Driver: mceusb, table: rc-rc6-mce<br>
>         lirc device: /dev/lirc0<br>
>         Supported protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo <br>
>mce_kbd rc-6 sharp xmp<br>
>         Enabled protocols: lirc rc-6<br>
>         bus: 3, vendor/product: 0471:0815, version: 0x0000<br>
>         Repeat delay = 500 ms, repeat period = 125 ms<br>
><br>
>I have /dev/input/event10, so tried:<br>
><br>
>don@andy:~$ sudo ir-keytable -t -d /dev/input/event10<br>
>Can't open lirc device: No such file or directory<br>
><br>
>, so purged lirc, and tried it again; got the same results:<br>
><br>
>don@andy:~$ sudo apt-get remove *lirc* --purge<br>
>don@andy:~$ sudo ir-keytable -t -d /dev/input/event10<br>
>Can't open lirc device: No such file or directory<br>
><br>
><br>
>Any suggestions?<br>
><br>
>Don<br>
<br>
</div></div>I do not see any problem there.  You have ir-keytable working seeing<br>
an MCE remote on rc0 (/sys/class/rc/rc0/), and the setup shown seems<br>
fine.  Just use that, and use "-s rc0" if you really need to select<br>
the remote.  But it is defaulting to the correct device without any -s<br>
or -d options.  I think you will find that "ls -al /sys/class/rc" will<br>
show only one remote.<br>
<br>
And be aware that lirc in 18.04 is a much later version (0.10.0) than<br>
in 16.04 (0.9.0).  It uses different config files and programs<br>
(lirc-setup and irdb-get).  So old configuration guides for lirc will<br>
likely lead you astray.  See:<br>
<br>
<a href="http://www.lirc.org/html/configuration-guide.html" rel="noreferrer" target="_blank">http://www.lirc.org/html/confi<wbr>guration-guide.html</a><br>
<div class="m_-8257879455022958987HOEnZb"><div class="m_-8257879455022958987h5">______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailma<wbr>n/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing<wbr>_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>