I've used PHC successfully under Ubuntu 9.04 with my Thinkpad x200. I recently installed 10.04 and am unable to change the phc_default_vids manually. But when I run PHCtool, they get set. How does PHCtool set the vid values? Below is what I tried, I even added the owner write bit as a test. I also tried setting via /etc/sysfs.conf, which didn't work either.
Code:
root@light:~/# cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
43 35 23 17
root@light:~/# echo "21 20 17 17" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
tee: /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids: Permission denied
21 20 17 17
[code]root@light:~/# cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
43 35 23 17
root@light:~/# chmod u+w /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
root@light:~/# echo "21 20 17 17" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
tee: /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids: Input/output error
[code]root@light:~/# cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
43 35 23 17
Any ideas what I can do differently (or how phctools does it) so I can get these values set at boot automatically?
EDIT: posted in phctools since it works with this software and someone who knows pchtool may have a good chance of solving. Feel free to move to PHC if appropriate.