<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 6/28/2015 6:04 PM, Larry Kennedy
wrote:<br>
</div>
<blockquote
cite="mid:CAPCvy==oCHn=LGxS2FxJYwzf-LjVqgngFXKwwx_Tn_E8xp0_Rw@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Jun 28, 2015 at 7:27 PM, Kirk
Bocek <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:t004@kbocek.com" target="_blank">t004@kbocek.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">One
of my frontends is repeating navigation commands (Up,
Down, Left, Right) with LIRC. The way I remember fixing
this is with the "Repeat =" line in "~/.mythtv/lircrc".
Does that sound right? I ask because I am up to "Repeat =
10" to get this fixed. Seems like a lot.<br>
<br>
Kirk<br>
</blockquote>
<div><br>
</div>
<div>You could be seeing repeated commands because both the
kernel and LIRC are responding. These days, IR support is
baked into the kernel, so using LIRC as a separate service
may not be necessary (although I still do). </div>
<div><br>
</div>
<div>Try this: </div>
<div><span style="color:rgb(0,0,0);font-family:Arial;font-size:14.6666666666667px;white-space:pre-wrap;line-height:1.38;background-color:transparent">
</span></div>
<div><span style="color:rgb(0,0,0);font-family:Arial;font-size:14.6666666666667px;white-space:pre-wrap;line-height:1.38;background-color:transparent"># cat /sys/class/rc/rc0/protocols</span></div>
<div><span
id="docs-internal-guid-57d7f06e-3cd3-9a47-98be-9dd6d97ff922">
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">
</span></p>
<p
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">You should see something like this: </span></p>
<p
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="color:rgb(0,0,0);font-family:Arial;font-size:14.6666666666667px;white-space:pre-wrap;line-height:1.38;background-color:transparent">
</span></p>
<p
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="color:rgb(0,0,0);font-family:Arial;font-size:14.6666666666667px;line-height:1.38;white-space:pre-wrap;background-color:transparent"># [rc-5] [nec] [rc-6] [jvc] [sony] [lirc]</span><br>
</p>
<div><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">
</span></div>
<div><font color="#000000" face="Arial"><span style="font-size:14.6666669845581px;white-space:pre-wrap">You can tell the system that only lirc should respond:</span></font></div>
<div><font color="#000000" face="Arial"><span style="font-size:14.6666669845581px;white-space:pre-wrap">
</span></font></div>
<div><span
id="docs-internal-guid-57d7f06e-3cd4-ae35-3e6a-f0c1134a19a3">
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"># echo lirc > /sys/class/rc/rc0/protocols</span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"># cat /sys/class/rc/rc0/protocols</span></p>
<span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><div><span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">
</span></span></div>rc-5 nec rc-6 jvc sony [lirc]</span></span><font
color="#000000" face="Arial"><span style="font-size:14.6666669845581px;white-space:pre-wrap">
</span></font></div>
<div><span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">
</span></span></div>
<div><span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Now, test the remote to see if the repeated commands have stopped. If so, place the echo command in your startup script so it happens at every reboot. For EL6, mine is at </span></span><span style="color:rgb(0,0,0);font-family:Arial;font-size:14.6666666666667px;white-space:pre-wrap;background-color:transparent">/etc/rc.local</span></div>
<div><span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">
</span></span></div>
</span><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Responding to both Nick and Larry:<br>
<br>
$xinput<br>
Unable to connect to X server<br>
<br>
So I'm guessing I need to fire off a special X session with a
terminal to get this to work instead of from a remote SSH terminal.
Just a shade bit more work.<br>
<br>
$cat /sys/class/rc/rc0/protocols<br>
rc-5 nec rc-6 jvc sony [lirc]<br>
<br>
So that looks good, right? Lirc is the only input.<br>
<br>
<br>
</body>
</html>