View previous topic :: View next topic |
Author |
Message |
xgecko n00b
Joined: 02 Feb 2003 Posts: 48 Location: Seattle, WA
|
Posted: Wed May 07, 2003 7:26 pm Post subject: Starting my TV out at boot |
|
|
I have an old Inspiron 8000 with a bad LCD that I've set up as a Gentoo media system. The 8000 has an nVidia geForce2go with TV out. I've got the TV out to work with nvtv, the only problem is curently I have to manually turn the TV on by SSHing to the system and running 'sudo nvtv -S NTSC -r 640,480 -s LARGE -t' which is set up as alias 'tvon'. My question is what would be the best way to get the TV out to start at boot, and how would I go about it? I would like it to start as soon as possible, maybe right after the video driver loads so I could still see some of the boot messages. Any ideas or input would be great. |
|
Back to top |
|
|
Ian Goldby Guru
Joined: 18 May 2002 Posts: 539 Location: (Inactive member)
|
Posted: Sat May 10, 2003 7:06 pm Post subject: |
|
|
The Gentoo init scripts are probably the best way to do this. Look at the files in /etc/init.d, and pick a nice simple-looking one. Make a copy and call it something like tvout. Then edit it so that instead of its former function, it does nvtv -S NTSC -r 640,480 -s LARGE -t. (This goes in the start() section.) If you want to be able to disable tv output, put something appropriate in the stop() section too. Put in the depend() section the names of any init scripts that must run before starting tv out.
Then just add it to the boot run level in the normal way. You can check it is working with /etc/init.d/tvout start. Let us know if this works, and how you get on. |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
|