Editing User:Almehdi

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
==My kernel settings==
==My kernel settings==
-
Script and Conf can be taken from [http://talk.maemo.org/showpost.php?p=609382&postcount=2659 Maemo22],
+
Script and Conf can be taken from [http://talk.maemo.org/showpost.php?p=609382&postcount=2659 here]
-
[http://talk.maemo.org/showpost.php?p=610967&postcount=2718 Maemo23], [http://talk.maemo.org/showpost.php?p=608126&postcount=2586 Voltage settings]:
+
 
-
  :XLV is: "20 20 30 33 38 38 45 45 48 48 54 54 60 67 72"
+
[http://talk.maemo.org/showpost.php?p=608126&postcount=2586 Voltage settings]:
 +
  :XLV is: "30 20 30 33 38 38 45 45 48 48 54 54 60 67 72"
  :ideal: 30 30 30 30 33 38 45 45 48 48 54 54 60 67 72 (first three ignored)
  :ideal: 30 30 30 30 33 38 45 45 48 48 54 54 60 67 72 (first three ignored)
  :ULV: 25 25 25 33 38 38 45 45 48 48 54 54 60 67 72
  :ULV: 25 25 25 33 38 38 45 45 48 48 54 54 60 67 72
Line 13: Line 14:
  OC-250-900 volt="30 30 30 33 38 38 45 45 48 48 54 54 60 67 72" (unstable)
  OC-250-900 volt="30 30 30 33 38 38 45 45 48 48 54 54 60 67 72" (unstable)
  OC-250-950 volt="30 30 30 33 38 38 45 45 48 48 54 54 60 67 72" (unstable)
  OC-250-950 volt="30 30 30 33 38 38 45 45 48 48 54 54 60 67 72" (unstable)
 +
 +
==Analyzing time_in_state (by rooted) - rev4==
 +
 +
saved in /home/opt/scripts/oc-test.sh
 +
 +
#!/bin/sh
   
   
-
  current mhz/volt= 125/20 0.850V
+
  idlefreq=`awk '{if ($2 > 0) print $1}' /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state | tail -n 1`
-
                  *250/30 0.975V
+
tis1=`awk '{sum += $2} END {print sum}' /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state`
-
                  *500/33 1.012V
+
tis2=`awk '$1 == "'"$idlefreq"'" {idle = $2} {sum += $2} END {print sum-idle}' /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state`
-
                  *550/33 1.012V
+
-
                  *600/38 1.075V
+
-
                  *700/38 1.075V
+
-
                  *750/45 1.163V
+
-
                  *805/45 1.163V
+
-
                  *850/48 1.200V
+
-
                  *900/54 1.275V
+
-
                  *950/54 1.275V
+
-
                  1000/60 1.350V
+
-
                  1010/60 1.350V
+
-
                  1015/72
+
   
   
-
  17 = 0x11 = 0.812V
+
  awk '{print "\nCurrent frequency: "$1/1000" MHz\n"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
-
20 = 0x14 = 0.850V
+
  echo -e "FREQUENCY\tUSED\t\tWHEN NOT IDLE"
-
30 = 0x1e = 0.975V
+
  awk '
-
33 = 0x21 = 1.012V
+
  {printf (($1/1000)" MHz \t")}
-
  35 = 0x23 = 1.038V
+
  {if ($2 == 0) printf ""; else printf ("%.1f %\t\t",($2*100)/"'"$tis1"'")}
-
  38 = 0x26 = 1.075V
+
  {if ($2 == 0) print ""; else if ($2/"'"$tis2"'" > 1) print ""; else printf ("%.1f %\n",($2*100)/"'"$tis2"'")}
-
  40 = 0x28 = 1.100V
+
  ' /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
-
  43 = 0x2b = 1.137V
+
  echo ""
-
  45 = 0x2d = 1.163V
+
-
  47 = 0x2f = 1.188V
+
-
  48 = 0x30 = 1.200V
+
-
50 = 0x32 = 1.225V
+
-
53 = 0x35 = 1.263V
+
-
54 = 0x36 = 1.275V
+
-
58 = 0x3a = 1.325V
+
-
60 = 0x3c = 1.350V
+
-
64 = 0x40 = 1.400V
+
-
70 = 0x46 = 1.475V
+
 +
Output example:
 +
Current frequency: 250 MHz
 +
 +
FREQUENCY      USED            WHEN NOT IDLE
 +
1200 MHz
 +
1100 MHz
 +
1000 MHz
 +
950 MHz
 +
900 MHz
 +
850 MHz
 +
810 MHz        1.4 %          52.8 %
 +
750 MHz        0.0 %          0.9 %
 +
700 MHz        0.0 %          1.3 %
 +
600 MHz        0.0 %          1.1 %
 +
550 MHz        0.1 %          5.6 %
 +
500 MHz        1.0 %          38.3 %
 +
250 MHz        97.4 %
 +
124.999 MHz
== '''Install nbench:''' ==
== '''Install nbench:''' ==
Line 86: Line 90:
==My installed programs==
==My installed programs==
 +
CuteExplorer, Desktop Activity Manager, gTranslate, gvsms, Headphone deamon, healtcheck, Knots2, Panucci, Phototranslator, Tower cell info,
-
'''Interesting but not installed:'''
+
  apt-get install adblock-plus-1.0 array-theme batterygraph callnotify catorise chromium conky cpumem-applet cpufrequtils wget currencyconverter desktop-cmd-exec diskusage erminig decoders-support file-roller fmradio led-pattern-editor lzma maemo-mapper telepathy-msn-pecan openssh-client petrovich psswitcher powatool qtirreco quick-launch tweakr wifi-switcher xarchiver zip 3g2g-mode-selector-applet leafpad
-
CuteExplorer, Desktop Activity Manager, gTranslate, gvsms, Headphone deamon, healtcheck, Knots2, Panucci, Phototranslator, QTrapids-gui
+
-
 
+
-
'''First:'''
+
-
apt-get install decoders-support
+
-
 
+
-
'''Second:'''
+
-
  apt-get install adblock-plus-1.0 array-theme batterygraph callnotify catorise chromium conky cpumem-applet cpufrequtils wget currencyconverter erminig file-roller fmradio p7zip-full tar-gnu
+
-
 
+
-
'''Third:'''
+
-
apt-get install led-pattern-editor lzma telepathy-msn-pecan openssh-client petrovich psswitcher powatool quick-launch tweakr wifi-switcher xarchiver zip 3g2g-mode-selection-applet leafpad xournal desktop-cmd-exec diskusage qtirreco  maemo-mapper
+
-
 
+
-
'''Own repos'''
+
-
[http://maintenance.maemo.org/news/planet-maemo/demo_of_enna_media_center_on_the_n900/ Enna Media Center], [http://toshl.com/expense-tracker-app/maemo/#download Toshl]
+
-
 
+
-
==n900 as a Webcam==
+
-
http://talk.maemo.org/showpost.php?p=610339&postcount=9
+

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)