<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B>
mythtv-users-bounces@mythtv.org [mailto:mythtv-users-bounces@mythtv.org] <B>On
Behalf Of </B>Jelle De Loecker<BR><B>Sent:</B> 04 December 2009
14:01<BR><B>To:</B> Discussion about mythtv<BR><B>Subject:</B> [mythtv-users]
MythTV won't connect to mythlcdserver<BR></FONT><BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>Hi everyone,<BR><BR>I've configured my LCDd daemon and lcdproc
correctly.<BR>The only thing I need to get running now is the myth-part, but
for some reason mythtv won't connect to its own mythlcdserver!<BR><BR>This is
the debug output of mythlcdserver:<BR><BR>2009-12-04 14:52:10.570
LCDProcClient: checking connections<BR>2009-12-04 14:52:16.310 Got data on
select<BR>2009-12-04 14:52:16.310 Processing ready reads<BR>2009-12-04
14:52:16.310 MythSocketThread(sock 0x1fa69e0:10): socket is
readable<BR>2009-12-04 14:52:16.310 MythSocketThread(sock 0x1fa69e0:10):
calling m_cb->readyRead()<BR>2009-12-04 14:52:16.310
MythSocket(1fa69e0:10): readBlock(0x33452536, 8) called<BR>2009-12-04
14:52:16.310 MythSocket(1fa69e0:10): readBlock(0x33282632, 50)
called<BR>2009-12-04 14:52:16.310 MythSocket(1fa69e0:10): read <- 10
50
BACKEND_MESSAGE[]:[]CLEAR_SETTINGS_CACHE[]:[]empty<BR>2009-12-04 14:52:16.310
Received a remote 'Clear Cache' request<BR>2009-12-04 14:52:16.310 Clearing
Settings Cache.<BR>2009-12-04 14:52:16.310 MythSocketThread: Total read time:
0ms, on sockets {10,0ms}<BR>2009-12-04 14:52:16.310 Reacquired ready read
lock<BR>2009-12-04 14:52:16.310 ProcessAddRemoveQueues<BR>2009-12-04
14:52:16.310 Construct FD_SET<BR>2009-12-04 14:52:16.310 Waiting on
select..<BR>2009-12-04 14:52:20.570 LCDProcClient: checking
connections<BR>2009-12-04 14:52:30.570 LCDProcClient: checking
connections<BR><BR>In between these "checking connections", mythtv throws
these errors, from 1 to 10:<BR>2009-12-04 14:52:21.242 Connecting to lcd
server: localhost:6545 (try 10 of 10)<BR><BR>I'm not really sure what the
problem is. I haven't found a lot of information on mythlcdserver<BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD><BR><I>Met vriendelijke groeten,</I> <BR><BR><B>Jelle De Loecker</B>
<BR><BR></TD></TR></TBODY></TABLE></BLOCKQUOTE><FONT size=2>
<P>2009/11/6 Douglas Mackay <douglas.mackay@gmail.com>:</P>
<P>> 2009/11/6 <steve.goodey@bt.com>:</P>
<P>>> Hello,</P>
<P>>></P>
<P>>> I wonder if someone can help me please.</P>
<P>>></P>
<P>>> Can anyone give me a clue about editing the entry LCDServerHost in
</P>
<P>>> the database? From this post</P>
<P>>></P>
<P>>> </FONT><A
href="http://www.gossamer-threads.com/lists/mythtv/users/402902"><U><FONT
color=#0000ff
size=2>http://www.gossamer-threads.com/lists/mythtv/users/402902</U></FONT></A></P><FONT
size=2>
<P>>></P>
<P>>> I need to change it to 127.0.0.1. I have the userid and password for
</P>
<P>>> mysql but am unable to find the commands to allow editing of the
</P>
<P>>> required field, which does not appear to be editable in mythweb.</P>
<P>>></P>
<P>>> Thank you.</P>
<P>>></P>
<P>>> Steve</P>
<P>>></P>
<P>>> Background. I have a clean install of Mythbuntu 9.10, combined </P>
<P>>> front/backend on a Scaleo E which has a VFD display. Now the display
</P>
<P>>> is almost working. On power up it shows Scaleo E, after a few
minutes </P>
<P>>> the lcdproc server screen appears and when mythfrontend starts the
</P>
<P>>> display shows date/time. But I am unable to get the display to show
</P>
<P>>> anything else apart from date/time. I have enabled the display is
setup, appearance, lcd device display.</P>
<P>>></P>
<P>>> The log from mythfrontend -v network,socket shows Connecting to lcd
server:</P>
<P>>> localhost:6545 (try 1 of 10) (try 2 of 10) etc up to 10.</P>
<P>>> Syslog shows LCDd: sock_send: socket write error.</P>
<P>>></P>
<P>></P>
<P>> Thought it only me that had the problem. The LCDServerHost value might
</P>
<P>> not exist in you database (it didn't in mine).</P>
<P>></P>
<P>> In the settings table within the mythconverg database there are three
</P>
<P>> fields :- value, data, hostname so to add the LCDServerHost setting </P>
<P>> you would create a new row with value=LCDServerHost, data=127.0.0.1,
</P>
<P>> hostname=<think this can be set to null to apply to all hosts or you
</P>
<P>> can specify an individual host></P>
<P>></P>
<P>> I used phpMyAdmin to insert the value to the settings table however </P>
<P>> you you should be able use the mysql tools to do the same.</P>
<P>></P>
<P>If you don't have phpMyAdmin installed it's probaly easier just to use mysql.
The following should work :-</P>
<P>mysql -u mythtv -p</P>
<P><enter password></P>
<P>use mythconverg;</P>
<P>insert into settings (value,data,hostname) values ('LCDServerHost',
'127.0.0.1', null); _______________________________________________</P>
<P>mythtv-users mailing list</P>
<P>mythtv-users@mythtv.org</P>
<P></FONT><A
href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users"><U><FONT
color=#0000ff
size=2>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</U></FONT></A></P><FONT
size=2></FONT></BODY></HTML>