i did already all this steps
Well, the kernel interface files have changed and the author of phctool did fix one of .py files. Don`t know if it works now. Since I don`t know/like python syntax, I won`t fix this tool.
But one can change voltages without phctool - just from kernel interface files. Just phc-amd
(for AMD) and msr
drivers need to be loaded.
# cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_controls
gives you the default FID:VID pairs, for ex. 10:4 8:6 0:22
first pair means: FID=10 -> 1.8GHz, VID=4 -> 1.45v
if you want to configure it to work as 1.8G@1.25v 1.6G@1.175v 0.8G@0.975v, then you can issue (as root):
# echo "10:10 8:15 0:23" > /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
#echo "10 15 23" > /sys/devices/system/cpu/cpu0/cpufreq/phc_vids
For AMD K8: U= 1.55v-VID*0.025v, which gives you:
for VID=0 -> 1.55v; To calculate VID from U: VID=(1.55-U)/0.025
for 1.15v -> 12; 1.10v -> 18; 1v -> 22; 0.975v -> 23