Mailing List Archive

Troubles with Irtrans VFD
Greetings!

I am having some serious issues with Mythtv and my VFD unit. It is an
Irtrans display and has been working fine until recent upgrade to myth
0.21.

"IRserver" and "LCDproc" both start up fine, I get the usual startup
display with heartbeat in top right corner:

## LCDproc Server ##
Cli: 0 Scr: 0

Irserver: 5.9.07 (latest stable)
LCDproc: 0.52 (latest stable)
VFD Firmware: D5.08.10 (latest)

However, the display no longer seems to be initializing properly when
starting the mythtv frontend starts. I get this display:

### LCDproc Server ##
Cli: 1 Scr: 7

Looks like myth is connecting and preloading the screens, however that
is where it ends, moving up and down and into the frontend menu's has
no effect at all.

As a test I have started mythlcdserver with verbose settings before
running myththfrontend. Mythlcdserver start off fine and even displays
date and time, however from the moment I run mythfrontend everything
basically shuts down, with several SWITCH_TO_NOTHING leading the way.

I am stumped, any insight is appreciated.



Log as follows:

Note: Mythfrontend starts at: 2008-04-16 19:13:08.899 LCDServer: new connection


[Jojo@localhost ~]$ /usr/bin/mythlcdserver -v all -x 10
2008-04-16 19:13:00.096 Using runtime prefix = /usr, libdir = /usr/lib
2008-04-16 19:13:00.097 Empty LocalHostName.
2008-04-16 19:13:00.097 Using localhost value of localhost.localdomain
2008-04-16 19:13:00.097 MCP::DefaultUPnP() - No default UPnP backend
2008-04-16 19:13:00.097 Testing network connectivity to 192.168.0.101
2008-04-16 19:13:00.110 New DB connection, total: 1
2008-04-16 19:13:00.158 Connected to database 'mythconverg' at host:
192.168.0.101
2008-04-16 19:13:00.159 Closing DB connection named 'DBManager0'
2008-04-16 19:13:00.159 Clearing Settings Cache.
2008-04-16 19:13:00.159 Enabling Settings Cache.
2008-04-16 19:13:00.159 Clearing Settings Cache.
2008-04-16 19:13:00.177 Connected to database 'mythconverg' at host:
192.168.0.101
2008-04-16 19:13:00.178 MSqlQuery: SELECT data FROM settings WHERE
value = 'MasterServerIP' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.179 MSqlQuery: SELECT data FROM settings WHERE
value = 'MasterServerIP' AND hostname IS NULL;
2008-04-16 19:13:00.179 MSqlQuery: SELECT data FROM settings WHERE
value = 'MasterServerPort' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.180 MSqlQuery: SELECT data FROM settings WHERE
value = 'MasterServerPort' AND hostname IS NULL;
2008-04-16 19:13:00.180 MythSocket(91ed6c8:9): new socket
2008-04-16 19:13:00.181 MSqlQuery: SELECT data FROM settings WHERE
value = 'WOLbackendReconnectWaitTime' AND hostname =
'localhost.localdomain' ;
2008-04-16 19:13:00.182 MSqlQuery: SELECT data FROM settings WHERE
value = 'WOLbackendReconnectWaitTime' AND hostname IS NULL;
2008-04-16 19:13:00.183 MSqlQuery: SELECT data FROM settings WHERE
value = 'WOLbackendConnectRetry' AND hostname =
'localhost.localdomain' ;
2008-04-16 19:13:00.183 MSqlQuery: SELECT data FROM settings WHERE
value = 'WOLbackendConnectRetry' AND hostname IS NULL;
2008-04-16 19:13:00.184 Connecting to backend server:
192.168.0.101:6543 (try 1 of 5)
2008-04-16 19:13:00.184 MythSocket(91ec8f0:10): new socket
2008-04-16 19:13:00.184 MythSocket(91ec8f0:10): attempting connect()
to (192.168.0.101:6543)
2008-04-16 19:13:00.184 MythSocket(91ec8f0:10): state change Idle -> Connected
2008-04-16 19:13:00.184 write -> 10 21 MYTH_PROTO_VERSION 40
2008-04-16 19:13:00.185 read <- 10 13 ACCEPT[]:[]40
2008-04-16 19:13:00.185 Using protocol version 40
2008-04-16 19:13:00.185 write -> 10 35 ANN Monitor localhost.localdomain 0
2008-04-16 19:13:00.185 read <- 10 2 OK
2008-04-16 19:13:00.185 MythSocket(91ed6c8:9): attempting connect() to
(192.168.0.101:6543)
2008-04-16 19:13:00.186 MythSocket(91ed6c8:9): state change Idle -> Connected
2008-04-16 19:13:00.186 write -> 9 35 ANN Monitor localhost.localdomain 1
2008-04-16 19:13:00.186 read <- 9 2 OK
2008-04-16 19:13:00.187 MythSocket: readyread thread start
2008-04-16 19:13:00.187 MythSocket(91ed6c8:9): UpRef: 1
2008-04-16 19:13:00.188 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDServerPort' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.188 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDServerPort' AND hostname IS NULL;
2008-04-16 19:13:00.188 LCDProcClient: An LCDProcClient object now exists
2008-04-16 19:13:00.189 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDHost' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.190 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDHost' AND hostname IS NULL;
2008-04-16 19:13:00.191 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDPort' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.192 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDPort' AND hostname IS NULL;
2008-04-16 19:13:00.192 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDEnable' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.195 LCDServer: is listening on port 6545
2008-04-16 19:13:00.259 LCDProcClient: Received from server: connect
LCDproc 0.5.1 protocol 0.3 lcd wid 16 hgt 2 cellwid 5 cellhgt 8
2008-04-16 19:13:00.259 LCDProcClient: Sending to Server: client_set name Myth
2008-04-16 19:13:00.259 LCDProcClient: Sending to Server: screen_add Time
2008-04-16 19:13:00.259 LCDProcClient: Sending to Server: screen_set
Time priority 128
2008-04-16 19:13:00.260 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDBigClock' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: widget_add
Time timeWidget string
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: widget_add
Time topWidget string
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: screen_add Menu
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: screen_set
Menu priority 64
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: widget_add
Menu topWidget string
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: widget_add
Menu menuWidget1 string
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: widget_add
Menu menuWidget2 string
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: screen_add Music
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: screen_set
Music priority 64
2008-04-16 19:13:00.260 LCDProcClient: Sending to Server: widget_add
Music topWidget1 string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Music topWidget2 string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Music timeWidget string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Music infoWidget string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Music progressBar hbar
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: screen_add Channel
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: screen_set
Channel priority 64
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Channel topWidget string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Channel botWidget string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Channel progressBar hbar
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: screen_add Generic
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: screen_set
Generic priority 64
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Generic textWidget1 string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Generic textWidget2 string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Generic textWidget3 string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Generic textWidget4 string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Generic progressBar hbar
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: screen_add Volume
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: screen_set
Volume priority 64
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Volume topWidget string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Volume botWidget string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
Volume progressBar hbar
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: screen_add RecStatus
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: screen_set
RecStatus priority 64
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
RecStatus textWidget1 string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
RecStatus textWidget2 string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
RecStatus textWidget3 string
2008-04-16 19:13:00.261 LCDProcClient: Sending to Server: widget_add
RecStatus progressBar hbar
2008-04-16 19:13:00.262 MSqlQuery: SELECT data FROM settings WHERE
value = 'TimeFormat' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.263 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDShowMusic' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.264 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDShowMusicItems' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.264 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDShowTime' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.265 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDShowChannel' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.266 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDShowGeneric' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.267 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDShowVolume' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.268 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDShowMenu' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.268 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDShowRecStatus' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.269 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDBacklightOn' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.270 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDHeartBeatOn' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.271 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDPopupTime' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.271 MSqlQuery: SELECT data FROM settings WHERE
value = 'LCDKeyString' AND hostname = 'localhost.localdomain' ;
2008-04-16 19:13:00.271 LCDProcClient: Sending to Server:
client_add_key A B C D E F
2008-04-16 19:13:00.271 LCDProcClient: Sending to Server: screen_set
Time heartbeat off
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Time backlight on
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Menu heartbeat off
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Menu backlight on
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Music heartbeat off
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Music backlight on
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Channel heartbeat off
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Channel backlight on
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Generic heartbeat off
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Generic backlight on
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Volume heartbeat off
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Volume backlight on
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
RecStatus heartbeat off
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
RecStatus backlight on
2008-04-16 19:13:00.272 LCDProcClient: stopAll
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Time priority 0
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Music priority 0
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Channel priority 0
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Generic priority 0
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Volume priority 0
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Menu priority 0
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
RecStatus priority 0
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Menu priority 0
2008-04-16 19:13:00.272 LCDProcClient: switchToTime
2008-04-16 19:13:00.272 LCDProcClient: Sending to Server: screen_set
Time priority 128
2008-04-16 19:13:00.273 LCDProcClient: Sending to Server: screen_set
RecStatus priority 64
2008-04-16 19:13:00.273 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:00.273 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07:13 PM"
2008-04-16 19:13:00.273 MSqlQuery: SELECT cardid FROM capturecard
ORDER BY cardid
2008-04-16 19:13:00.273 write -> 10 35 QUERY_REMOTEENCODER 1[]:[]GET_STATE
2008-04-16 19:13:00.274 read <- 10 1 0
2008-04-16 19:13:00.274 write -> 10 35 QUERY_REMOTEENCODER 2[]:[]GET_STATE
2008-04-16 19:13:00.274 read <- 10 1 0
2008-04-16 19:13:00.274 LCDProcClient: Sending to Server: screen_set
Time priority 128
2008-04-16 19:13:00.274 LCDProcClient: Sending to Server: screen_set
RecStatus priority 64
2008-04-16 19:13:00.274 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:00.275 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07 13 PM"
2008-04-16 19:13:00.275 LCDProcClient: The server is 16x2 with each
cell being 5x8.
2008-04-16 19:13:00.275 LCDProcClient: LCDd version 0.5.1, protocol version 0.3.
2008-04-16 19:13:00.275 LCDProcClient: MythTV LCD settings:
2008-04-16 19:13:00.275 LCDProcClient: - showmusic : 0
2008-04-16 19:13:00.275 LCDProcClient: - showmusicitems : ArtistTitle
2008-04-16 19:13:00.275 LCDProcClient: - showtime : 1
2008-04-16 19:13:00.275 LCDProcClient: - showchannel : 0
2008-04-16 19:13:00.275 LCDProcClient: - showrecstatus : 0
2008-04-16 19:13:00.275 LCDProcClient: - showgeneric : 0
2008-04-16 19:13:00.275 LCDProcClient: - showvolume : 0
2008-04-16 19:13:00.275 LCDProcClient: - showmenu : 1
2008-04-16 19:13:00.275 LCDProcClient: - backlighton : 1
2008-04-16 19:13:00.275 LCDProcClient: - heartbeaton : 0
2008-04-16 19:13:00.275 LCDProcClient: - popuptime : 7000
2008-04-16 19:13:00.366 LCDProcClient: Received from server: listen Time
2008-04-16 19:13:01.275 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:01.275 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07:13 PM"
2008-04-16 19:13:02.275 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:02.275 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07 13 PM"
2008-04-16 19:13:03.275 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:03.275 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07:13 PM"
2008-04-16 19:13:04.275 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:04.275 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07 13 PM"
2008-04-16 19:13:05.275 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:05.275 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07:13 PM"
2008-04-16 19:13:06.275 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:06.275 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07 13 PM"
2008-04-16 19:13:07.275 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:07.275 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07:13 PM"
2008-04-16 19:13:08.275 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:08.275 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07 13 PM"
2008-04-16 19:13:08.899 LCDServer: new connection
2008-04-16 19:13:08.899 LCDProcClient: stopAll
2008-04-16 19:13:08.899 LCDProcClient: Sending to Server: screen_set
Time priority 0
2008-04-16 19:13:08.899 LCDProcClient: Sending to Server: screen_set
Music priority 0
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: screen_set
Channel priority 0
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: screen_set
Generic priority 0
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: screen_set
Volume priority 0
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: screen_set
Menu priority 0
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: screen_set
RecStatus priority 0
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: screen_set
Menu priority 0
2008-04-16 19:13:08.900 LCDProcClient: switchToTime
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: screen_set
Time priority 128
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: screen_set
RecStatus priority 64
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: widget_set
Time topWidget 1 1 "Wed Apr 16 2008"
2008-04-16 19:13:08.900 LCDProcClient: Sending to Server: widget_set
Time timeWidget 5 2 "07:13 PM"
2008-04-16 19:13:09.619 LCDServer: SWITCH_TO_NOTHING
2008-04-16 19:13:09.619 LCDProcClient: stopAll
2008-04-16 19:13:09.619 LCDProcClient: Sending to Server: screen_set
Time priority 0
2008-04-16 19:13:09.619 LCDProcClient: Sending to Server: screen_set
Music priority 0
2008-04-16 19:13:09.619 LCDProcClient: Sending to Server: screen_set
Channel priority 0
2008-04-16 19:13:09.619 LCDProcClient: Sending to Server: screen_set
Generic priority 0
2008-04-16 19:13:09.619 LCDProcClient: Sending to Server: screen_set
Volume priority 0
2008-04-16 19:13:09.619 LCDProcClient: Sending to Server: screen_set
Menu priority 0
2008-04-16 19:13:09.619 LCDProcClient: Sending to Server: screen_set
RecStatus priority 0
2008-04-16 19:13:09.619 LCDProcClient: Sending to Server: screen_set
Menu priority 0
2008-04-16 19:13:09.619 LCDProcClient: switchToNothing
2008-04-16 19:13:09.741 LCDProcClient: Received from server: ignore Time
2008-04-16 19:13:09.955 LCDServer: SWITCH_TO_NOTHING
2008-04-16 19:13:09.955 LCDProcClient: stopAll
2008-04-16 19:13:09.955 LCDProcClient: Sending to Server: screen_set
Time priority 0
2008-04-16 19:13:09.955 LCDProcClient: Sending to Server: screen_set
Music priority 0
2008-04-16 19:13:09.955 LCDProcClient: Sending to Server: screen_set
Channel priority 0
2008-04-16 19:13:09.955 LCDProcClient: Sending to Server: screen_set
Generic priority 0
2008-04-16 19:13:09.955 LCDProcClient: Sending to Server: screen_set
Volume priority 0
2008-04-16 19:13:09.955 LCDProcClient: Sending to Server: screen_set
Menu priority 0
2008-04-16 19:13:09.955 LCDProcClient: Sending to Server: screen_set
RecStatus priority 0
2008-04-16 19:13:09.955 LCDProcClient: Sending to Server: screen_set
Menu priority 0
2008-04-16 19:13:09.955 LCDProcClient: switchToNothing
2008-04-16 19:13:10.189 LCDProcClient: checking connections
2008-04-16 19:13:18.942 LCDServer: UPDATE_LEDS
2008-04-16 19:13:18.942 LCDProcClient: Sending to Server: output 0
2008-04-16 19:13:20.189 LCDProcClient: checking connections
2008-04-16 19:13:28.942 LCDServer: UPDATE_LEDS
2008-04-16 19:13:28.942 LCDProcClient: Sending to Server: output 0
2008-04-16 19:13:30.189 LCDProcClient: checking connections
2008-04-16 19:13:38.942 LCDServer: UPDATE_LEDS
2008-04-16 19:13:38.942 LCDProcClient: Sending to Server: output 0
2008-04-16 19:13:40.189 LCDProcClient: checking connections
2008-04-16 19:13:48.942 LCDServer: UPDATE_LEDS
2008-04-16 19:13:48.942 LCDProcClient: Sending to Server: output 0
2008-04-16 19:13:50.189 LCDProcClient: checking connections
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Troubles with Irtrans VFD [ In reply to ]
tim dennis wrote:
> Greetings!
>
> I am having some serious issues with Mythtv and my VFD unit. It is an
> Irtrans display and has been working fine until recent upgrade to myth
> 0.21.
>
> "IRserver" and "LCDproc" both start up fine, I get the usual startup
> display with heartbeat in top right corner:
>
> ## LCDproc Server ##
> Cli: 0 Scr: 0
>
> Irserver: 5.9.07 (latest stable)
> LCDproc: 0.52 (latest stable)
> VFD Firmware: D5.08.10 (latest)
>
> However, the display no longer seems to be initializing properly when
> starting the mythtv frontend starts. I get this display:
>
> ### LCDproc Server ##
> Cli: 1 Scr: 7
>
> Looks like myth is connecting and preloading the screens, however that
> is where it ends, moving up and down and into the frontend menu's has
> no effect at all.
>
> As a test I have started mythlcdserver with verbose settings before
> running myththfrontend. Mythlcdserver start off fine and even displays
> date and time, however from the moment I run mythfrontend everything
> basically shuts down, with several SWITCH_TO_NOTHING leading the way.
>
> I am stumped, any insight is appreciated.
>

