<div class="gmail_quote">On Fri, Apr 13, 2012 at 10:48 PM, Larry K <span dir="ltr"><<a href="mailto:lunchtimelarry@gmail.com">lunchtimelarry@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 class="gmail_quote"><div><div class="h5">On Fri, Apr 6, 2012 at 7:46 PM, Christian Szpilfogel <span dir="ltr"><<a href="mailto:chriszpml@gmail.com" target="_blank">chriszpml@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>On 05/04/2012 10:25 PM, Larry K wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there any reference or resource that exists to provide accurate, up-to-date guidance on setting up IR in myth? Is LIRC really on the way out? Some have said uninstall it and never look back. Is v4l the best path forward? And if so, how the keystrokes are mapped into myth? xorg.conf, perhaps? Do the basic devinput names convey into myth automatically? Did I miss the memo on all this?<br>
<br>
</blockquote>
<br></div>
Hi Larry,<br>
<br>
In general this depends on the drivers available and whether you need special functions from LIRC. Not all drivers have been ported to become in-kernel but the more popular ones seem to have been ported. To some degree this also dictates whether you use devinput or /dev/lirc?. You can check your driver to see which it takes.<br>
<br>
If you don't need functions such as irexec or irxevent then you don't need to use LIRC anymore. I use irexec myself so I can shutdown myth from my remote.<br>
<br>
I wrote a description of how all this hangs together. It is written in the context of LinHES so while most of this holds true, some aspects such as initialization files, may not be done the same as in your distro. This wiki entry also describes various test points you can use to help you debug the messaging as it goes through the layers.<br>
<br>
<a href="http://linhes.org/projects/linhes/wiki/Architecture_and_Customization" target="_blank">http://linhes.org/projects/<u></u>linhes/wiki/Architecture_and_<u></u>Customization</a><br>
<br>
To be honest, I have not been involved nor have I followed most of this IR development so this wiki entry is based on what I have determined in my own quest to get things working. I just figured I would document it for the benefit of others who I saw struggling. If more knowledgeable folks have suggestions then feel free to let me know. I suppose I should link this into the myth wiki in hind sight.<br>
<br>
Hope this helps point you in the right direction.<span><font color="#888888"><br>
<br>
Christian</font></span><div><div><br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a></div></div></blockquote><div><br></div></div></div><div>Very helpful diagram.</div>
<div><br>
</div><div>What I am seeing is that with my MCE remote, with the LIRC service stopped, and with v4l-utils NOT installed, MythTV is partially responsive to the keystrokes of my remote. Some keys work, and others do not. For instance, the OK button does not work. Per your diagram, is this interaction happening through a keyboard driver? If so, it appears that I would control the key mappings to myth via the key bindings menu? I have no experience messing with hose key bindings, but maybe now is the time to start.</div>
<div><br></div><div>With LIRC, I know that ~/.mythtv/lircrc is where I control the key mappings. Not knowing exactly how the key mappings is being handled outside LIRC is driving me crazy.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Larry</div>
</font></span></div><br></blockquote><div>Let me try this again with perhaps a more clear, direct question: </div><div><br></div><div>In the absence of lirc, how can I tell what keystrokes are being received on my MCE USB IR receiver? For lirc, I use irw to determine this.</div>
<div><br></div><div>Once I know what keystrokes are being received, again, in the absence of lirc, how do these get mapped to commands that myth understands? For lirc, I set this up the ~/.mythtv/lircrc file.</div><div><br>
</div><div>Hope that helps clarify my question.</div><div><br></div><div>Larry</div></div><br>