cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Bidewell <mark.bidewell@alumni.clemson.edu>
To: Bruno Ducrot <ducrot@poupinou.org>
Cc: cpufreq@lists.linux.org.uk
Subject: Re: Possible CPUFreq governor
Date: Wed, 27 Apr 2005 12:10:37 -0400	[thread overview]
Message-ID: <426FB97D.3040701@alumni.clemson.edu> (raw)
In-Reply-To: <20050427135402.GZ2298@poupinou.org>

Bruno Ducrot wrote:

>On Wed, Apr 27, 2005 at 08:25:12AM -0400, Mark Bidewell wrote:
>  
>
>>Thank you very much for your imput.  I will make those adjustments in 
>>the next patch.  The temperature was obtained by reading 
>>/proc/acpi/thermal_zone/THM/temperature  for a usermode daemon. 
>>
>>    
>>
>
>You mean you cant use ACPI thermal stuff in order to get it right?
>
>  
>

If I understand your question right, I have looked into this.  The functions which extract the raw temperature data use ACPI control structures which appear to be created automagically as part of the file open process.  I have not been able to determine were they are created and so have not been able to call them directly (I am no expert on this by any means so I could be totally off base here).  This would leave opening the /proc file inside the kernel as the only other option and I am not sure that making those kind of calls from kernel mode would be a good idea.

  reply	other threads:[~2005-04-27 16:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-26 23:39 Possible CPUFreq governor Mark Bidewell
2005-04-27 10:53 ` Bruno Ducrot
2005-04-27 11:02   ` Bruno Ducrot
2005-04-27 11:08   ` Ivor Hewitt
2005-04-27 12:30     ` Mark Bidewell
2005-04-27 14:07       ` Bruno Ducrot
2005-04-27 16:20         ` Mark Bidewell
2005-04-27 17:38           ` Bruno Ducrot
2005-04-27 18:18             ` Mark Bidewell
2005-04-27 19:04               ` Bruno Ducrot
2005-05-02 12:51                 ` Mark Bidewell
2005-04-27 12:25   ` Mark Bidewell
2005-04-27 13:54     ` Bruno Ducrot
2005-04-27 16:10       ` Mark Bidewell [this message]
2005-04-27 17:03         ` Bruno Ducrot
2005-04-27 17:19           ` Mark Bidewell
2005-04-27 17:45             ` Bruno Ducrot
  -- strict thread matches above, loose matches on Subject: below --
2005-04-27  0:12 Mark Bidewell
2005-04-27  0:13 Mark Bidewell
2005-05-02 14:02 Pallipadi, Venkatesh
2005-05-02 14:30 ` Mark Bidewell

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=426FB97D.3040701@alumni.clemson.edu \
    --to=mark.bidewell@alumni.clemson.edu \
    --cc=cpufreq@lists.linux.org.uk \
    --cc=ducrot@poupinou.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox