maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   High Battery Consumption in Standby (https://talk.maemo.org/showthread.php?t=70436)

StocChr 2011-11-30 14:36

Re: High Battery Consumption in Standby
 
do you mean, set the values in /etc/pmconfig with a script or edit the file once?
what is the advantage to set the max+min scalling and the smartreflex in /etc/pmconfig?

what do you mean, i can set everything from pmconfig?

aren't the voltage for the system frequencies stored in /sys/power/vdd1_opps_vsel??

in the dsp file they set [Freuq]:[Volt],[DSP] ( 250:38,180 ), i think these Voltages were stored in vdd1_opps_vsel?

vi_ 2011-11-30 14:58

Re: High Battery Consumption in Standby
 
Quote:

Originally Posted by StocChr (Post 1131102)
do you mean, set the values in /etc/pmconfig with a script or edit the file once?
what is the advantage to set the max+min scalling and the smartreflex in /etc/pmconfig?

what do you mean, i can set everything from pmconfig?

aren't the voltage for the system frequencies stored in /sys/power/vdd1_opps_vsel??

in the dsp file they set [Freuq]:[Volt],[DSP] ( 250:38,180 ), i think these Voltages were stored in vdd1_opps_vsel?

It is advantageous because there is already a mechanism in place to load max+min+SR values in pmconfig.

Yes. That is where the voltages are set, however with smart reflex enabled you no longer need to set the voltages by hand. So why bother? Just let it boot with stock voltages then let SR take care of the rest.

So set everything you can in pmconfig then set the rest from your script.

StocChr 2011-11-30 15:14

Re: High Battery Consumption in Standby
 
ok i understand!!
it's strange, i set min+max+sr ind pmconfig (250+850+1) but conky only shows max. 600 MHz ... i am freaking out !!

vi_ 2011-11-30 15:21

Re: High Battery Consumption in Standby
 
well assuming you have not broken pmconfig and it is just running default values somthing else is changing your max-min freqs.

What sh|t have you installed?

connect to net and as root enter:

pastebinit /etc/pmconfig
pastebinit /etc/X11/Xsession.post/the name of your file
pastebinit /the/name/of/your/script

StocChr 2011-11-30 15:38

Re: High Battery Consumption in Standby
 
/etc/pmconfig http://pastebin.com/2za54hCx
script: http://pastebin.com/9WfmamET

at the moment no file in Xsession.post

vi_ 2011-11-30 15:45

Re: High Battery Consumption in Standby
 
Quote:

Originally Posted by StocChr (Post 1131144)
/etc/pmconfig http://pastebin.com/2za54hCx
script: http://pastebin.com/9WfmamET

at the moment no file in Xsession.post

Well for a start you are missing:

Code:

#!/bin/sh
from the start of the script.

oopz. no xsession script.

Well I literally have no idea wtf you have done. By setting values in pmconfig they are set at startup.

Code:

# Power management configuration file
enable_off_mode 1
sleep_while_idle 1
sr_vdd1_autocomp 1
sr_vdd2_autocomp 1
clocks_off_while_idle 1
voltage_off_while_idle 1
scaling_governor ondemand
scaling_max_freq 720000
scaling_min_freq 250000
sleep_ind 1

Here is my pmconfig.

Either you have installed/scripted something else to mess around with your freqs or you have somehow broken pmconfig.

StocChr 2011-11-30 15:50

Re: High Battery Consumption in Standby
 
thanks, at the moment i test the script as an .sh script
./kernel-config.sh

and what is your opinion about the codes?

vi_ 2011-11-30 15:54

Re: High Battery Consumption in Standby
 
Quote:

Originally Posted by StocChr (Post 1131152)
thanks, at the moment i test the script as an .sh script
./kernel-config.sh

and what is your opinion about the codes?

It looks fine.

StocChr 2011-11-30 15:59

Re: High Battery Consumption in Standby
 
thanks dude!! don't know why pmconfig don't have an effect at the frequencies :/

StocChr 2011-11-30 18:39

Re: High Battery Consumption in Standby
 
the only method to get my commands executed on start up is via /etc/event.d
is this ok or is this a sh*t way

see file content: http://pastebin.com/WF1yU5AY


All times are GMT. The time now is 18:18.

vBulletin® Version 3.8.8