Re: How get /proc/acps information about the temperatur

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I leave quotations after my reply?

On Thu, Jul 19, 2007 at 04:11:07PM +0200, Christian Stalp wrote:
> Erik Mouw schrieb:
> you can be sure that I allready have a look on this module. What I need
> now is a hint, on which device acpi graps to get the temperatur. There
> is no direct-hw-access in thermal.c.
> 
> If I want to find this out manualy (by searching the source) I would
> have to browse the whole acpi-family, and I dont have that time.
> 
> I have allready the hint, that maybe BIOS is the newsagent for ACPIs
> tempatur-infos. But I dont know it exactly!

Problem with ACPI is that it depends on the BIOS implementation: if the
BIOS supplies ACPI bytecode to read the hardware directly, the kernel
will read it by executing the ACPI bytecode. If the ACPI bytecode does
some BIOS calls, you still don't know how it works (other than
disassembling the BIOS). And if reading from a certain hardware port
traps the CPU in System Management Mode (SMM)[1], it's anybody's guess how
you get the temperature value.[2]


Erik

[1] See http://en.wikipedia.org/wiki/System_Management_Mode
[2] Not completely true. Here's an exploit to write to SMRAM, if you
  can write it, you can also read it.
  http://www.ssi.gouv.fr/fr/sciences/fichiers/lti/cansecwest2006-duflot-paper.pdf

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGn5LU/PlVHJtIto0RAkH0AJwLIb+ZojhHTgBvPZnmn7qntVArrwCfb1zQ
KKcjLefpCXugqyCfRzlJxk8=
=QFJb
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux