<!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-&gt;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&nbsp; &lt;- 10 
  50&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  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 &lt;douglas.mackay@gmail.com&gt;:</P>
<P>&gt; 2009/11/6 &nbsp;&lt;steve.goodey@bt.com&gt;:</P>
<P>&gt;&gt; Hello,</P>
<P>&gt;&gt;</P>
<P>&gt;&gt; I wonder if someone can help me please.</P>
<P>&gt;&gt;</P>
<P>&gt;&gt; Can anyone give me a clue about editing the entry LCDServerHost in 
</P>
<P>&gt;&gt; the database? From this post</P>
<P>&gt;&gt;</P>
<P>&gt;&gt; </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>&gt;&gt;</P>
<P>&gt;&gt; I need to change it to 127.0.0.1. I have the userid and password for 
</P>
<P>&gt;&gt; mysql but am unable to find the commands to allow editing of the 
</P>
<P>&gt;&gt; required field, which does not appear to be editable in mythweb.</P>
<P>&gt;&gt;</P>
<P>&gt;&gt; Thank you.</P>
<P>&gt;&gt;</P>
<P>&gt;&gt; Steve</P>
<P>&gt;&gt;</P>
<P>&gt;&gt; Background. I have a clean install of Mythbuntu 9.10, combined </P>
<P>&gt;&gt; front/backend on a Scaleo E which has a VFD display. Now the display 
</P>
<P>&gt;&gt; is almost working. On power up it shows Scaleo E, after a few 
minutes </P>
<P>&gt;&gt; the lcdproc server screen appears and when mythfrontend starts the 
</P>
<P>&gt;&gt; display shows date/time. But I am unable to get the display to show 
</P>
<P>&gt;&gt; anything else apart from date/time. I have enabled the display is 
setup, appearance, lcd device display.</P>
<P>&gt;&gt;</P>
<P>&gt;&gt; The log from mythfrontend -v network,socket shows Connecting to lcd 
server:</P>
<P>&gt;&gt; localhost:6545 (try 1 of 10) (try 2 of 10) etc up to 10.</P>
<P>&gt;&gt; Syslog shows LCDd: sock_send: socket write error.</P>
<P>&gt;&gt;</P>
<P>&gt;</P>
<P>&gt; Thought it only me that had the problem. The LCDServerHost value might 
</P>
<P>&gt; not exist in you database (it didn't in mine).</P>
<P>&gt;</P>
<P>&gt; In the settings table within the mythconverg database there are three 
</P>
<P>&gt; fields :- value, data, hostname so to add the LCDServerHost setting </P>
<P>&gt; you would create a new row with value=LCDServerHost, data=127.0.0.1, 
</P>
<P>&gt; hostname=&lt;think this can be set to null to apply to all hosts or you 
</P>
<P>&gt; can specify an individual host&gt;</P>
<P>&gt;</P>
<P>&gt; I used phpMyAdmin to insert the value to the settings table however </P>
<P>&gt; you you should be able use the mysql tools to do the same.</P>
<P>&gt;</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>&lt;enter password&gt;</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>