View Single Post
Posts: 208 | Thanked: 220 times | Joined on Apr 2010
#1681
My Overclock Control Panel (Obsolete Version)

>>NEW VERSION POSTED HERE<<

Description and screenshots here

How to set up:
Extract the contents of zip to a folder "occp" under MyDocs

Copy 'overclock' and 'underclock' scripts to /usr/local/bin and make them executable.
Scripts taken from wiki (credits to original author).Although I am using a modified version of these scripts , the original should suffice for most users.
Code:
mv /home/user/MyDocs/occp/overclock /usr/local/bin/
mv /home/user/MyDocs/occp/underclock /usr/local/bin/
chmod +x /usr/local/bin/overclock
chmod +x /usr/local/bin/underclock
Now copy the images to queenbeecon directory
Code:
mv /home/user/MyDocs/occp/*.png /home/user/MyDocs/.images/queen_beecon_dir/
Now finally import the snippet by following these instructions and save the widget.
If importing the file fails, copy the code directly from here

Customizing:
You can switch between 3 profiles

Name:  pf.jpg
Views: 2471
Size:  15.7 KB

To manage your profiles go into advanced settings of the widget to reach as below

Name:  settings.jpg
Views: 2478
Size:  25.0 KB


Only edit the first 5 lines:
Name_Profile_1=<actual name eg ideal, ulv etc>
Name_Profile_2=<actual name>
Disp_Name_Profile_2=<what you want to be displayed>
Name_Profile_3=<actual name>
Disp_Name_Profile_3=<what you want to be displayed>

Update and save the widget

If temperature is not displayed, run the following lines in terminal
Code:
modprobe bq27x00_battery
sudo gainroot
  echo bq27x00_battery >> /etc/modules
Thats It!

Note: Required QBW version 1.0.0.1 (extras)
rootsh version 1.5 (extras)


If you insist on using rootsh ver 1.8 then you will have to replace every occurrence of "rootsh" with "sudo" in the code.Or use this file

Edit:
(On request) Display minimum cpu clock instead of text "MAX CLOCK".
Import the snippet "snippet_OCCP_minfreq.txt" instead of other

Edit 2:
Display battery (%) info too! Use this file

These (attached) files are now outdated! Please use new ones at link below..

>>NEW VERSION POSTED HERE<<

PS: If anyone has any suggestions/optimizations do let me know! I am very much a beginner

Please do not download these files as they are old and buggy.Follow the
link to new ones
Attached Files
File Type: zip occp.zip (71.3 KB, 241 views)
File Type: txt snippet_OCCP_minfreq.txt (4.9 KB, 231 views)

Last edited by techie; 2010-10-27 at 19:57. Reason: Version Outdated
 

The Following 12 Users Say Thank You to techie For This Useful Post: