Re: [ACPI] Re: [PATCH] filling in ACPI method access via sysfs namespace

From: John Belmonte
Date: Fri Apr 09 2004 - 20:54:18 EST


Alex Williamson wrote:
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,

The limitation of this interface is that it's not able to call an ACPI method with some arguments and get the return value, correct?

-John


--
http:// if ile.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/