Re: fbtv lilo & boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>  Hello, 
>  i would like to boot my PC directly on TV. (with a default lilo
>  configuration on TV)
>   
>  anyone has an idea how i can deal with this problem? 

Write up a shell script and boot it using the init= kernel arg

  Gerd

-----------------------------------------------------------------------
#! /bin/bash

# nice for debugging
set -ex
trap "exec /bin/bash" EXIT

# setup environment
export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
export HOME="/root"		# find ~/.xawtv

# need /usr
mount -o ro /usr

# load+init drivers
modprobe bttv			# v4l
modprobe saa7134		# v4l
modprobe es1370			# sound
modprobe matroxfb_base		# fb
fbset tv

# watch tv
fbtv </dev/tty1 >/dev/tty1 -c /dev/video1

# reboot when done
reboot -f





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux