[mythtv-users] Troubles with Irtrans VFD

tim dennis tdennis.sub at gmail.com
Fri Apr 18 14:41:42 UTC 2008


So I have compared the logs of Mythlcdserver fro the following three
situations:

A) Start mythfrontend (as normal)
C) Start mythlcdserver then start mythfrontend
D) Start mythlcdserver then start mythfrontend then "reload" frontend by
running through the Setup/Appearances screens

It looks like the following two lines do not appear when starting
mythfrontend in all three situations.

MythSocket(8bf7870:9): socket is readable
MythSocket(8bf7870:9): cb->readyRead()

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?

Will do some further testing tonight... perhaps start mythfrontend as
normal, kill mythlcdserver pid & start mythlcdserver again manually...see
what happens.

If anybody is having similar problems or has advise (or better yet a
solution lol) please let me know.

Tim





On Thu, Apr 17, 2008 at 7:07 PM, tim dennis <tdennis.sub at gmail.com> wrote:

> Interesting that the iMon VFD is also having this problem.
>
> 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.
>
> 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.
>
> Attached is the log, basically it starts with the VFD in a semi connected
> condition after starting mythfrontend: i.e.:
>
>
> "LCDProcClient: Sending to Server: output 0"
>
> then a few second later I press through the last appearance settings
> screen and the frontend reloads, socket connects, clear cache etc.. etc..
>
>
>
> 2008-04-17 18:45:35.545 LCDProcClient: Sending to Server: output 0
> 2008-04-17 18:45:37.525 LCDProcClient: checking connections
> 2008-04-17 18:45:41.302 MythSocket(8bf7870:9): socket is readable
> 2008-04-17 18:45:41.302 MythSocket(8bf7870:9): cb->readyRead()
> 2008-04-17 18:45:41.302 read  <-  9 50      BACKEND_MESSAGE[]:[]CLEAR
> _SETTINGS_CACHE[]:[]empty
> 2008-04-17 18:45:41.302 Received a remote 'Clear Cache' request
> 2008-04-17 18:45:41.302 Clearing Settings Cache.
> 2008-04-17 18:45:41.345 LCDServer: SWITCH_TO_MENU: 88
> 2008-04-17 18:45:41.346 LCDProcClient: switchToMenu
> 2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: screen_set Menu
> priority 248
> 2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: widget_set Menu
> topWidget 4 1 "MYTH-SETUP"
> 2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: widget_set Menu
> menuWidget1 1 2 ">Appearance"
> 2008-04-17 18:45:41.346 LCDServer: SWITCH_TO_MENU: 73
> 2008-04-17 18:45:41.346 LCDProcClient: switchToMenu
> 2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: screen_set Menu
> priority 248
> 2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: widget_set Menu
> topWidget 4 1 "MYTH-MAIN"
> 2008-04-17 18:45:41.346 LCDProcClient: Sending to Server: widget_set Menu
> menuWidget1 1 2 ">Setup"
> 2008-04-17 18:45:41.491 LCDProcClient: Received from server: listen Menu
> 2008-04-17 18:45:41.637 LCDServer: SWITCH_TO_NOTHING
> 2008-04-17 18:45:41.637 LCDProcClient: stopAll
> 2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Time
> priority 0
> 2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Music
> priority 0
> 2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set
> Channel priority 0
> 2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set
> Generic priority 0
> 2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set
> Volume priority 0
> 2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set
> RecStatus priority 0
> 2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:41.637 LCDProcClient: switchToNothing
> 2008-04-17 18:45:41.637 LCDServer:: SWITCH_TO_TIME
> 2008-04-17 18:45:41.637 LCDProcClient: stopAll
> 2008-04-17 18:45:41.637 LCDProcClient: Sending to Server: screen_set Time
> priority 0
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Music
> priority 0
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set
> Channel priority 0
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set
> Generic priority 0
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set
> Volume priority 0
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set
> RecStatus priority 0
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:41.638 LCDProcClient: switchToTime
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set Time
> priority 128
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: screen_set
> RecStatus priority 64
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: widget_set Time
> topWidget 1 1 "Thu Apr 17 2008"
> 2008-04-17 18:45:41.638 LCDProcClient: Sending to Server: widget_set Time
> timeWidget 5 2 "06:45 PM"
> 2008-04-17 18:45:41.741 LCDProcClient: Received from server: ignore Menu
> 2008-04-17 18:45:41.741 LCDProcClient: Received from server: listen Time
> 2008-04-17 18:45:42.008 LCDServer: SWITCH_TO_NOTHING
> 2008-04-17 18:45:42.008 LCDProcClient: stopAll
> 2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Time
> priority 0
> 2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Music
> priority 0
> 2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set
> Channel priority 0
> 2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set
> Generic priority 0
> 2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set
> Volume priority 0
> 2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set
> RecStatus priority 0
> 2008-04-17 18:45:42.008 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:42.008 LCDProcClient: switchToNothing
> 2008-04-17 18:45:42.009 LCDServer:: SWITCH_TO_TIME
> 2008-04-17 18:45:42.009 LCDProcClient: stopAll
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Time
> priority 0
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Music
> priority 0
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set
> Channel priority 0
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set
> Generic priority 0
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set
> Volume priority 0
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set
> RecStatus priority 0
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:42.009 LCDProcClient: switchToTime
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set Time
> priority 128
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: screen_set
> RecStatus priority 64
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: widget_set Time
> topWidget 1 1 "Thu Apr 17 2008"
> 2008-04-17 18:45:42.009 LCDProcClient: Sending to Server: widget_set Time
> timeWidget 5 2 "06 45 PM"
> 2008-04-17 18:45:42.346 LCDServer: close connection
> 2008-04-17 18:45:42.865 LCDServer: new connection
> 2008-04-17 18:45:42.865 LCDProcClient: stopAll
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Time
> priority 0
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Music
> priority 0
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set
> Channel priority 0
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set
> Generic priority 0
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set
> Volume priority 0
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set
> RecStatus priority 0
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Menu
> priority 0
> 2008-04-17 18:45:42.866 LCDProcClient: switchToTime
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set Time
> priority 128
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: screen_set
> RecStatus priority 64
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: widget_set Time
> topWidget 1 1 "Thu Apr 17 2008"
> 2008-04-17 18:45:42.866 LCDProcClient: Sending to Server: widget_set Time
> timeWidget 5 2 "06:45 PM"
>
> etc...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080418/60b1ffdb/attachment.htm 


More information about the mythtv-users mailing list