add undervolt

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1543 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2009-09-04 15:13:34 +00:00
parent d26bd1d18f
commit 90e8adfb27
6 changed files with 513 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Path to the voltage table sysfs interface file
# The init script will detect which one of the 2 below file exists and use the correspond table
VTABLE_PATH_0_2_X="/sys/devices/system/cpu/cpu0/cpufreq/op_points_table"
VTABLE_PATH_0_3_X="/sys/devices/system/cpu/cpu0/cpufreq/phc_controls"
# Switch back to DEFAULT_VTABLE if undervoltage is stopped? [yes/no]
SWITCH_BACK="no"
# Default voltages that will be restored at shutdown if SWITCH_BACK=yes
# Linux PHC 0.2.x uses a table of Frequency:Voltage pairs
# Linux PHC 0.3.x uses a table of FID:VID pairs
#DEFAULT_VTABLE_0_2_X="798000:988,1064000:1116,1330000:1244,1596000:1356"
#DEFAULT_VTABLE_0_3_X="12:16 10:10 8:4 6:0"
# Custom voltages that will be applied at boot time
#CUSTOM_VTABLE_0_2_X="600000:700,800000:764,1000000:860,12000000:956"
#CUSTOM_VTABLE_0_3_X="12:16 10:10 8:4 6:0"
# Set the following to "yes" when the all the settings are configured
# This is a safety to disable setting the voltages with the default
# values of this file that are probably wrong for your CPU
IS_CONFIGURED="no"