mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jaya Kumar" <jayakumar.acpi@gmail.com>
To: "Matthew Garrett" <mjg59@srcf.ucam.org>
Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.15.3 1/1] ACPI: Atlas ACPI driver
Date: Mon, 20 Feb 2006 19:25:26 +0800	[thread overview]
Message-ID: <756b48450602200325v28f0300cu8b4845ab9dba9a4c@mail.gmail.com> (raw)
In-Reply-To: <20060220110145.GB4489@srcf.ucam.org>

On 2/20/06, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> On Mon, Feb 20, 2006 at 06:49:54PM +0800, Jaya Kumar wrote:
>
> > I'm not sure how standard that is. For example, I looked at the asus
> > and toshiba drivers. These ACPI board drivers use
> > /proc/acpi/somedevice/lcd. For example,
>
> And, from a userspace perspective, it sucks. I'm in the process of
> writing patches to transition them all over, and I'd prefer not to have
> to write one for your driver as well :)

I have some questions then.
1. Are Patrick's acpi driver model changes considered to be a more
final approach that standardize everyone to some sysfs based interface
to userspace?
1a. Can I assume there is consensus among the acpi community around
his new model?
2. Is his driver model going to maintain compatibility with the older
existing /proc model and those userspace apps that already use that
interface?
3. Is his driver model going to also maintain compatibility with your
newer model (assuming that his model is different than yours).

>
> > I'll go take a look at that. I didn't look for an acpi driver outside
> > of the drivers/acpi directory. But if that's the consensus, shouldn't
> > someone also mod the toshiba and asus drivers?
>
> I'm doing so.

Ok. I wish I'd known before. I scanned the mailing list before
mbarking on this to see if any issues were raised with toshiba and
asus driver code and didn't see anything. FWIW, my powers of mind
reading only work on Fridays. :-)

> Doing it via the input layer adds flexibility - it makes it easier for
> non-root uesrspace to handle things, but you can still have a root-level
> daemon that monitors /dev/input/event* and runs commands in response to
> keycodes.
>

Oh. I don't disagree with that.

Thanks,
jayakumar

  reply	other threads:[~2006-02-20 11:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20  2:13 jayakumar.acpi
2006-02-20 10:26 ` Matthew Garrett
2006-02-20 10:49   ` Jaya Kumar
2006-02-20 11:01     ` Matthew Garrett
2006-02-20 11:25       ` Jaya Kumar [this message]
2006-02-20 11:28         ` Matthew Garrett
2006-02-20  8:26 Yu, Luming
2006-02-20  8:37 ` Jaya Kumar
     [not found] <AcY1+QTZumb9d6e3RHms9ocp4LswwgAtmORQ>
2006-02-21  6:34 ` Yu, Luming
2006-03-03  8:16   ` Jaya Kumar
2006-03-06 13:50 Yu, Luming
2006-03-07  1:50 ` Jaya Kumar
2006-03-07  8:52 Yu, Luming
2006-03-07 16:09 ` Jaya Kumar
2006-03-08  6:17 Yu, Luming
2006-03-08  7:11 ` Jaya Kumar
2006-03-08  7:44 Yu, Luming
2006-03-08  8:53 ` Jaya Kumar
2006-03-13  6:38 ` Jaya Kumar
2006-03-13 13:16 Yu, Luming

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=756b48450602200325v28f0300cu8b4845ab9dba9a4c@mail.gmail.com \
    --to=jayakumar.acpi@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®