public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Stelian Pop <stelian@popies.net>
To: Len Brown <lenb@kernel.org>
Cc: Mattia Dongili <malattia@linux.it>, linux-acpi@vger.kernel.org
Subject: Re: sony-laptop vs sonypi (Re: [PATCH 1/2] Add new sony laptop drivers maintainer)
Date: Sat, 10 Feb 2007 22:59:43 +0100	[thread overview]
Message-ID: <1171144783.5026.14.camel@localhost.localdomain> (raw)
In-Reply-To: <200702091158.18909.lenb@kernel.org>

Le vendredi 09 février 2007 à 11:58 -0500, Len Brown a écrit :

> sonypi is an interesting beast, and I do mean beast.
> It pre-dates Linux ACPI support by several years
> and is chock-full of reverse engineered magic numbers.

Yep. It was Andrew Trigdell (with friends) who reverse engineered some
of those magic numbers in the first place, and even I never knew what
were they good for.

[...]

> I think one of the major decisions you need to make going forward
> is if it makes sense to maintain the parts of sonypi
> that are reverse engineered AML -- rather than simply
> running in ACPI mode and invoking the AML in the BIOS.

Personaly I think that running without ACPI today is no longer an
option, especially on laptops. So I would indeed go in this direction.

[...]

> Personally, I think that invoking machine specific AML
> has its risks, but invoking C-ized machine specific AML
> sucked into a platform specific driver borders on the insane.
> (but Linux didn't have ACPI in 2000, so maybe "determined"
> would be a more appropriate word:-)

I'll take that as a compliment then :)

> Stelian,
> I think if you can list what you know actually works on what models,
> and what may not work, and what you think about the code needs to
> be changed, that would help Mattia enormously.

Unfortunately, this is something I always wanted to do and never get
around to. I don't have such a list, I only have a rather big mail
folder containing sony related mail.

I don't remember if I already said this, but I think it would be a good
idea to start a wiki to create some sort of documentation.

> I suggest that the goal might be to have a single consolidated
> sony-laptop driver.  Ie. port the working features one by one
> from sonypi into sony-laptop, and when sony-laptop can do everything
> that sonypi can do (though maybe not with the same ioctl interface etc)
> the schedule sonypi for deletion.  But in the mean time, on the
> assumption the people actually use sonypi to make their vaio's
> dance in useful ways, I would leave it alone for their benefit.

It seems a reasonable way to pursue.

Thanks,

-- 
Stelian Pop <stelian@popies.net>

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2007-02-10 21:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-08 19:16 [PATCH 0/2] sony-laptop: docs and maintainer update malattia
2007-02-08 19:16 ` [PATCH 1/2] Add new sony laptop drivers maintainer malattia
2007-02-08 19:16   ` [PATCH 2/2] Update sony-laptop docs malattia
2007-02-09  6:52     ` Len Brown
2007-02-09  6:44   ` [PATCH 1/2] Add new sony laptop drivers maintainer Len Brown
2007-02-09 13:34     ` Stelian Pop
2007-02-09 14:01       ` Mattia Dongili
2007-02-09 16:58         ` sony-laptop vs sonypi (Re: [PATCH 1/2] Add new sony laptop drivers maintainer) Len Brown
2007-02-09 19:25           ` Mattia Dongili
2007-02-09 21:02             ` Mattia Dongili
2007-02-10 22:07             ` Stelian Pop
2007-02-10 21:59           ` Stelian Pop [this message]
2007-02-11  9:20             ` Mattia Dongili
2007-02-11  9:23               ` Stelian Pop
2007-02-10 18:06   ` [PATCH 1/1] New sony laptop drivers maintainer Mattia Dongili

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=1171144783.5026.14.camel@localhost.localdomain \
    --to=stelian@popies.net \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=malattia@linux.it \
    /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