<div class="gmail_quote">On Wed, Mar 31, 2010 at 9:42 AM, Johnny Walker <span dir="ltr"><<a href="mailto:johnnyjboss@gmail.com">johnnyjboss@gmail.com</a>></span> wrote:<br><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 Wed, Mar 31, 2010 at 10:30 AM, Brock Haywood <<a href="mailto:brock.haywood@gmail.com">brock.haywood@gmail.com</a>> wrote:<br>
> On Tue, Mar 30, 2010 at 4:42 PM, Brock Haywood <<a href="mailto:brock.haywood@gmail.com">brock.haywood@gmail.com</a>><br>
> wrote:<br>
>><br>
>> On Tue, Mar 30, 2010 at 8:18 AM, Johnny Walker <<a href="mailto:johnnyjboss@gmail.com">johnnyjboss@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> On Tue, Mar 30, 2010 at 9:34 AM, Brock Haywood <<a href="mailto:brock.haywood@gmail.com">brock.haywood@gmail.com</a>><br>
>>> wrote:<br>
>>> ><br>
>>> > On Mon, Mar 29, 2010 at 11:22 AM, Brock Haywood<br>
>>> > <<a href="mailto:brock.haywood@gmail.com">brock.haywood@gmail.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> On Mon, Mar 29, 2010 at 11:21 AM, Johnny Walker<br>
>>> >> <<a href="mailto:johnnyjboss@gmail.com">johnnyjboss@gmail.com</a>><br>
>>> >> wrote:<br>
>>> >>><br>
>>> >>> Note: we bottom post on this list for later readability of others<br>
>>> >>> when<br>
>>> >>> searching this list. (Which can be done at<br>
>>> >>> <a href="http://www.gossamer-threads.com/lists/mythtv/users/" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/</a> )<br>
>>> >>><br>
>>> >>> >On Mon, Mar 29, 2010 at 12:40 PM, Brock Haywood<br>
>>> >>> > <<a href="mailto:brock.haywood@gmail.com">brock.haywood@gmail.com</a>> wrote:<br>
>>> >>> >Maybe i was unclear, "ldd ./mythfrontend |grep lirc" is empty tho i<br>
>>> >>> > understand that lirc is baked into 0.22 so i shouldn't be expecting<br>
>>> >>> > to see<br>
>>> >>> > it.<br>
>>> >>> ><br>
>>> >>> >Regarding irw, when it is run I get what i was expecting. When i<br>
>>> >>> > press<br>
>>> >>> > up on the remote, it shows up_pressed or something like that. I'm<br>
>>> >>> > away from<br>
>>> >>> > >this machine at work so I will reply with the exact messages<br>
>>> >>> > > later.<br>
>>> >>> ><br>
>>> >>> >bh<br>
>>> >>><br>
>>> >>> It sounds like you've made good progress if irw reports the<br>
>>> >>> keypresses. We need to compare the output of those against your<br>
>>> >>> previously posted .lircrc files. Specifically I'm thinking the remote<br>
>>> >>> name needs to match correctly as follows:<br>
>>> >>><br>
>>> >>> output of IRW:<br>
>>> >>><br>
>>> >>> Matches :<br>
>>> >>> 0000000000001794 00 Up mceusb<br>
>>> >>> 0000000000001794 01 Up mceusb<br>
>>> >>> 0000000000001796 00 Left mceusb<br>
>>> >>> 0000000000001796 01 Left mceusb<br>
>>> >>><br>
>>> >>> Doesn't Match:<br>
>>> >>> 0000000000001795 00 Down Hauppauge_350<br>
>>> >>> 0000000000001795 01 Down Hauppauge_350<br>
>>> >>> 0000000000001797 00 Right Hauppauge_350<br>
>>> >>><br>
>>> >>> Snippet of .lircrc you posted previously:<br>
>>> >>><br>
>>> >>> begin<br>
>>> >>> remote = mceusb <-- matches<br>
>>> >>> prog = mythtv<br>
>>> >>> button = RecTV<br>
>>> >>> config = R<br>
>>> >>> repeat = 0<br>
>>> >>> delay = 0<br>
>>> >>> end<br>
>>> >>><br>
>>> >>> The lirc daemon only runs the commands or keypresses in these small<br>
>>> >>> stanza's if the name of the remote sending them matches. This allows<br>
>>> >>> multiple remotes to be used.<br>
>>> >>><br>
>>> >>> Sorry for the misinfo on the 'try stopping the lirc daemon' - I was<br>
>>> >>> actually wondering if you were seeing errors on starting / stopping<br>
>>> >>> it<br>
>>> >>> and wasn't thinking clearly on the irw vs. irrecord needing it. Jarod<br>
>>> >>> is actually quite the expert on lirc as he's a major contributor to<br>
>>> >>> it. (to whom we're all exceedingly grateful.)<br>
>>> >>><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>
>>> >><br>
>>> >> Ok, will do.<br>
>>> >><br>
>>> >> --<br>
>>> >> - brock<br>
>>> ><br>
>>> ><br>
>>> > Here is the output from irw when pressing up, left, down, right, 1, 2,<br>
>>> > 3, 4,<br>
>>> > 5, 6, 7, 8, 9:<br>
>>> ><br>
>>> > 000000037ff07be1 00 Up mceusb<br>
>>> > 000000037ff07bdf 00 Left mceusb<br>
>>> > 000000037ff07be0 00 Down mceusb<br>
>>> > 000000037ff07be0 01 Down mceusb<br>
>>> > 000000037ff07bde 00 Right mceusb<br>
>>> > 000000037ff07bfe 00 One mceusb<br>
>>> > 000000037ff07bfd 00 Two mceusb<br>
>>> > 000000037ff07bfc 00 Three mceusb<br>
>>> > 000000037ff07bfb 00 Four mceusb<br>
>>> > 000000037ff07bfa 00 Five mceusb<br>
>>> > 000000037ff07bf9 00 Six mceusb<br>
>>> > 000000037ff07bf8 00 Seven mceusb<br>
>>> > 000000037ff07bf8 01 Seven mceusb<br>
>>> > 000000037ff07bf7 00 Eight mceusb<br>
>>> > 000000037ff07bf6 00 Nine mceusb<br>
>>> > 000000037ff07bf6 01 Nine mceusb<br>
>>> ><br>
>>> > Does this make sense with what is in the lircrc?<br>
>>> ><br>
>>> > --<br>
>>> > - brock<br>
>>><br>
>>> 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'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'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>
>>> '/dev/lircd'<br>
>>> eno: No such file or directory (2)<br>
>>> 2009-12-29 17:41:28.196 Using the Qt painter<br>
>>><br>
>>> Here'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 '/dev/lircd'<br>
>>> using '/home/johnny/.mythtv/lircrc' 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>
>>><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>
>><br>
>> So,i'm getting no response from the remote control when running myth. I<br>
>> also don't see anything in the frontend log.<br>
>><br>
>> Here is the output of the log when starting up the frontend, pressing some<br>
>> 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]<br>
>> <a href="http://www.mythtv.org" target="_blank">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 'mythconverg' at host:<br>
>> 127.0.0.1<br>
>> 2010-03-30 16:39:41.175 Closing DB connection named 'DBManager0'<br>
>> 2010-03-30 16:39:41.203 ScreenSaverX11Private: XScreenSaver support<br>
>> enabled<br>
>> 2010-03-30 16:39:41.203 ScreenSaverX11Private: Gnome screen saver support<br>
>> 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 'mythconverg' at host:<br>
>> 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<br>
>> /usr/local/share/mythtv/themes/Mythbuntu/base.xml<br>
>> 2010-03-30 16:39:41.947 Loaded base theme from<br>
>> /usr/local/share/mythtv/themes/default-wide/base.xml<br>
>> 2010-03-30 16:39:42.001 Loaded base theme from<br>
>> /usr/local/share/mythtv/themes/default/base.xml<br>
>> 2010-03-30 16:39:42.002 Unable to load window 'backgroundwindow' 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 'mythconverg' at host:<br>
>> 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<br>
>> /dev/bdi,<br>
>> eno: No such file or directory (2)<br>
>> 2010-03-30 16:39:43.075 MMUnix::AddDevice() Error: failed to stat<br>
>> /dev/power,<br>
>> eno: No such file or directory (2)<br>
>> 2010-03-30 16:39:43.080 MMUnix::AddDevice() Error: failed to stat<br>
>> /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<br>
>> (MusicDBSchemaVer): 1017<br>
>> 2010-03-30 16:39:43.215 MonitorRegisterExtensions(0x40,<br>
>> 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<br>
>> (mythvideo.DBSchemaVer): 1028<br>
>> 2010-03-30 16:39:43.374 NetworkControl: Listening for remote connections<br>
>> on port 6546<br>
>> 2010-03-30 16:39:43.377 Loading window theme from<br>
>> /usr/local/share/mythtv/themes/Mythbuntu/menu-ui.xml<br>
>> 2010-03-30 16:39:43.498 Loading menu theme from<br>
>> /usr/local/share/mythtv/themes/defaultmenu//mainmenu.xml<br>
>> 2010-03-30 16:39:43.502 Found mainmenu.xml for theme 'Mythbuntu'<br>
>> 2010-03-30 16:39:45.681 MythContext: Connecting to backend server:<br>
>> <a href="http://192.168.1.199:6543" target="_blank">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't exit<br>
>><br>
>> Thanks,<br>
>><br>
>> --<br>
>> - brock<br>
><br>
><br>
> Does the fact there are no errors in this log suggest that perhaps things<br>
> like the repeat in the .lircrc are wrong?<br>
><br>
> --<br>
> - brock<br>
><br>
<br>
</div></div>I'm more tempted to think that maybe there's a problem in the mythtv<br>
config. On the frontend can you goto Utilities / Setup --> Setup --><br>
General and then to the 8th screen it should say 'Remote Control' -<br>
Next to 'LIRC Daemon Socket:' what do you have listed?<br>
<br>
Also I notice in your logs you're running the release version. I would<br>
strongly suggest installing the mythtbuntu autobuilds package. It will<br>
contain many bug fixes for you.<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>Here are those settings:<br><br>The LircSocket is: /dev/lircd<br>The LircKeyPressedApp is empty.<br><br>The socket seems to be correct:<br clear="all">ll /dev/lirc*<br>crw-rw---- 1 root root 61, 0 2010-03-30 15:32 /dev/lirc0<br>
lrwxrwxrwx 1 root root 19 2010-03-30 15:32 /dev/lircd -> /var/run/lirc/lircd<br><br>-- <br>- brock<br>