All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Lourival Neto <lourival.neto@gmail.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: how to get acpi info inside the kernel?
Date: Mon, 2 Mar 2009 02:23:09 +0000	[thread overview]
Message-ID: <20090302022309.GA20075@srcf.ucam.org> (raw)
In-Reply-To: <4a33b1190903011741l3698db9cg70bf9bf2108fc868@mail.gmail.com>

On Sun, Mar 01, 2009 at 10:41:48PM -0300, Lourival Neto wrote:

> I'm writing a cpufreq governor and I want to use some acpi info, like
> temperature, to make decisions. Is there a way to get this info inside
> the kernel without use sysfs? Where can I find linux-acpi interface
> documentation?

There isn't one, as such. You can either evaluate the ACPI methods 
yourself or in the case of thermal-related values you can use the 
generic thermal code.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2009-03-02  2:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-02  1:41 how to get acpi info inside the kernel? Lourival Neto
2009-03-02  2:23 ` Matthew Garrett [this message]
2009-03-02  4:20   ` Lourival Neto

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=20090302022309.GA20075@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=lourival.neto@gmail.com \
    /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.