linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* obtaining acpi details outside of drivers/acpi
@ 2007-09-06 10:16 Alan Hourihane
  2007-09-06 11:43 ` Len Brown
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Hourihane @ 2007-09-06 10:16 UTC (permalink / raw)
  To: linux-acpi

I'm looking at the currently exported function calls to other kernel
modules to obtain ACPI data.

For example, if I want to access _DOD for graphics, the pathname would
be something like...

\\_SB_.PCI0.GFX0._DOD

And I'm currently doing this...

	status = acpi_evaluate_object(NULL, PATHNAME, NULL, &buffer);

where PATHNAME is the path above.

But there's no guarantees that it's called PCI0, or even GFX0.

What's the best way to search the namespace and get this data ??

Alan.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-09-06 14:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-06 10:16 obtaining acpi details outside of drivers/acpi Alan Hourihane
2007-09-06 11:43 ` Len Brown
2007-09-06 11:47   ` Alan Hourihane
2007-09-06 13:22     ` Len Brown
2007-09-06 13:27       ` Alexey Starikovskiy
2007-09-06 13:53       ` Alan Hourihane
2007-09-06 13:57         ` Alan Hourihane
2007-09-06 14:17         ` Alexey Starikovskiy
2007-09-06 14:33           ` Alan Hourihane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).