Eeepc: a simple script to change the clock

We have seen that after installing Mandriva 2009 you can add a module that allows to change some parameters, such as fan speed and clock frequency.

Installing the package poweeersave you can make these changes with a graphical interface, simple and effective, but with a flaw: it allows an overclock just to operate, but not an underclocked. Recall that lower the clock frequency lowers power consumption and thus have greater autonomy!
Copy the code below into a file eg. clock.sh and then make it executable with "chmod + x clock.sh"

# / Bin / sh
# Set-x
AV = $ (cat / proc / eee / fsb | awk '{print $ 1}')
PASS = 5
if [$ AV-gt $ 1], then
i = $ AV
while [$ i-ge $ 1]; do
sudo sh-c "echo $ i 24 1> / proc / eee / fsb"
Sleep 1
i = $ (($ i $-PASS))
done
else
for i in $ (seq $ AV $ PASS $ 1); do
sudo sh-c "echo $ i 24 1> / proc / eee / fsb"
Sleep 1
done
fi
echo "EEEPC RUNS AT" $ 1



To run the write command. / Clock.sh "FSB FREQUENCY" example. / 75 clock.sh
To get 900Mhz just run ". / Clock.sh 100" while less than 630Mhz clock (nominal frequency dell'eeepc) just use values ​​below 75.

You can experiment to see which is the minimum frequency "stable".

Posted under EeePC , Technology

This post was written by admin on October 15, 2008

Tags: , , ,

Other Posts

Previous Post:

1 Comment so far

  1. Pine October 15, 2008 7:25 pm

    Me too comfortable x ke I do not know anything about programming!
    It works well!

Leave a Comment

Name (required)

Email (required)

Website

Comments