All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Corbacho <cathectic@slackadelic.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-acpi@vger.kernel.org, Len Brown <lenb@kernel.org>
Subject: Re: [PATCH v4] ACPI: WMI: Add WMI-ACPI mapper driver
Date: Wed, 31 Oct 2007 10:56:00 +0000	[thread overview]
Message-ID: <200710311056.00741.cathectic@slackadelic.com> (raw)
In-Reply-To: <200710301428.11471.cathectic@slackadelic.com>

On Tuesday 30 October 2007 14:28:10 Carlos Corbacho wrote:
> There are also other technical problems with this, beyond my own personal
> disagreement - since WMI relies so heavily on ACPI (well, the driver here
> is really just a simple wrapper), then you would have to start exporting
> bits of ACPI to userspace to access WMI. As mentioned in the original
> patches - the mapper knows nothing about "types", this knowledge is known
> only by the caller - WMI just deals in acpi_buffer. My understanding is
> that ACPI would have to export the required functions and data structures
> so that userspace could provide then translate from acpi_buffer to the
> known type (unless there is another way round this to import and export the
> data to/ from userspace?)

To backtrack slightly - I'm wrong on this point; after sleeping on this for 
the night (and/ or application of cluebat), I can modify the functions to let 
userspace call them without exporting half of ACPI in the process.

However, I still believe that HAL is the wrong application to deal with WMI.

-Carlos
-- 
E-Mail: cathectic@gmail.com
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D

  reply	other threads:[~2007-10-31 10:55 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
2007-10-30 14:28   ` Carlos Corbacho
2007-10-31 10:56     ` Carlos Corbacho [this message]
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=200710311056.00741.cathectic@slackadelic.com \
    --to=cathectic@slackadelic.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mjg59@srcf.ucam.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.