Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2003 22:37:38 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        questions@FreeBSD.ORG
Subject:   Re: FreeBSD and AMD power management
Message-ID:  <20030109223738.GA16170@happy-idiot-talk.infracaninophi>
In-Reply-To: <200301092207.H09M7HJ64977@asarian-host.net>
References:  <20030108232002.G61746-100000@whitetower.gambrl01.md.comcast.net> <20030109085442.GA10394@happy-idiot-talk.infracaninophi> <200301091915.H09JFUJ16660@asarian-host.net> <20030109204920.GA15135@happy-idiot-talk.infracaninophi> <20030109213415.00C454087B@server2.fastmail.fm> <200301092207.H09M7HJ64977@asarian-host.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, Jan 09, 2003 at 11:07:36PM +0100, Mark wrote:

> I am having the A7V333 board myself, so I am fairly excited. :) The
> instability warnings came from the author himself, btw.
> 
> I took the gamble, with much trepidation (I hate to ruin my filesystem),
> and, so far, my system is still running (AMD XP-2000). Temperature dropped
> down about 18 degrees C. If this is going to work, for real, then Matthew
> deserves a big cheer. :)
> 
> One thing is not entirely clear, though; is this something I need to enable
> every time I reboot? Or is it tweaked to remain fixed in the BIOS?

Yes, you need to run fvcool on reboot.  Slap the attached script into
/usr/local/etc/rc.d and add:

    fvcool_enable="YES"

to /etc/rc.conf

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

[-- Attachment #2 --]
#!/bin/sh
#


if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
    echo "$0: Cannot determine the PREFIX" >&2
    exit 1
fi

if [ -z "${source_rc_confs_defined}" ]; then
	if [ -r /etc/defaults/rc.conf ]; then
		. /etc/defaults/rc.conf
		source_rc_confs
	elif [ -r /etc/rc.conf ]; then
		. /etc/rc.conf
	fi
fi

case "$1" in
start)
	case "${fvcool_enable}" in
	    [Yy][Ee][Ss])
	    echo -n ' fvcool'
	    ${fvcool_program:-${PREFIX}/sbin/fvcool} -e
	    ;;
	esac
	;;
stop)
	${fvcool_program:-${PREFIX}/sbin/fvcool} -d
	;;
*)
	echo "Usage: `basename $0` {start|stop}" >&2
	;;
esac

exit 0
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030109223738.GA16170>