Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: CPU fan control

From: Sam Couter <sam(at)couter.id.au>
Date: Sat Jul 07 2007 - 19:24:34 EDT


Paolo <oopla@users.sf.net> wrote:
> perhaps you'r just missing the redirect operator '>':
>
> # sudo echo "105:100:100:78:70:60:50" > /proc/acpi/thermal_zone/TZ0/trip_points

That won't work.

> assuming, of course, that you're running as a user who has permisson to run
> sudo <whatever>

sudo is only running the "echo stuff" part. Your shell is doing the redirection as the current user, so if the current user doesn't have write access to the destination file, it won't work. Try it.

What you want is something more like this:

sudo sh -c "echo '105:100:100:78:70:60:50' > /proc/acpi/thermal_zone/TZ0/trip_points"

Be careful of the quoting.

-- 
Sam Couter         |  mailto:sam@couter.id.au
                   |  jabber:sam@teknohaus.dyndns.org
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C

-- To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Received on Sat Jul 7 19:24:54 2007
Do you need help?X

This archive was generated by hypermail 2.1.8 : Mon Jul 09 2007 - 08:50:45 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library