On Tue, Mar 30, 2010 at 8:18 AM, Johnny Walker <span dir="ltr">&lt;<a href="mailto:johnnyjboss@gmail.com">johnnyjboss@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, Mar 30, 2010 at 9:34 AM, Brock Haywood &lt;<a href="mailto:brock.haywood@gmail.com">brock.haywood@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Mon, Mar 29, 2010 at 11:22 AM, Brock Haywood &lt;<a href="mailto:brock.haywood@gmail.com">brock.haywood@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Mar 29, 2010 at 11:21 AM, Johnny Walker &lt;<a href="mailto:johnnyjboss@gmail.com">johnnyjboss@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Note: we bottom post on this list for later readability of others when<br>
&gt;&gt;&gt; searching this list. (Which can be done at<br>
&gt;&gt;&gt; <a href="http://www.gossamer-threads.com/lists/mythtv/users/" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/</a> )<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;On Mon, Mar 29, 2010 at 12:40 PM, Brock Haywood<br>
&gt;&gt;&gt; &gt; &lt;<a href="mailto:brock.haywood@gmail.com">brock.haywood@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; &gt;Maybe i was unclear, &quot;ldd ./mythfrontend |grep lirc&quot; is empty tho i<br>
&gt;&gt;&gt; &gt; understand that lirc is baked into 0.22 so i shouldn&#39;t be expecting to see<br>
&gt;&gt;&gt; &gt; it.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;Regarding irw, when it is run I get what i was expecting.  When i press<br>
&gt;&gt;&gt; &gt; up on the remote, it shows up_pressed or something like that.  I&#39;m away from<br>
&gt;&gt;&gt; &gt; &gt;this machine at work so I will reply with the exact messages later.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;bh<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; It sounds like you&#39;ve made good progress if irw reports the<br>
&gt;&gt;&gt; keypresses. We need to compare the output of those against your<br>
&gt;&gt;&gt; previously posted .lircrc files. Specifically I&#39;m thinking the remote<br>
&gt;&gt;&gt; name needs to match correctly as follows:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; output of IRW:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Matches :<br>
&gt;&gt;&gt; 0000000000001794 00 Up mceusb<br>
&gt;&gt;&gt; 0000000000001794 01 Up mceusb<br>
&gt;&gt;&gt; 0000000000001796 00 Left mceusb<br>
&gt;&gt;&gt; 0000000000001796 01 Left mceusb<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Doesn&#39;t Match:<br>
&gt;&gt;&gt; 0000000000001795 00 Down Hauppauge_350<br>
&gt;&gt;&gt; 0000000000001795 01 Down Hauppauge_350<br>
&gt;&gt;&gt; 0000000000001797 00 Right Hauppauge_350<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Snippet of .lircrc you posted previously:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; begin<br>
&gt;&gt;&gt;     remote = mceusb &lt;-- matches<br>
&gt;&gt;&gt;     prog = mythtv<br>
&gt;&gt;&gt;     button = RecTV<br>
&gt;&gt;&gt;     config = R<br>
&gt;&gt;&gt;     repeat = 0<br>
&gt;&gt;&gt;     delay = 0<br>
&gt;&gt;&gt; end<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The lirc daemon only runs the commands or keypresses in these small<br>
&gt;&gt;&gt; stanza&#39;s if the name of the remote sending them matches. This allows<br>
&gt;&gt;&gt; multiple remotes to be used.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Sorry for the misinfo on the &#39;try stopping the lirc daemon&#39; - I was<br>
&gt;&gt;&gt; actually wondering if you were seeing errors on starting / stopping it<br>
&gt;&gt;&gt; and wasn&#39;t thinking clearly on the irw vs. irrecord needing it. Jarod<br>
&gt;&gt;&gt; is actually quite the expert on lirc as he&#39;s a major contributor to<br>
&gt;&gt;&gt; it. (to whom we&#39;re all exceedingly grateful.)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Johnny<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; mythtv-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt;&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
&gt;&gt;<br>
&gt;&gt; Ok, will do.<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; - brock<br>
&gt;<br>
&gt;<br>
&gt; Here is the output from irw when pressing up, left, down, right, 1, 2, 3, 4,<br>
&gt; 5, 6, 7, 8, 9:<br>
&gt;<br>
&gt; 000000037ff07be1 00 Up mceusb<br>
&gt; 000000037ff07bdf 00 Left mceusb<br>
&gt; 000000037ff07be0 00 Down mceusb<br>
&gt; 000000037ff07be0 01 Down mceusb<br>
&gt; 000000037ff07bde 00 Right mceusb<br>
&gt; 000000037ff07bfe 00 One mceusb<br>
&gt; 000000037ff07bfd 00 Two mceusb<br>
&gt; 000000037ff07bfc 00 Three mceusb<br>
&gt; 000000037ff07bfb 00 Four mceusb<br>
&gt; 000000037ff07bfa 00 Five mceusb<br>
&gt; 000000037ff07bf9 00 Six mceusb<br>
&gt; 000000037ff07bf8 00 Seven mceusb<br>
&gt; 000000037ff07bf8 01 Seven mceusb<br>
&gt; 000000037ff07bf7 00 Eight mceusb<br>
&gt; 000000037ff07bf6 00 Nine mceusb<br>
&gt; 000000037ff07bf6 01 Nine mceusb<br>
&gt;<br>
&gt; Does this make sense with what is in the lircrc?<br>
&gt;<br>
&gt; --<br>
&gt; - brock<br>
<br>
</div></div>Yes it appears that the remote name matches so given that the lirc<br>
daemon was started BEFORE mythtv was started you should be seeing the<br>
menu cursor move up and down in response to the key-presses on the<br>
remote.<br>
<br>
You&#39;re original post said that you were ahving trouble getting lirc to<br>
work in mythtv - are you seeing no activity at all or just unexpected<br>
behaviour?<br>
<br>
Lets review your /var/log/mythtv/mythfrontend.log for mention of any<br>
issues during startup. Here&#39;s an example problem:<br>
<br>
2009-12-29 17:41:27.863 Using theme base resolution of 1280x720<br>
2009-12-29 17:41:27.909 LIRC, Error: Failed to connect to Unix socket<br>
&#39;/dev/lircd&#39;<br>
                        eno: No such file or directory (2)<br>
2009-12-29 17:41:28.196 Using the Qt painter<br>
<br>
Here&#39;s a proper startup:<br>
<br>
2010-01-19 08:06:15.122 Using theme base resolution of 1280x720<br>
2010-01-19 08:06:15.148 LIRC: Successfully initialized &#39;/dev/lircd&#39;<br>
using &#39;/home/johnny/.mythtv/lircrc&#39; config<br>
2010-01-19 08:06:15.501 Using the Qt painter<br>
<br>
One thing to remember is that the lirc daemon has to be reloaded and<br>
then mythfrontend restarted when you make changes to .lircrc.<br>
<div><div></div><div class="h5"><br>
-Johnny<br>
_______________________________________________<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>So,i&#39;m getting no response from the remote control when running myth. I 
also don&#39;t see anything in the frontend log.<br>
<br>
Here is the output of the log when starting up the frontend, pressing 
some buttons on the remote and shutting down the frontend:<br>
<br>
2010-03-30 16:39:40.238 mythfrontend version: tags/release-0-22 [0.22] 
<a href="http://www.mythtv.org">www.mythtv.org</a><br>
2010-03-30 16:39:40.239 Using runtime prefix = /usr/local<br>
2010-03-30 16:39:40.239 Using configuration directory = 
/home/myth/.mythtv<br>
2010-03-30 16:39:41.157 Empty LocalHostName.<br>
2010-03-30 16:39:41.158 Using localhost value of vectorsigma<br>
2010-03-30 16:39:41.168 New DB connection, total: 1<br>
2010-03-30 16:39:41.173 Connected to database &#39;mythconverg&#39; at host: 
127.0.0.1<br>
2010-03-30 16:39:41.175 Closing DB connection named &#39;DBManager0&#39;<br>
2010-03-30 16:39:41.203 ScreenSaverX11Private: XScreenSaver support 
enabled<br>
2010-03-30 16:39:41.203 ScreenSaverX11Private: Gnome screen saver 
support enabled<br>
2010-03-30 16:39:41.205 DPMS is disabled.<br>
2010-03-30 16:39:41.207 Primary screen: 0.<br>
2010-03-30 16:39:41.209 Connected to database &#39;mythconverg&#39; at host: 
127.0.0.1<br>
2010-03-30 16:39:41.211 Using screen 0, 1920x1080 at 0,0<br>
2010-03-30 16:39:41.244 MythUI Image Cache size set to 20971520 bytes<br>
2010-03-30 16:39:41.245 Enabled verbose msgs:  important general<br>
2010-03-30 16:39:41.258 Primary screen: 0.<br>
2010-03-30 16:39:41.259 Using screen 0, 1920x1080 at 0,0<br>
2010-03-30 16:39:41.261 Using theme base resolution of 1280x720<br>
2010-03-30 16:39:41.667 Using the Qt painter<br>
2010-03-30 16:39:41.935 Loaded base theme from 
/usr/local/share/mythtv/themes/Mythbuntu/base.xml<br>
2010-03-30 16:39:41.947 Loaded base theme from 
/usr/local/share/mythtv/themes/default-wide/base.xml<br>
2010-03-30 16:39:42.001 Loaded base theme from 
/usr/local/share/mythtv/themes/default/base.xml<br>
2010-03-30 16:39:42.002 Unable to load window &#39;backgroundwindow&#39; from 
base<br>
2010-03-30 16:39:42.016 Current MythTV Schema Version (DBSchemaVer): 
1244<br>
2010-03-30 16:39:42.019 New DB connection, total: 2<br>
2010-03-30 16:39:42.028 Connected to database &#39;mythconverg&#39; at host: 
127.0.0.1<br>
2010-03-30 16:39:42.544 Desktop video mode: 1920x1080 60.0024 Hz<br>
2010-03-30 16:39:42.918 Registering Internal as a media playback plugin.<br>
2010-03-30 16:39:42.977 Registering WebBrowser as a media playback 
plugin.<br>
2010-03-30 16:39:43.070 MMUnix::AddDevice() Error: failed to stat 
/dev/bdi, <br>
                        eno: No such file or directory (2)<br>
2010-03-30 16:39:43.075 MMUnix::AddDevice() Error: failed to stat 
/dev/power, <br>
                        eno: No such file or directory (2)<br>
2010-03-30 16:39:43.080 MMUnix::AddDevice() Error: failed to stat 
/dev/trace, <br>
                        eno: No such file or directory (2)<br>
2010-03-30 16:39:43.086 MonitorRegisterExtensions(0x100, gif,jpg,png)<br>
2010-03-30 16:39:43.121 Current MythMusic Schema Version 
(MusicDBSchemaVer): 1017<br>
2010-03-30 16:39:43.215 MonitorRegisterExtensions(0x40, 
mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)<br>
2010-03-30 16:39:43.250 Current MythVideo Schema Version 
(mythvideo.DBSchemaVer): 1028<br>
2010-03-30 16:39:43.374 NetworkControl: Listening for remote connections
 on port 6546<br>
2010-03-30 16:39:43.377 Loading window theme from 
/usr/local/share/mythtv/themes/Mythbuntu/menu-ui.xml<br>
2010-03-30 16:39:43.498 Loading menu theme from 
/usr/local/share/mythtv/themes/defaultmenu//mainmenu.xml<br>
2010-03-30 16:39:43.502 Found mainmenu.xml for theme &#39;Mythbuntu&#39;<br>
2010-03-30 16:39:45.681 MythContext: Connecting to backend server: 
<a href="http://192.168.1.199:6543">192.168.1.199:6543</a> (try 1 of 1)<br>
2010-03-30 16:39:45.683 Using protocol version 50<br>
2010-03-30 16:39:52.481 NetworkControl: Socket disconnected<br>
2010-03-30 16:39:52.488 AudioPulseUtil: Resume Success<br>
2010-03-30 16:39:52.488 Deleting UPnP client...<br>
Error in my_thread_global_end(): 1 threads didn&#39;t exit<br>
<br>
Thanks,<br clear="all"><br>-- <br>- brock<br>