Howdy,

Just wanted to send an "I've seen this too" email. I've got the iMON
VFD, and about 50% of the time it works correctly, and the other 50%
shows the same problem as yours. Testing with the curses driver also
proves this problem. Again, this was a non issue before upgrading to
0.21.

Regards,
Kirk.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Troubles with Irtrans VFD [ In reply to ]
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...


On Wed, Apr 16, 2008 at 8:33 PM, Kirk Fitzpatrick <
kfitzpatrick@cbltech.com.au> wrote:

> tim dennis wrote:
> > Greetings!
> >
> > I am having some serious issues with Mythtv and my VFD unit. It is an
> > Irtrans display and has been working fine until recent upgrade to myth
> > 0.21.
> >
> > "IRserver" and "LCDproc" both start up fine, I get the usual startup
> > display with heartbeat in top right corner:
> >
> > ## LCDproc Server ##
> > Cli: 0 Scr: 0
> >
> > Irserver: 5.9.07 (latest stable)
> > LCDproc: 0.52 (latest stable)
> > VFD Firmware: D5.08.10 (latest)
> >
> > However, the display no longer seems to be initializing properly when
> > starting the mythtv frontend starts. I get this display:
> >
> > ### LCDproc Server ##
> > Cli: 1 Scr: 7
> >
> > Looks like myth is connecting and preloading the screens, however that
> > is where it ends, moving up and down and into the frontend menu's has
> > no effect at all.
> >
> > As a test I have started mythlcdserver with verbose settings before
> > running myththfrontend. Mythlcdserver start off fine and even displays
> > date and time, however from the moment I run mythfrontend everything
> > basically shuts down, with several SWITCH_TO_NOTHING leading the way.
> >
> > I am stumped, any insight is appreciated.
> >
>
> Howdy,
>
> Just wanted to send an "I've seen this too" email. I've got the iMON
> VFD, and about 50% of the time it works correctly, and the other 50%
> shows the same problem as yours. Testing with the curses driver also
> proves this problem. Again, this was a non issue before upgrading to
> 0.21.
>
> Regards,
> Kirk.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Re: Troubles with Irtrans VFD [ In reply to ]
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@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...
>
Re: Troubles with Irtrans VFD [ In reply to ]
Another day, another test.

