[arch-commits] Commit in cpufrequtils/trunk (PKGBUILD cpufreq.confd cpufreq.rcd)
Giovanni Scafora
giovanni at archlinux.org
Mon Dec 14 01:45:42 UTC 2009
Date: Sunday, December 13, 2009 @ 20:45:41
Author: giovanni
Revision: 61251
upgpkg: cpufrequtils 006-2
Added freq to set up the exact cpu frequency using it with userspace governor
Modified:
cpufrequtils/trunk/PKGBUILD
cpufrequtils/trunk/cpufreq.confd
cpufrequtils/trunk/cpufreq.rcd
---------------+
PKGBUILD | 7 ++++---
cpufreq.confd | 2 ++
cpufreq.rcd | 3 +++
3 files changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-12-14 00:04:24 UTC (rev 61250)
+++ PKGBUILD 2009-12-14 01:45:41 UTC (rev 61251)
@@ -1,10 +1,11 @@
# $Id$
# Maintainer: kevin <kevin at archlinux.org>
# Contributor: phrakture <aaronmgriffin+gmail+com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
pkgname=cpufrequtils
pkgver=006
-pkgrel=1
+pkgrel=2
pkgdesc="Userspace tools for the kernel cpufreq subsystem"
arch=('i686' 'x86_64')
url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
@@ -16,8 +17,8 @@
cpufreq.confd)
options=(!libtool)
md5sums=('124b0de8f3a4d672539a85ce13eed869'
- '7be9ea55db712327783162ba6f7659ab'
- '8335b8503376a3776da2ddc84043887c')
+ '8f56a79aacb61ad70b74649b694f8b73'
+ '1815e1769d5e5c8b754877a1f77266fa')
build()
{
Modified: cpufreq.confd
===================================================================
--- cpufreq.confd 2009-12-14 00:04:24 UTC (rev 61250)
+++ cpufreq.confd 2009-12-14 01:45:41 UTC (rev 61251)
@@ -8,3 +8,5 @@
# valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="2.25GHz"
max_freq="3GHz"
+# use freq to set up the exact cpu frequency using it with userspace governor
+#freq=
Modified: cpufreq.rcd
===================================================================
--- cpufreq.rcd 2009-12-14 00:04:24 UTC (rev 61250)
+++ cpufreq.rcd 2009-12-14 01:45:41 UTC (rev 61251)
@@ -35,6 +35,9 @@
for cpu in $CPUS; do
stat_append " $cpu"
cpufreq-set -c $cpu $params
+ if [ "$freq" != "" ]; then
+ cpufreq-set -c $cpu -f $freq
+ fi
done
stat_done
else
More information about the arch-commits
mailing list