linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Belmonte <john@neggie.net>
To: Alex Williamson <alex.williamson@hp.com>
Cc: acpi-devel@lists.sourceforge.net,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [ACPI] Re: [PATCH] filling in ACPI method access via sysfs	namespace
Date: Sat, 10 Apr 2004 01:31:50 -0400	[thread overview]
Message-ID: <407786C6.7030706@neggie.net> (raw)
In-Reply-To: <1081566768.2562.8.camel@wilson.home.net>

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/

  reply	other threads:[~2004-04-10  5:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-08 19:49 [PATCH] filling in ACPI method access via sysfs namespace Alex Williamson
2004-04-09 22:21 ` Alex Williamson
2004-04-10  1:52   ` [ACPI] " John Belmonte
2004-04-10  3:12     ` Alex Williamson
2004-04-10  5:31       ` John Belmonte [this message]
2004-04-10 20:42         ` Alex Williamson
2004-04-11  3:20           ` Alex Williamson
2004-04-11 22:29             ` Matthew Wilcox
2004-04-12  3:31               ` Alex Williamson
2004-04-19 15:45                 ` Alex Williamson
2004-05-06 10:02                 ` Pavel Machek
2004-04-10  5:32       ` Alex Williamson
     [not found] <fa.n5srcao.1k1orra@ifi.uio.no>
     [not found] ` <fa.e0sva3e.u5k09i@ifi.uio.no>
2004-04-12  4:13   ` Andy Lutomirski
2004-04-12  4:32     ` Alex Williamson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=407786C6.7030706@neggie.net \
    --to=john@neggie.net \
    --cc=acpi-devel@lists.sourceforge.net \
    --cc=alex.williamson@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).