As a follow up to the VFD problems I have been having below, I decided to
check the response when starting mythfrontend as per normal, then killing
the mythlcdserver pid, then starting mythlcdserver manually.

Basically the following:

1) Clean up:
$ pkill -HUP mythlcdserver (just to be sure to kill of any residuals before
test)

2) Start mythfrontend with verbose preferences:
$ mythfrontend -v all,nodatabase,nomedia

(Note: At this point mythfrontend has not connected to VFD display properly)

3) Find mythlcdserver PID:
$ ps ax | grep mythlcdserver

4) Kill mythlcdserver PID
$ sudo kill -9 3605

5) Manually start mythlcdserver with verbose preferences (within 10 seconds)
$ /usr/bin/mythlcdserver -v all -x 10


The result is that after killing mythlcdserver and restarting it manually it
connects perfectly and VFD starts displaying time and date, menu's work...
everything is good.

After this test I am now starting to believe that mythfrontend (as of 0.21)
is somehow responsible for the problem...

This afternoon I will start compiling and testing previous versions of
LCDproc (0.5.2, 0.5.1, 0.5.0... 0.4.3) just to be sure.



Tim



On Fri, Apr 18, 2008 at 7:41 AM, tim dennis <tdennis.sub@gmail.com> wrote:

> 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
>
>
Re: Troubles with Irtrans VFD [ In reply to ]
Spent the afternoon compiling and testing previous versions of LCDproc with
myth 0.21, in order to rule out LCDproc as the cause of this problem.

Went all the way back to LCDproc 0.4.3 and no dice, the problem manifests
itself in the same way for all versions. Before upgrading to myth 0.21 I
used 0.4.3 and later 0.5.0, both worked flawless, After upgrading to 0.21,
no matter which version of LCDproc the problem manifests itself.

Given that the problem is solved when killing mythlcdserver and restarting
it manually, I suspect mythfrontend is the culprit. Wonder when and how
mythlcdserver is called when mythfrontend is run. Perhaps the mythlcdserver
is started too early and is hammered in such a way that it does not obtain a
proper socket. A delay in starting mythlcdserver might do the trick (?)

Will start looking through the code, although I don't know much about it.
Any pointers as to where I should be looking are welcome :)

Tim
Re: Troubles with Irtrans VFD [ In reply to ]
On Sun, Apr 20, 2008 at 7:30 PM, tim dennis <tdennis.sub@gmail.com> wrote:
>
> Went all the way back to LCDproc 0.4.3 and no dice, the problem manifests
> itself in the same way for all versions. Before upgrading to myth 0.21 I
> used 0.4.3 and later 0.5.0, both worked flawless, After upgrading to 0.21,
> no matter which version of LCDproc the problem manifests itself.
>
> Tim
>

I have a VFD display from IRTrans. I was using Myth 0.20 and didn't
have any problem after upgrading to 0.21. However, I believe I am
still using lcdproc 0.4.3. I tried upgrading my lcdproc at one point
in the past and it would only show something similar to this when in
Myth:
## LCDproc Server ##
Cli: 0 Scr: 0

