All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Hupp <linux-acpi@prpcompany.com>
To: linux-acpi@vger.kernel.org
Subject: Permission denied when trying to edit/create acpi thermal trip points
Date: Sat, 07 Jun 2014 12:05:24 -0400	[thread overview]
Message-ID: <53933844.3090409@prpcompany.com> (raw)
In-Reply-To: <53908132.3060105@prpcompany.com>

Trying to edit an acpi thermal trip point from /sys/class/thermal/thermal_zone0:

$ echo 75000 > trip_point_1_temp
bash: trip_point_1_temp: Permission denied

I get the same result using sudo.

I also tried with the same result:

$ echo 75000 | sudo tee trip_point_1_temp
and
$ sudo sh -c "echo 75000 > trip_point_1_temp"

I also tried "echo -n" instead of just "echo" with the same result.

I also tried echo "75000" instead of just echo 75000.

I also tried the above commands from /sys/devices/virtual/thermal/thermal_zone0 (where the links from /sys/class/thermal point), all with the same result.

These thermal attributes are supposed to be editable by the user, and this is confirmed byhttp://www.kernel.org/doc/Documentation/thermal/x86_pkg_temperature_thermal

I have read that there was one or more kernel bugs in the past that behaved this way.  Is this a bug, or is there a proper way to edit/create/save these thermal attributes?

This is under Lubuntu 14.04 32-bit desktop version, with kernel 3.13.0-27.50-generic.  But I get the same results going back to Lubuntu 12.04, also with Kubuntu and Ubuntu.


           reply	other threads:[~2014-06-07 16:13 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <53908132.3060105@prpcompany.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53933844.3090409@prpcompany.com \
    --to=linux-acpi@prpcompany.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.