So I have compared the logs of Mythlcdserver fro the following three situations:<br><br>A) Start mythfrontend (as normal)<br>C) Start mythlcdserver then start mythfrontend<br>D) Start mythlcdserver then start mythfrontend then "reload" frontend by running through the Setup/Appearances screens<br>
<br>It looks like the following two lines do not appear when starting mythfrontend in all three situations.<br><br>MythSocket(8bf7870:9): socket is readable<br>MythSocket(8bf7870:9): cb->readyRead()<br><br>For situation C: somehow when the frontend reloads after finishing the last Setup/Appearances page the first thing that happens is that the socket becomes readable and ready, thus enabling the VFD. It is almost as if mythfrontend is somehow initially blocking the socket. Perhaps this is timing related? <br>
<br>Will do some further testing tonight... perhaps start mythfrontend as normal, kill mythlcdserver pid & start mythlcdserver again manually...see what happens.<br><br>If anybody is having similar problems or has advise (or better yet a solution lol) please let me know.<br>
<br>Tim<br><br><br><br><br><br><div class="gmail_quote">On Thu, Apr 17, 2008 at 7:07 PM, tim dennis <<a href="mailto:tdennis.sub@gmail.com">tdennis.sub@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Interesting that the iMon VFD is also having this problem.<br><br>I
have done some further testing and found that after starting the
Mythfrontend and running through the setup / appearance menu options
(without changing anything), the frontend reloads the GUI as usual
after clicking "finish" on the last screen, after reloading is complete
the connection problem with the VFD is resolved and it works.<br>
<br>Of course this is a bit of a hackish way to get the VFD to work. It
seems the frontend is unable to connect to VFD fully when first
starting but when "reloading" the communications are ok. <br><br>Attached is the log, basically it starts with the VFD in a semi connected condition after starting mythfrontend: i.e.:</div><div><br><div class="Ih2E3d">
<br>"LCDProcClient: Sending to Server: output 0"<br><br></div></div><div class="Ih2E3d">then a
few second later I press through the last appearance settings screen
and the frontend reloads, socket connects, clear cache etc.. etc..<br><br><br><br>
2008-04-17 18:45:35.545 LCDProcClient: Sending to Server: output 0<br>2008-04-17 18:45:37.525 LCDProcClient: checking connections<br>2008-04-17 18:45:41.302 MythSocket(8bf7870:9): socket is readable<br>2008-04-17 18:45:41.302 MythSocket(8bf7870:9): cb->readyRead()<br>
2008-04-17 18:45:41.302 read <- 9 50 BACKEND_MESSAGE[]:[]CLEAR</div><div><div class="Ih2E3d">_SETTINGS_CACHE[]:[]empty<br>2008-04-17 18:45:41.302 Received a remote 'Clear Cache' request<br>2008-04-17 18:45:41.302 Clearing Settings Cache.<br>
2008-04-17 18:45:41.345 LCDServer: SWITCH_TO_MENU: 88<br>2008-04-17 18:45:41.346 LCDProcClient: switchToMenu<br>2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: screen_set Menu priority 248<br>2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: widget_set Menu topWidget 4 1 "MYTH-SETUP"<br>
2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: widget_set Menu menuWidget1 1 2 ">Appearance"<br>2008-04-17 18:45:41.346 LCDServer: SWITCH_TO_MENU: 73<br>2008-04-17 18:45:41.346 LCDProcClient: switchToMenu<br>
2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: screen_set Menu priority 248<br></div><div><div></div><div class="Wj3C7c">2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: widget_set Menu topWidget 4 1 "MYTH-MAIN"<br>
2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: widget_set Menu menuWidget1 1 2 ">Setup"<br>
2008-04-17 18:45:41.491 LCDProcClient: Received from server: listen Menu<br>2008-04-17 18:45:41.637 LCDServer: SWITCH_TO_NOTHING<br>2008-04-17 18:45:41.637 LCDProcClient: stopAll<br>2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Time priority 0<br>
2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Music priority 0<br>2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Channel priority 0<br>2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Generic priority 0<br>
2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Volume priority 0<br>2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set RecStatus priority 0<br>
2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>2008-04-17 18:45:41.637 LCDProcClient: switchToNothing<br>2008-04-17 18:45:41.637 LCDServer:: SWITCH_TO_TIME<br>2008-04-17 18:45:41.637 LCDProcClient: stopAll<br>
2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Time priority 0<br>2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Music priority 0<br>2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Channel priority 0<br>
2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Generic priority 0<br>2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Volume priority 0<br>2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>
2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set RecStatus priority 0<br>2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>2008-04-17 18:45:41.638 LCDProcClient: switchToTime<br>
2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Time priority 128<br>2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set RecStatus priority 64<br>2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: widget_set Time topWidget 1 1 "Thu Apr 17 2008"<br>
2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: widget_set Time timeWidget 5 2 "06:45 PM"<br>2008-04-17 18:45:41.741 LCDProcClient: Received from server: ignore Menu<br>2008-04-17 18:45:41.741 LCDProcClient: Received from server: listen Time<br>
2008-04-17 18:45:42.008 LCDServer: SWITCH_TO_NOTHING<br>2008-04-17 18:45:42.008 LCDProcClient: stopAll<br>2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Time priority 0<br>2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Music priority 0<br>
2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Channel priority 0<br>2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Generic priority 0<br>2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Volume priority 0<br>
2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set RecStatus priority 0<br>2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>
2008-04-17 18:45:42.008 LCDProcClient: switchToNothing<br>2008-04-17 18:45:42.009 LCDServer:: SWITCH_TO_TIME<br>2008-04-17 18:45:42.009 LCDProcClient: stopAll<br>2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Time priority 0<br>
2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Music priority 0<br>2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Channel priority 0<br>2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Generic priority 0<br>
2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Volume priority 0<br>2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set RecStatus priority 0<br>
2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>2008-04-17 18:45:42.009 LCDProcClient: switchToTime<br>2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Time priority 128<br>
2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set RecStatus priority 64<br>2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: widget_set Time topWidget 1 1 "Thu Apr 17 2008"<br>2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: widget_set Time timeWidget 5 2 "06 45 PM"<br>
2008-04-17 18:45:42.346 LCDServer: close connection<br>2008-04-17 18:45:42.865 LCDServer: new connection<br>2008-04-17 18:45:42.865 LCDProcClient: stopAll<br>2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Time priority 0<br>
2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Music priority 0<br>2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Channel priority 0<br>2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Generic priority 0<br>
2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Volume priority 0<br>2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set RecStatus priority 0<br>
2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Menu priority 0<br>2008-04-17 18:45:42.866 LCDProcClient: switchToTime<br>2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Time priority 128<br>
2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set RecStatus priority 64<br>2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: widget_set Time topWidget 1 1 "Thu Apr 17 2008"<br></div></div>
2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: widget_set Time timeWidget 5 2 "06:45 PM"<br>
<br>etc...<br></div></blockquote></div><br>