Here's another approach that's far less ugly than the last and is
much more powerful. The code is a little over half the size as a
bonus. Rather than specifically poking for certain methods and exposing
them, this patch exposes everything. The down side is that all reading
and writing of the files need to use binary acpi data structures. This
interface certainly provides "shoot yourself in the foot" potential, but
the access to the namespace from userspace is hard to beat. Any
thoughts on this approach versus the last? This interface and a simple
set of libraries to go along with it has a lot of potential. Thanks,