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