* IO Input based on DSDT
@ 2002-12-20 13:45 Matthew Tippett
0 siblings, 0 replies; only message in thread
From: Matthew Tippett @ 2002-12-20 13:45 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
A quick question...
Based on the DSDT, is it possible to write userland applications that
interrogate the same ports as the DSDT? For example, the battery
information method _BIF calls the BIF_ which is the following code.
Arg0 is the battery index.
SX10()
SX30(0x1)
SX30(Arg0)
SX11()
Store(SX42(), Index(BIFP, 0x0, ))
Store(SX42(), Index(BIFP, 0x1, ))
Store(SX42(), Index(BIFP, 0x2, ))
Store(SX42(), Index(BIFP, 0x3, ))
Store(SX42(), Index(BIFP, 0x4, ))
Store(SX42(), Index(BIFP, 0x5, ))
Store(SX42(), Index(BIFP, 0x6, ))
Store(SX42(), Index(BIFP, 0x7, ))
Store(SX42(), Index(BIFP, 0x8, ))
Store(SX45(), Index(BIFP, 0x9, ))
Store(SX45(), Index(BIFP, 0xa, ))
Store(SX45(), Index(BIFP, 0xb, ))
Store(SX45(), Index(BIFP, 0xc, ))
SX12()
Return(BIFP)
Which is fairly obviously a 'configure', 'read', 'set structure',
'return'.
The question I have is that by digging deep enough into the call graph
will I end up with a set of ports that would allow me to extract the
data that I want, so that I can then rebuild a working DSDT.
And by extension, could I take some actions that occur on ports, and
then look at making those available via ACPI? (Such as fan control
which is ignored in the Dell i8200 DSDT).
Regards,
Matt
--
Matthew Tippett - matthew.tippett-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org - (416) 435-4118
Technology Forum - http://www.technology-forum.org/
Commercial Open Source - http://www.commercialos.org/
-----
The information contained in this message is proprietary of Casero Inc.,
protected from disclosure, and may be privileged. The information is
intended to be conveyed only to the designated recipient(s) of the
message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or
copying of this communication is strictly prohibited and may be
unlawful. If you have received this communication in error, please
notify us immediately by replying to the message and deleting it from
your computer. Thank you.
-------------------------------------------------------
This SF.NET email is sponsored by: The Best Geek Holiday Gifts!
Time is running out! Thinkgeek.com has the coolest gifts for
your favorite geek. Let your fingers do the typing. Visit Now.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-20 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-20 13:45 IO Input based on DSDT Matthew Tippett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox