[Mplayer-users] Re: tv out on nvidia
Stephen Davies
steve at daviesfam.org
Mon Oct 1 11:53:25 CEST 2001
On Mon, 1 Oct 2001, ForeveR wrote:
> Ok, I downloaded lm_sensors - compiled, and installed.
> I stil, don't know how to make the screen on TV readable.
> It seems to be constantly in ntsc mode.
> I edited the bt865.c and set manually the ntsc option to "0" but the
> screen remains in ntsc mode (it seems like that) ?
> any help?
Here's what I do:
----------------------------
#!/bin/sh
#
# lmsensors: This is an init script for RedHat distribution.
#
# Author: Steve Davies from lirc
#
# chkconfig: 345 95 10
# description: lmsensors are a set of modules to talk to i2c devices
# Source function library.
. /etc/rc.d/init.d/functions
[ -f /usr/local/sbin/load-sensors ] || exit 0
PATH=/usr/local/sbin:/usr/local/bin:$PATH
# See how we were called.
case "$1" in
start)
echo -n "Loading lmsensors: "
/usr/local/sbin/load-sensors
sleep 2
chip=`basename /proc/sys/dev/sensors/bt869*`
echo "24" >/proc/sys/dev/sensors/$chip/depth
echo "0" >/proc/sys/dev/sensors/$chip/ntsc
echo "720 576" >/proc/sys/dev/sensors/$chip/res
sleep 2
# Seems to be necessary to poke the driver to get a clean
# config written to chip:
cat /proc/sys/dev/sensors/$chip/* >/dev/null
echo
touch /var/lock/subsys/lmsensors
;;
stop)
echo "Stop for lmsensors not implemented!!"
;;
status)
lsmod
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: lmsensors {start|stop|status|restart}"
exit 1
esac
exit 0
----------------------------
_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-users
More information about the MPlayer-users
mailing list