View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jan 26, 2007 9:11 pm 
Offline
Joined: Sat Dec 30, 2006 2:57 pm
Posts: 53
I finally got my imon VFD display working well with myth, but am too much of a linux newbie to get the commands to run automatically at reboot.

I used the following guide:
http://www.mythtv.org/wiki/index.php/LCDproc

Here is what I have to do in a shell to make it work:

# /usr/local/sbin/LCDd -c /home/mythtv/lcd/LCDd.conf
# killall mythlcdserver
# mythlcdserver

I assume that I really only need to get the first line to execute, since it looks like mythlcdserver is running before LCDd

Any ideas?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 26, 2007 9:13 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
put the commands at the bottom of /etc/init.d/bootmisc.sh and they will be run automatically when your system boots.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 26, 2007 9:40 pm 
Offline
Joined: Sat Dec 30, 2006 2:57 pm
Posts: 53
I added it to the end of the script, but it didn't work.

Stange, since I can enter exactly those commands in the shell and it works fine. Thoughts?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 26, 2007 9:50 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Did you add all three commands? It may be that the mythlcdserver needs to be re-started AFTER you have run LCDd.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 26, 2007 9:58 pm 
Offline
Joined: Sat Dec 30, 2006 2:57 pm
Posts: 53
I did add all three.

Is there anything in the script that needs to be at the end, or can my three lines be at the very end?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 27, 2007 1:17 pm 
Offline
Joined: Sat Jan 28, 2006 10:20 am
Posts: 32
Location: Hannover, Germany
Normally it can be at the end but be sure to press enter for a new line after it.

But on KnoppMyth R5E50 the path for LCDd is only /usr/sbin/LCDd .

I have the same problem and try it in /etc/init.d/bootmisc.sh with these lines:
# mythlcdserver
/usr/sbin/LCDd
killall mythlcdserver
mythlcdserver -d

I will post it here if that works.

_________________
Hauppauge WinTV Nova-S Plus PCI HowTo:
http://www.knoppmythwiki.org/index.php? ... SPlusHowTo


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 28, 2007 4:33 am 
Offline
Joined: Sat Jan 28, 2006 10:20 am
Posts: 32
Location: Hannover, Germany
The problem is that LCDd needs a time to come up. My solution is:

# mythlcdserver
/usr/sbin/LCDd
killall mythlcdserver
sleep 5 # wait 5 seconds, you can play with this value.
mythlcdserver -d

Good luck,
Kai

_________________
Hauppauge WinTV Nova-S Plus PCI HowTo:
http://www.knoppmythwiki.org/index.php? ... SPlusHowTo


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 28, 2007 1:26 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
instead of starting, killing and restarting mythlcdserver, maybe you can either just start usr/sbin/LCDd earlier.

Or not start mythlcdserver during the standard boot process...only once, in miscboot.

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu