ciao a tutti!
ho riscontrato un piccolo problema riguardante l'utilizzo della cpu:
ho un dell latitude d830 (debian 64bit su core due2 1.8) con i moduli acpi installati correttamente, la batteria marca (con il comando "acpi") 3h25min...fin qui tutto ok
ora: ho installato powernowd (apt-get install powernowd), pero ho notato che sulla mia conky che la frequenza e sempre al massimo, cosi sono andato a vedere nel file /etc/init./powernowd e qui di seguito si puo vedere che si avvia con l'opzione "-q"
#! /bin/sh<br /># Init script for powernowd<br />#<br />### BEGIN INIT INFO<br /># Provides: powernowd<br /># Required-Start: $syslog $local_fs $time<br /># Required-Stop: $syslog $local_fs<br /># Default-Start: 2 3 4 5<br /># Default-Stop: 0 1 6<br /># Short-Description: Start powernowd .<br />### END INIT INFO<br /><br /><br />PATH=/sbin:/bin:/usr/sbin:/usr/bin<br />DAEMON=/usr/sbin/powernowd<br />NAME=powernowd<br />DESC=powernowd<br />OPTIONS="-q"<br /><br />test -x $DAEMON || exit 0<br /><br /># modify the file /etc/default/powernowd if you want to add personal options<br /><br />[ -f /etc/default/$NAME ] && . /etc/default/$NAME<br /><br />set -e<br /><br />case "$1" in<br /> start)<br /> echo -n "Starting $DESC: "<br /> if [ -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ]<br /> then<br /> start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- $OPTIONS<br /> else<br /> echo "required sysfs objects not found!"<br /> echo -e "\tRead /usr/share/doc/powernowd/README.Debian for more information."<br /> exit 0<br /> fi<br /> echo "$NAME."<br /> ;;<br /> stop)<br /> echo -n "Stopping $DESC: "<br /> start-stop-daemon --stop --quiet --oknodo --exec $DAEMON<br /> echo "$NAME."<br /> ;;<br /> restart|force-reload)<br /> echo -n "Restarting $DESC: "<br /> start-stop-daemon --stop --quiet --oknodo --exec $DAEMON<br /> sleep 1<br /> start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- $OPTIONS<br /> echo "$NAME."<br /> ;;<br /> *)<br /> N=/etc/init.d/$NAME<br /> echo "Usage: $N {start|stop|restart|force-reload}" >&2<br /> exit 1<br /> ;;<br />esac<br />exit 0
mi sono detto, perche non modifico l'opzione per farlo avviare con la modalita "sine", cioe che scala la frequenza quando non serve al massimo....
ho dato sto comando per vedere se era possibile mettere questa modalita:albion:/home/taliesin# powernowd -m 0<br />powernowd: PowerNow Daemon v1.00, (c) 2003-2008 John Clemens<br />/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus: No such file or directory<br />powernowd: err=2<br />powernowd: Found 2 scalable units: -- 1 'CPU' per scalable unit<br />/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: No such file or directory<br /><br />PowerNowd encountered and error and could not start.<br />Please make sure that:<br /> - You are running a v2.6.7 kernel or later<br /> - That you have sysfs mounted /sys<br /> - That you have the core cpufreq and cpufreq-userspace<br /> modules loaded into your kernel<br /> - That you have the cpufreq driver for your cpu loaded,<br /> (for example: powernow-k7), and that it works. Check<br /> 'dmesg' for errors.<br />If all of the above are true, and you still have problems,<br />please email the author: clemej@alum.rpi.edu<br />
allora:
-1e ok, ho un 2.6.26-2
-2 credo che sia ok, pero se qualc'uno mi saprebbe dire come controllare...
-3il primo mi da "FATAL: Module cpufreq not found.", il secondo non da niente come risultato
-4 non saprei quale modulo mi serve
dove sbaglio?
qualc'uno mi sa dire qualche cosa a riguardo?






up!
http://s2.tanoth.it?kid=tarhan . . . fatevi sotto!!