I'm using Mythbuntu 7.10 and MythTV 0.21 from the backports. To get my
VFD display working I just followed the instructions from this thread:
http://ubuntuforums.org/showthread.php?t=304807

It suggests using the lcdproc from IRTrans website:
http://www.irtrans.de/en/download/linux.php

Best of luck.

Greg Mischel Smith
KCMO
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Troubles with Irtrans VFD [ In reply to ]
tim dennis wrote:
> Spent the afternoon compiling and testing previous versions of LCDproc
> with myth 0.21, in order to rule out LCDproc as the cause of this problem.
>
> Went all the way back to LCDproc 0.4.3 and no dice, the problem
> manifests itself in the same way for all versions. Before upgrading to
> myth 0.21 I used 0.4.3 and later 0.5.0, both worked flawless, After
> upgrading to 0.21, no matter which version of LCDproc the problem
> manifests itself.
>
> Given that the problem is solved when killing mythlcdserver and
> restarting it manually, I suspect mythfrontend is the culprit. Wonder
> when and how mythlcdserver is called when mythfrontend is run. Perhaps
> the mythlcdserver is started too early and is hammered in such a way
> that it does not obtain a proper socket. A delay in starting
> mythlcdserver might do the trick (?)
>
> Will start looking through the code, although I don't know much about
> it. Any pointers as to where I should be looking are welcome :)
>
> Tim
>

