From: Len Brown <lenb@kernel.org>
To: stelian@popies.net
Cc: Andrew Morton <akpm@osdl.org>,
Ismail Donmez <ismail@pardus.org.tr>,
Andrea Gelmini <gelma@gelma.net>,
linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: sonypc with Sony Vaio VGN-SZ1VP
Date: Thu, 4 Jan 2007 00:24:29 -0500 [thread overview]
Message-ID: <200701040024.29793.lenb@kernel.org> (raw)
In-Reply-To: <49814.213.30.172.234.1159357906.squirrel@webmail.popies.net>
On Wednesday 27 September 2006 07:51, stelian@popies.net wrote:
> >> > Will sony_acpi ever make it to the mainline? Its very useful for new
> > Nope, not as it is. Useful != supportable.
> >
> > 1. It must not create any files under /proc/acpi
> > This is creating a machine-specific API, which
> > is exactly what we don't want Nobody can maintain
> > 50 machine specific APIs.
> >
> > These objects must appear generic and under sysfs
> > as if acpi were not involved in providing them.
> >
> > 2. its source code shall not live in drivers/acpi
> > it is not part of the ACPI implementation after all --
> > it is a platform specific driver.
>
>...
>
> I don't really care much about sony_acpi (since I'm not maintaining it
> anymore, even if I still answer support requests about it), but this is
> just silly. This has been going on for more than one and a half year now.
>
> Meanwhile (at least from what I've seen), the ACPI subsystem still doesn't
> provide this "generic" API which platform specific driver need to
> implement. drivers/acpi/{hotkey.c,video.c} are just rudimentary, and there
> is no indication that this is going forward:
You are right. And the reason is that platform specific drivers are not part of ACPI.
They must either be vendor documented/supplied or reverse-engineered.
Vendors have not been forthcoming with documentation or code to support
Linux laptops, and our happy team here at Intel is not allowed to be in
the reverse enginering business.
So I concur that hotkey.c is a failed experiment, and I'm going to delete it.
There is more different than common on these boxes, so it makes no sense.
video.c, however, is standard, and stays for those machines that actually
do follow the public specification.
> In March 2005 you (Len) said:
>
> > The goal is to DELETE ibm, toshiba, and asus drivers -- or at least the
> video.c handles the standard compliant machines.> duplicated functions in them.
> >
> > platform specific drivers make it harder, not easier, to support more
> > hardware -- there are a zillion vendors out there, implementing special
> > drivers for each of them is a strategy of last resort.
Still true, though it is clear we'll never be able to delete platform specific parts --
just the parts that duplicate the generic standard functions..
> > I'd like to keep this driver out-of-tree
> > until we prove that we can't enhance the
> > generic code to handle this hardware
> > without the addition of a new driver.
>
> How long is this going to take ?
How about 2.6.21?
What needs to happen is
1. a maintainer for sony_acpi.c needs to step forward
I can't do this, I'm not allowed to be in the reverse engineering business.
2. /proc/acpi/sony API needs to be deleted
3. source needs to move out of drivers/acpi, and into drivers/misc along with msi.
Luming has a sony laptop and can help with this, but
he can't be the permanent maintainer any more than I can, for the same reason.
If we can get past #1, then I recommend we apply the patch series in -mm to
the acpi-test tree and go from there.
-Len
next prev parent reply other threads:[~2007-01-04 5:25 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 11:51 sonypc with Sony Vaio VGN-SZ1VP stelian
2006-09-28 16:27 ` Yu Luming
2007-01-04 5:24 ` Len Brown [this message]
2007-01-04 10:09 ` Stelian Pop
2007-01-04 19:15 ` Mattia Dongili
2007-01-04 20:51 ` Andrew Morton
2007-01-04 21:18 ` Mattia Dongili
2007-01-04 21:28 ` Andrew Morton
2007-01-04 21:36 ` Timo Hoenig
2007-01-04 21:36 ` Richard Hughes
2007-01-04 21:58 ` Mattia Dongili
2007-01-05 17:02 ` Len Brown
2007-01-05 18:06 ` Mattia Dongili
2007-01-04 23:36 ` Stelian Pop
2007-01-04 23:44 ` Andrew Morton
2007-01-04 23:54 ` Stelian Pop
2007-01-05 4:16 ` Andrew Morton
2007-01-05 9:58 ` Stelian Pop
2007-01-05 2:20 ` MoRpHeUz
2007-01-05 17:11 ` Sony Vaio VGN-SZ340 (was Re: sonypc with Sony Vaio VGN-SZ1VP) Len Brown
2007-01-05 17:24 ` MoRpHeUz
2007-01-05 18:10 ` Len Brown
2007-01-06 4:09 ` Bjorn Helgaas
2007-01-11 19:52 ` Len Brown
2007-01-11 20:01 ` Alexey Starikovskiy
2007-01-05 0:11 ` sonypc with Sony Vaio VGN-SZ1VP Jan Engelhardt
2007-01-05 9:15 ` Mattia Dongili
2007-01-05 9:59 ` Stelian Pop
2007-01-04 23:34 ` Stelian Pop
2007-01-05 9:23 ` Neil Bird
2007-01-05 16:24 ` Mattia Dongili
2007-01-10 8:32 ` Neil Bird
2007-01-11 12:20 ` sonypc with Sony Vaio VGN-SZ1VP [repost] Neil Bird
2007-01-05 17:19 ` sonypc with Sony Vaio VGN-SZ1VP Len Brown
2007-01-10 8:36 ` Neil Bird
2007-01-11 12:20 ` sonypc with Sony Vaio VGN-SZ1VP [repost] Neil Bird
2007-01-05 10:02 ` sonypc with Sony Vaio VGN-SZ1VP Stelian Pop
2007-01-05 12:13 ` Mattia Dongili
2007-01-05 14:23 ` Jan Engelhardt
2007-01-09 15:19 ` Luming Yu
-- strict thread matches above, loose matches on Subject: below --
2007-01-04 17:58 Cacy Rodney
2007-01-05 17:33 ` Len Brown
2007-01-05 19:10 ` Mattia Dongili
[not found] <20060926135659.GA3685@jnb.gelma.net>
[not found] ` <45195583.4090500@popies.net>
[not found] ` <200609262056.32052.ismail@pardus.org.tr>
2006-09-27 5:14 ` Andrew Morton
2006-09-27 5:59 ` Jan Engelhardt
2006-09-27 6:04 ` Len Brown
2006-09-27 7:50 ` Ismail Donmez
2006-09-28 15:48 ` Yu Luming
2006-09-27 16:26 ` Andrea Gelmini
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=200701040024.29793.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=akpm@osdl.org \
--cc=gelma@gelma.net \
--cc=ismail@pardus.org.tr \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stelian@popies.net \
/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).