lkml.org 
[lkml]   [2004]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ACPI] Re: [PATCH] filling in ACPI method access via sysfs namespace
Alex Williamson wrote:
> On Fri, 2004-04-09 at 19:52, John Belmonte wrote:
>
>>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?
>
> Yes, that's unfortunately a limitation. Most of the standard
> interfaces either take no parameters or have no return value, so they
> fit nicely into this framework. I'm open to suggestions on how to work
> around this. We could make the store function save off the method
> parameters, then the show function would call the method with the saved
> parameters and return the results. Obviously there are some userspace
> ordering issues that could make this complicated, but it's easy to code
> on the kernel side. Other ideas? Thanks,

You may want to look at the acpi-devel thread "[rfc] generic testing
ACPI module", where this issue was discussed
(http://sourceforge.net/mailarchive/message.php?msg_id=7455349).

-John


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

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.045 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site