What does the frontend log say when when it's trying to connect to
mythlcdserver?

Do you see messages like this:-
Connecting to lcd server: localhost:6545 (try 1 of 10)
Connecting to lcd server: localhost:6545 (try 2 of 10)

Does it connect before it gets to try 10 of 10?

Paul H.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Troubles with Irtrans VFD [ In reply to ]
The frontend connects on the first try (1 of 10) and the screens are built
out, resulting in the following on the VFD:

### LCDproc Server ##
Cli: 1 Scr: 7

Unfortunately that is as far as it goes. Moving up and down and into the
various frontend menu's does nothing. It's as if the frontend connects at
first then stalls. Will attach verbose log files of both mythfrontend and
mythlcdserver this evening.

Thanks,

Tim





>
>
> What does the frontend log say when when it's trying to connect to
> mythlcdserver?
>
> Do you see messages like this:-
> Connecting to lcd server: localhost:6545 (try 1 of 10)
> Connecting to lcd server: localhost:6545 (try 2 of 10)
>
> Does it connect before it gets to try 10 of 10?
>
> Paul H.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Re: Troubles with Irtrans VFD [ In reply to ]
Thanks Greg,

I was using the LCDproc 0.4.3 at first with myth 0.20 as well. I actually
used the same very helpful post from the Ubuntu forums to set it up at the
time. I eventually switched to LCDproc 0.5.x as the 0.4.x branch is now
deprecated. I had LCDproc 0.5.1 working fine with myth 0.20.

As far as i know mythlcdserver supports both the 0.4.x and 0.5.x releases of
LCDproc, so it should not matter either way.

Just to be 100% sure I went back yesterday and compiled the customized
LCDproc 0.4.3 which is posted on the IRtrans website but still the same
problem. I am running F8 with myth 0.21.

Thanks for the feedback,

Tim



On Sun, Apr 20, 2008 at 6:07 PM, Greg Mischel Smith <gregms@gmail.com>
wrote:

> On Sun, Apr 20, 2008 at 7:30 PM, tim dennis <tdennis.sub@gmail.com> wrote:
> >
> > Went all the way back to LCDproc 0.4.3 and no dice, the problem
> manifests
> > itself in the same way for all versions. Before upgrading to myth 0.21 I
> > used 0.4.3 and later 0.5.0, both worked flawless, After upgrading to
> 0.21,
> > no matter which version of LCDproc the problem manifests itself.
> >
> > Tim
> >
>
> I have a VFD display from IRTrans. I was using Myth 0.20 and didn't
> have any problem after upgrading to 0.21. However, I believe I am
> still using lcdproc 0.4.3. I tried upgrading my lcdproc at one point
> in the past and it would only show something similar to this when in
> Myth:
> ## LCDproc Server ##
> Cli: 0 Scr: 0
>
> I'm using Mythbuntu 7.10 and MythTV 0.21 from the backports. To get my
> VFD display working I just followed the instructions from this thread:
> http://ubuntuforums.org/showthread.php?t=304807
>
> It suggests using the lcdproc from IRTrans website:
> http://www.irtrans.de/en/download/linux.php
>
> Best of luck.
>
> Greg Mischel Smith
> KCMO
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Re: Troubles with Irtrans VFD [ In reply to ]
OK. so basically it boils down to this:

Mythfrontend 0.21 does not start mythlcdserver properly during initial
start.
Only by restarting the mythlcdserver after mythfrontend is running does the
VFD start to work (you can even let mythfrontend just auto restart
mythlcdserver after 10 seconds)

1) $ mythfrontend

2) ...wait a few seconds until frontend is up and running...

2) $ sudo pkill -HUP mythlcdserver

3) ...wait 10 seconds...

4) Bingo!! VFD starts to work (and works great thereafter)


I guess I could make a little startup script for this, but it is kind of
hackish, killing the LCD process just because it won't start properly the
first time round.

Should I open a ticket on the Mythtv trac server?

Tim




On Sun, Apr 20, 2008 at 1:50 PM, tim dennis <tdennis.sub@gmail.com> wrote:

