kikapu
April 30th, 2008, 07:10 PM
Hi,
i used powertop to achieve a more optimum battery life and i try to apply it's suggestions.
So i have 3 commands:
sudo hal-disable-polling --device /dev/cdrom
sudo echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
sudo echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
the first i can execute without problem, but the seconds and third i cannot. It gives me a "permission denied" message although i give my password to sudo.
What i am doing wrong ? And if there is a way to execute them,how i can do it so automatically when my system boot so i will not have to type theme every time ?
Thanks a lot for any help!
ps: i am using 8.04
i used powertop to achieve a more optimum battery life and i try to apply it's suggestions.
So i have 3 commands:
sudo hal-disable-polling --device /dev/cdrom
sudo echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
sudo echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
the first i can execute without problem, but the seconds and third i cannot. It gives me a "permission denied" message although i give my password to sudo.
What i am doing wrong ? And if there is a way to execute them,how i can do it so automatically when my system boot so i will not have to type theme every time ?
Thanks a lot for any help!
ps: i am using 8.04