Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2004 10:39:04 -0800 (PST)
From:      Russell Jackson <raj@dhcp217-212.csub.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    conf/73677: [patch] add support for powernow states to power_profile
Message-ID:  <200411081839.iA8Id4EC000893@dhcp217-212.csub.edu>
Resent-Message-ID: <200411081840.iA8IeQXx066590@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73677
>Category:       conf
>Synopsis:       [patch] add support for powernow states to power_profile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 08 18:40:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Russell Jackson
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD dhcp217-212.csub.edu. 5.3-STABLE FreeBSD 5.3-STABLE #8: Sun Oct 31 14:55:17 PST 2004 raj@dhcp217-212.csub.edu.:/usr/src/sys/i386/compile/VALA i386


	
>Description:
	
	Patch to add AMD powernow states to power_profile provided by the powernow_k7
	kernel module provided at http://www.poupinou.org/cpufreq/bsd/powernow_k7/.
>How-To-Repeat:
	
>Fix:

--- src/etc/rc.d/power_profile.orig	Fri Oct 29 10:09:38 2004
+++ src/etc/rc.d/power_profile		Sat Nov  6 17:31:48 2004
@@ -83,4 +83,10 @@
 eval value=\$${profile}_throttle_state
 sysctl_set
 
+node="hw.powernow.state"
+highest_value=0
+lowest_value="$(sysctl -n hw.powernow.max_states 2> /dev/null)"
+eval value=\$${profile}_powernow_state
+sysctl_set
+
 exit 0
	


>Release-Note:
>Audit-Trail:
>Unformatted:



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