>
> Another day, another test.
>
> As a follow up to the VFD problems I have been having below, I decided to
> check the response when starting mythfrontend as per normal, then killing
> the mythlcdserver pid, then starting mythlcdserver manually.
>
> Basically the following:
>
> 1) Clean up:
> $ pkill -HUP mythlcdserver (just to be sure to kill of any residuals
> before test)
>
> 2) Start mythfrontend with verbose preferences:
> $ mythfrontend -v all,nodatabase,nomedia
>
> (Note: At this point mythfrontend has not connected to VFD display
> properly)
>
> 3) Find mythlcdserver PID:
> $ ps ax | grep mythlcdserver
>
> 4) Kill mythlcdserver PID
> $ sudo kill -9 3605
>
> 5) Manually start mythlcdserver with verbose preferences (within 10
> seconds)
> $ /usr/bin/mythlcdserver -v all -x 10
>
>
> The result is that after killing mythlcdserver and restarting it manually
> it connects perfectly and VFD starts displaying time and date, menu's
> work... everything is good.
>
> After this test I am now starting to believe that mythfrontend (as of
> 0.21) is somehow responsible for the problem...
>
> This afternoon I will start compiling and testing previous versions of
> LCDproc (0.5.2, 0.5.1, <tr_1208839197876>0.5.0... 0.4.3) just to be sure.
>
>
>
Re: Troubles with Irtrans VFD [ In reply to ]
On Apr 21, 2008, at 10:47 PM, tim dennis wrote:

> OK. so basically it boils down to this:
>
> Mythfrontend 0.21 does not start mythlcdserver properly during
> initial start.
> Only by restarting the mythlcdserver after mythfrontend is running
> does the VFD start to work (you can even let mythfrontend just auto
> restart mythlcdserver after 10 seconds)
>
> 1) $ mythfrontend
>
> 2) ...wait a few seconds until frontend is up and running...
>
> 2) $ sudo pkill -HUP mythlcdserver
>
> 3) ...wait 10 seconds...
>
> 4) Bingo!! VFD starts to work (and works great thereafter)
>
>
> I guess I could make a little startup script for this, but it is
> kind of hackish, killing the LCD process just because it won't start
> properly the first time round.
>
> Should I open a ticket on the Mythtv trac server?
>
> Tim

Mine seems to work ok, but I get a failure when it first tries, then a
successful connection after that.

...
2008-04-16 06:48:14.264 XMLParse::LoadTheme using /usr/share/mythtv/
themes/default-wide/welcome-ui.xml
2008-04-16 06:48:15.113 Connecting to lcd server: localhost:6545 (try
1 of 10)
2008-04-16 06:48:15.951 Connecting to lcd server: localhost:6545 (try
2 of 10)
2008-04-16 06:48:16.583 Connecting to lcd server: localhost:6545 (try
3 of 10)
2008-04-16 06:48:17.083 Connecting to lcd server: localhost:6545 (try
4 of 10)
2008-04-16 06:48:17.584 Connecting to lcd server: localhost:6545 (try
5 of 10)
2008-04-16 06:48:18.084 Connecting to lcd server: localhost:6545 (try
6 of 10)
2008-04-16 06:48:18.585 Connecting to lcd server: localhost:6545 (try
7 of 10)
2008-04-16 06:48:19.087 Connecting to lcd server: localhost:6545 (try
8 of 10)
2008-04-16 06:48:19.587 Connecting to lcd server: localhost:6545 (try
9 of 10)
2008-04-16 06:48:20.323 Connecting to lcd server: localhost:6545 (try
10 of 10)
2008-04-16 06:48:20.460 Connecting to backend server:
192.168.1.101:6543 (try 1 of 10)
2008-04-16 06:48:20.461 Using protocol version 40
2008-04-16 06:48:25.142 mythshutdown --startup returned: 1
2008-04-16 06:48:25.735 Using runtime prefix = /usr, libdir = /usr/lib
2008-04-16 06:48:26.190 XScreenSaver support enabled
2008-04-16 06:48:26.190 DPMS is active.
2008-04-16 06:48:26.191 Using localhost value of mythtv
2008-04-16 06:48:26.369 Cannot find default UPnP backend
2008-04-16 06:48:26.384 New DB connection, total: 1
2008-04-16 06:48:26.395 Connected to database 'mythconverg' at host:
192.168.1.101
2008-04-16 06:48:26.397 Closing DB connection named 'DBManager0'
2008-04-16 06:48:26.400 Primary screen 0.
2008-04-16 06:48:26.403 Connected to database 'mythconverg' at host:
192.168.1.101
2008-04-16 06:48:26.404 Using screen 0, 1920x1080 at 0,0
2008-04-16 06:48:26.415 New DB connection, total: 2
2008-04-16 06:48:26.418 Connected to database 'mythconverg' at host:
192.168.1.101
2008-04-16 06:48:26.420 mythfrontend version: 0.21.20080304-1 www.mythtv.org
2008-04-16 06:48:26.420 Enabled verbose msgs: important general
2008-04-16 06:48:26.950 Connecting to lcd server: localhost:6545 (try
1 of 10)
2008-04-16 06:48:27.544 The theme (abstract) is missing a
themeinfo.xml file
...


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Troubles with Irtrans VFD [ In reply to ]
Perhaps a variation of the same basic problem?

My mythfrontend does much the same, only in a very different order, also
some things (i.e. protocol version 40) don't occur until exiting myth, see
## Note ## below.


