<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 25, 2017 at 8:38 AM Vincent McIntyre <<a href="mailto:vincent.mcintyre@gmail.com">vincent.mcintyre@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Sep 25, 2017 at 02:09:20PM +1300, Stephen Worthington wrote:<br>
><br>
> If you have not added an ir-keytable command to the startup somewhere,<br>
> there probably is not one anywhere.  ir-keytable is not something that<br>
> runs in the background as a daemon - it only needs to be run once at<br>
> startup to change the configuration, with the rest happening in the<br>
> kernel code.  So try putting it in rc.local.  Or you could write your<br>
> own systemd unit to run it.<br>
><br>
<br>
If it helps this is my rc.local (I'm on ubuntu 16.04)<br>
<br>
#!/bin/sh -e<br>
#<br>
## rc.local<br>
#<br>
## This script is executed at the end of each multiuser runlevel.<br>
# Make sure that the script will "exit 0" on success or any other<br>
# value on error.<br>
#<br>
# In order to enable or disable this script just change the execution<br>
# bits.<br>
#<br>
# By default this script does nothing.<br>
#<br>
/usr/bin/ir-keytable -s rc1 -c<br>
/usr/bin/ir-keytable -s rc1 -w /etc/rc_keymaps/dvico_mce-nec.keymap<br>
<br>
<br>
/etc/rc_keymaps will be created by the ir-keytable package.<br>
But the file within will probably have to come from you.<br>
There are some provided by the package in /lib/udev/rc_keymaps<br>
that you could start from.<br>
<br>
Note also that ir-keytable attempts to set this up automagically<br>
via the file /etc/rc_maps.cfg.<br>
<br>
My understanding is what I have in rc.local overrides the automagic,<br>
but my remote is one of the commented ones in rc_maps.cfg so I may<br>
be hallucinating.<br>
<br>
See also /usr/share/doc/ir-keytable/README.Debian<br>
<br>
Regards<br>
Vince<br>
<br>
_______________________________________________<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/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a></blockquote><div><br></div><div>Just to add to what Vince already shared, there is a udev rule in /lib/udev/rules.d that loads the parameters for ir-keytable remote handling.<br></div><div><br></div><div>I have customized the -D and -P parameters via this file on my Ubuntu 16.10 frontend system. This may not be the best place to apply this customization but it works for me.  I am also not sure but I suspect the changes may get wiped when performing a dist version upgrade.</div><div><br></div><div><pre id="inbox-inbox-hterm:copy-to-clipboard-source" style="user-select: text; top: -99px;">/lib/udev/rules.d$ cat 60-ir-keytable.rules 
# Automatically load the proper keymaps after the Remote Controller device
# creation.
# The keycode tables rules should be at /etc/rc_maps.cfg

ACTION=="add", SUBSYSTEM=="rc", RUN+="/usr/bin/ir-keytable -D 400 -P 750 -a /etc/rc_maps.cfg -s $name"</pre><pre id="inbox-inbox-hterm:copy-to-clipboard-source" style="user-select: text; top: -99px;"><font face="sans-serif">Hope this helps!</font></pre><pre id="inbox-inbox-hterm:copy-to-clipboard-source" style="user-select: text; top: -99px;"><font face="sans-serif">Tim</font></pre></div></div></div>