<div dir="ltr">Ok, what am I missing here. I have followed your instructions Ron an managed to get your patch working with revision 1.23 of the lirc_imon.c. I start up the two devices and irw shows buttons being pressed.<br>
<br>So next I added a lircrc file to ~/.lirc/mythtv (and created the sym link at ~/.mythtv/lircrc) and I thought I would then be good to go. Apparently not? MythTV does nothing at all when remote buttons are pressed. What am not doing that needs doing?<br>
<br>For the record I am running Mythbuntu (I haven&#39;t used its control center to configure the remote. Incidently, where is the best place to ensure the two instances of lircd are started up when myth starts?) and my lircrc file is below.<br>
<br><pre># Escape<br>begin<br>    prog = mythtv<br>    button = AppExit<br>    config = Esc<br>    repeat = 3<br>end<br><br># Escape Key 2<br>begin<br>    prog = mythtv<br>    button = Esc<br>    config = Esc<br>end<br><br>
# Channel Up<br>begin<br>    prog   = mythtv<br>    button = Ch+<br>    config = Up<br>    repeat = 3<br>end<br><br># Channel Down<br>begin<br>    prog   = mythtv<br>    button = Ch-<br>    config = Down<br>    repeat = 3<br>
end<br><br># Volume Up<br>begin<br>    prog = mythtv<br>    button = Vol+<br>    repeat = 3<br>    config = Right<br>end<br><br># Volume Down<br>begin<br>    prog = mythtv<br>    button = Vol-<br>    repeat = 3<br>    config = Left<br>
end<br><br># Enter/Return<br>begin<br>    prog   = mythtv<br>    button = Enter<br>    config = Return<br>end<br><br># Menu Button<br>begin<br>    prog = mythtv<br>    button = Menu<br>    config = M<br>end<br><br># Mute<br>
begin<br>    prog = mythtv<br>    button = Mute<br>    config = F9  <br>end<br><br># Rewind<br>begin<br>    prog = mythtv<br>    button = Rewind<br>    config = PgUp  <br>end<br><br># Fast Forward<br>begin<br>    prog = mythtv<br>
    button = FastForward<br>    config = PgDown  <br>end<br><br># Play<br>begin<br>    prog = mythtv<br>    button = Play<br>    config = P  <br>end<br><br># Pause<br>begin<br>    prog = mythtv<br>    button = Pause<br>    config = P  <br>
end<br><br># Record<br>begin<br>  prog = mythtv<br>  button = Record<br>  config = R  <br>end<br><br># Stop<br>begin<br>   prog = mythtv<br>   button = Stop<br>   config = O  <br>end<br><br># Previous Track/Chapter<br>begin<br>
   prog = mythtv<br>   button = PrevChapter<br>   config = Home  <br>end<br><br># Next Track/Chapter<br>begin<br>   prog = mythtv<br>   button = NextChapter<br>   config = End<br>end<br><br># Jump Point to MythVideo<br>begin<br>
   prog = mythtv<br>   button = MyMovie<br>   config = F12<br>end<br><br># Jump Point to MythMusic<br>begin<br>   prog = mythtv<br>   button = MyMusic<br>   config = F11<br>end<br><br># Jump Point to LiveTV<br>begin<br>   prog = mythtv<br>
   button = MyTV<br>   config = F10<br>end<br><br># Jump Point to Main Menu<br>begin<br>   prog = mythtv<br>   button = Multimon<br>   config = F2<br>end<br><br># Jump Point to Myth Gallery<br>begin<br>   prog = mythtv<br>
   button = MyPhoto<br>   config = F3<br>end<br><br># Jump Point to Play DVD<br>begin<br>   prog = mythtv<br>   button = MyDVD<br>   config = F4<br>end<br><br># Display Information<br>begin<br>   prog = mythtv<br>   button = Caption<br>
   config = I<br>end<br><br>##############################<br># Numbers<br>##############################<br>begin<br>    prog = mythtv<br>    button = 0<br>    config = 0  <br>end<br><br>begin<br>    prog = mythtv<br>    button = 1<br>
    config = 1  <br>end<br><br>begin<br>    prog = mythtv<br>    button = 2<br>    config = 2  <br>end<br><br>begin<br>    prog = mythtv<br>    button = 3<br>    config = 3  <br>end<br><br>begin<br>    prog = mythtv<br>    button = 4<br>
    config = 4  <br>end<br><br>begin<br>    prog = mythtv<br>    button = 5<br>    config = 5  <br>end<br><br>begin<br>    prog = mythtv<br>    button = 6<br>    config = 6  <br>end<br><br>begin<br>    prog = mythtv<br>    button = 7<br>
    config = 7  <br>end<br><br>begin<br>    prog = mythtv<br>    button = 8<br>    config = 8  <br>end<br><br>begin<br>    prog = mythtv<br>    button = 9<br>    config = 9  <br>end<br></pre><br><br><div class="gmail_quote">
On Tue, Aug 26, 2008 at 10:49 PM, Ronald Frazier <span dir="ltr">&lt;<a href="mailto:ron@ronfrazier.net">ron@ronfrazier.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I haven&#39;t had a chance to look at any of it yet, but it sounds like<br>
the patch to lirc wasn&#39;t as comprehensive as the patch I had made up.<br>
<br>
When I was working on the patch, one of the problem I noticed was that<br>
the previous patch only handled 4 byte code. However, I was seeing<br>
(and forgive me if my memory is fuzzy, so I may be slightly<br>
inaccurate, but the gist of it should be correct):<br>
<br>
Some of my IR codes from the remote (the multimedia type buttons) were<br>
4 bytes long<br>
Some of the IR codes from the remote (the keyboard/mouse buttons) were<br>
5 bytes long<br>
The IR codes from my case (Thermaltake DH-101) were 5 bytes long, but<br>
had a 00 byte in front (so it was sort of like they were 6 bytes<br>
long).<br>
<br>
<br>
To deal with this, my patch extended the code length from 4 bytes to 8<br>
bytes, and then null padded any packets shorter than 8 bytes. It<br>
sounds to me like the new lirc patch isn&#39;t doing the same.<br>
<br>
One thing with doing this is that you then need to regenerate the<br>
lircd.conf files for the 8byte length codes. If you are using my<br>
lircd.conf but don&#39;t have the 8 bytes codes in the driver, then it<br>
probably won&#39;t recognize anything.<br>
<br>
Another issue is that my patch also did some handywork to map the<br>
mouse cursor button into a simple 4 way directional pad. I have no<br>
idea if the new lirc driver does this either.<br>
<br>
<br>
I&#39;ve been busy &nbsp;with a lot of stuff over the summer and haven&#39;t really<br>
done any work at all with this stuff (I&#39;ve just posted answers in the<br>
codeka forums). My other priorities should hopefully clear up within<br>
the next week, and in september I should be able to get back into the<br>
swing of things for a little while.<br>
<font color="#888888"><br>
--<br>
Ron<br>
Ronald Frazier Photography - <a href="http://www.ronfphoto.com/" target="_blank">http://www.ronfphoto.com/</a><br>
Blogging About Photography - <a href="http://ronfrazier.blogspot.com/" target="_blank">http://ronfrazier.blogspot.com/</a><br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div>