2008-04-22 21:52:27.584 Using runtime prefix = /usr, libdir = /usr/lib
2008-04-22 21:52:28.007 XScreenSaver support enabled
2008-04-22 21:52:28.007 DPMS is active.
2008-04-22 21:52:28.007 Empty LocalHostName.
2008-04-22 21:52:28.007 Using localhost value of localhost.localdomain
2008-04-22 21:52:28.008 Testing network connectivity to 192.168.0.101
2008-04-22 21:52:28.022 New DB connection, total: 1
2008-04-22 21:52:28.075 Connected to database 'mythconverg' at host:
192.168.0.101
2008-04-22 21:52:28.078 Closing DB connection named 'DBManager0'
2008-04-22 21:52:28.080 Primary screen 0.
2008-04-22 21:52:28.099 Connected to database 'mythconverg' at host:
192.168.0.101
2008-04-22 21:52:28.100 Using screen 0, 1024x768 at 0,0
2008-04-22 21:52:28.109 New DB connection, total: 2
2008-04-22 21:52:28.160 Connected to database 'mythconverg' at host:
192.168.0.101
2008-04-22 21:52:28.164 mythfrontend version: 0.21.20080304-1 www.mythtv.org
2008-04-22 21:52:28.164 Enabled verbose msgs: important general
2008-04-22 21:52:28.680 Connecting to lcd server: localhost:6545 (try 1 of
10)
2008-04-22 21:52:29.067 Primary screen 0.
2008-04-22 21:52:29.068 Using screen 0, 1024x768 at 0,0
2008-04-22 21:52:29.069 Switching to square mode (MythCenter)
2008-04-22 21:52:29.088 Using the OpenGL painter
2008-04-22 21:52:29.089 JoystickMenuClient Error: Joystick disabled - Failed
to read /home/Venus/.mythtv/joystickmenurc
2008-04-22 21:52:29.089 lirc init success using configuration file:
/home/Myth/.lircrc
2008-04-22 21:52:29.876 Loading from:
/usr/share/mythtv/themes/MythCenter/base.xml
2008-04-22 21:52:29.903 Loading from:
/usr/share/mythtv/themes/default/base.xml
2008-04-22 21:52:29.963 Registering Internal as a media playback plugin.
2008-04-22 21:52:30.026 MonitorRegisterExtensions(0x100, gif,jpg,png)
2008-04-22 21:52:30.052 Using NV NPOT texture extension
2008-04-22 21:52:30.091 MythMusic adding CD-Writer: 1,0,0 -- DRW-1814BLT
2008-04-22 21:52:30.144 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
SIP listening on IP Address 192.168.0.104:5060 NAT address 192.168.0.104
SIP: Cannot register; proxy, username or password not set

## Exit mythfrontend as of here... ##

2008-04-22 21:53:33.521 Connecting to backend server:
192.168.0.101:6543(try 1 of 5)
2008-04-22 21:53:33.522 Using protocol version 40
2008-04-22 21:53:33.522 lcddevice: received bad no. of arguments in
CONNECTED response from LCDServer
Destroying SipFsm object
2008-04-22 21:53:36.062 Deleting UPnP client...




>
>
> Mine seems to work ok, but I get a failure when it first tries, then a
> successful connection after that.
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Re: Troubles with Irtrans VFD [ In reply to ]
Here is a hacky script I am now using to start mythfrontend and also get the
VFD to work:

#!/bin/bash
sudo pkill -HUP mythlcdserver &
xterm -hold -e mythfrontend -v all,nodatabase,nomedia &
pid=$!
sleep 5
# terminate mythlcdserver and it will auto restart in 10 seconds
sudo pkill -HUP mythlcdserver &
wait $pid
sudo pkill -HUP mythlcsserver &
# EOF


(Admittedly not great, but it gets the job done until I can find some kind
of solution within mythtv)

Tim




On Mon, Apr 21, 2008 at 10:47 PM, tim dennis <tdennis.sub@gmail.com> wrote:

>
> OK. so basically it boils down to this:
>
> Mythfrontend 0.21 does not start mythlcdserver properly during initial
> start.
> Only by restarting the mythlcdserver after mythfrontend is running does
> the VFD start to work (you can even let mythfrontend just auto restart
> mythlcdserver after 10 seconds)
>
> 1) $ mythfrontend
>
> 2) ...wait a few seconds until frontend is up and running...
>
> 2) $ sudo pkill -HUP mythlcdserver
>
> 3) ...wait 10 seconds...
>
> 4) Bingo!! VFD starts to work (and works great thereafter)
>
>
> I guess I could make a little startup script for this, but it is kind of
> hackish, killing the LCD process just because it won't start properly the
> first time round.
>
> Should I open a ticket on the Mythtv trac server?
>
> Tim
>
>
>