public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Carlos Corbacho <cathectic@slackadelic.com>
Cc: linux-acpi@vger.kernel.org, Len Brown <lenb@kernel.org>
Subject: Re: [PATCH v4] ACPI: WMI: Add WMI-ACPI mapper driver
Date: Tue, 30 Oct 2007 13:47:01 +0000	[thread overview]
Message-ID: <20071030134701.GA11877@srcf.ucam.org> (raw)
In-Reply-To: <200710300336.43696.cathectic@slackadelic.com>

On Tue, Oct 30, 2007 at 03:36:43AM +0000, Carlos Corbacho wrote:

> Event handling - allow a WMI based driver to register a notifier handler
> with WMI. When a notification is sent to WMI, WMI will execute _WED and
> then pass the results and the event to the external handler (since WMI
> does not know the meaning of an event, it is left to the external drivers
> to deal with, rather than WMI exporting the event to userspace).

I suspect that for a lot of cases, exporting this to userspace would be 
helpful - it's often easier for us to do this mapping in hal and just 
push out an updated fdi file than it would be to push out an updated 
kernel driver.

> Userspace - the WMI mapper disregards the WMI-ACPI spec on this point, and
> does _not_ try to export to userspace, since WMI does not exist on Linux.
> All callers of the WMI mapper are assumed to be kernel space drivers.

And for similar reasons, I think it would be helpful to provide 
userspace with the ability to trigger WMI calls. It's going to be easier 
for people to add GUIDs to a userspace file than to extend a kernel 
driver, even if there are some cases that are better handled by having a 
full in-kernel driver.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2007-10-30 13:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30  3:36 [PATCH v4] ACPI: WMI: Add WMI-ACPI mapper driver Carlos Corbacho
2007-10-30 13:47 ` Matthew Garrett [this message]
2007-10-30 14:28   ` Carlos Corbacho
2007-10-31 10:56     ` Carlos Corbacho
2007-10-30 18:18 ` Len Brown
2007-10-30 22:52   ` Carlos Corbacho
2007-10-31  0:18     ` Carlos Corbacho
2007-10-31 12:21       ` Carlos Corbacho
2007-10-31 16:24         ` Carlos Corbacho

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=20071030134701.GA11877@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=cathectic@slackadelic.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@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