public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Timo Hoenig <thoenig-dCxI//HcOdFeoWH0uzbU5w@public.gmane.org>
To: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: John Belmonte <john-wanGne27zNesTnJN9+BGXg@public.gmane.org>,
	Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>,
	Karol Kozimor <sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>,
	Luming Yu <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	toshiba_acpi-7wiBuN1tZDdg9hUCZPvPmw@public.gmane.org,
	vojtech-IBi9RG/b67k@public.gmane.org,
	Stelian Pop <stelian-ibX4/ixPftWsTnJN9+BGXg@public.gmane.org>,
	ACPI Developers
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: generic ACPI video and hotkey drivers vs. platform-specific drivers
Date: Fri, 04 Mar 2005 10:34:40 +0100	[thread overview]
Message-ID: <1109928881.7747.36.camel@nouse.net> (raw)
In-Reply-To: <1109884125.2102.781.camel@d845pe>

[-- Attachment #1: Type: text/plain, Size: 3039 bytes --]

Hi,

thanks for opening this discussion.

On Thu, 2005-03-03 at 16:08 -0500, Len Brown wrote:
>It is great that programmers -- sometimes with little or no

[...]

>As I've said before, it is fine with me for exotic drivers
>to handle exotic hardware -- nobody wants to muck-up generic
>code for a few exotics.  But we need a design where
>standard systems we've never heard of "just work";
>and we need to make the use, administration, and support
>of exotic systems as much like standard sytems
>as possible.

Yes.  What do you think of providing an API for specific drivers as
proposed by Stelian on acpi-devel before?  We then could move the
specific drivers out of the ACPI maintree.

Regarding hotkeys for example we could provide an interface which is
used by the specific drivers to report events.  Such events would be
reported into user-space like the one's triggered by the generic driver.
Perhaps by using the Linux input core.  But I guess this still needs to
be discussed thoroughly.

[...]

>I believe that Bruno's generic video driver (in tree)
>is a step in this direction.  I believe that Luming's
>generic hot key driver (on list, but not yet in tree)
>is a step in this direction.  Are either of these
>"final"?  heck no, but I'm confident that they're
>heading us in the right direction.
>
>I plan to pull Luming's hot-key driver into the ACPI patch
>soon -- the only reason we didnt' do it earlyer is because
>the previous version would have immediately broken the
>existing platform specific drivers...

Luming, can you please give some comment on the state of your driver?

>We also need to think about the kernel<->user interface
>we've currently got.
>
>We need to think through the suggestion that hot keys
>should appear to Linux like other keyboard keys -- and
>wind their way throught the input layer.  I think the important
>thing will be what the user or administrator has to do in
>order to map which keys to which functions; and if this
>can work automatically without a call to 1-800-distro.

I will write some document which will pinpoint the current problems
depending on vendor and/or machine.  For that purpose I'll have quite a
few machines provided by the SUSE Labs. For other systems I will call
users for help.

[...]

We still have to face the fact that we will not be able to cover all
systems by a generic driver.  Vendors are -- and will -- go their own
way. See Sony and Toshiba for example.  Since we do not want to clutter
the generic driver with exceptions we will have to find a proper design
for implementing specific drivers.

Maybe the number of systems which require a specific driver will
decrease -- but never to zero.

I've added Andrew and John to cc.

See you,

  -- Timo

..............................................................
Timo Hönig <thoenig at nouse dot net>
..................................................:: gpg ::...
Fingerprint: 0998 0ACA A1D2 2612 4D96 DD8B E03F 084B B305 4066

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-03-04  9:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-23  9:53 [patch 11/12] new sony_acpi driver akpm-3NddpPZAyC0
     [not found] ` <200502230953.j1N9rPLp020723-bipKiLWnuIsyyg0EjBt7GtHuzzzSOjJt@public.gmane.org>
2005-03-02 19:12   ` Len Brown
2005-03-02 20:53     ` Stelian Pop
     [not found]       ` <20050302205324.GA5486-/EcPb+iqZQprbWk4mQFQhaxOck334EZe@public.gmane.org>
2005-03-03  8:40         ` Timo Hoenig
     [not found]           ` <1109839245.4866.10.camel-dCxI//HcOdFeoWH0uzbU5w@public.gmane.org>
2005-03-03  9:39             ` Stelian Pop
     [not found]               ` <20050303093949.GB3346-KwDxFO93HejPHUqn3ntIkQ@public.gmane.org>
2005-03-03 10:06                 ` Timo Hoenig
     [not found]                   ` <1109844371.4866.31.camel-dCxI//HcOdFeoWH0uzbU5w@public.gmane.org>
2005-03-03 21:08                     ` generic ACPI video and hotkey drivers vs. platform-specific drivers Len Brown
2005-03-04  9:34                       ` Timo Hoenig [this message]
2005-03-06 10:45                       ` Pavel Machek
     [not found]                         ` <20050306104506.GM3485-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2005-03-11  4:07                           ` =?gb18030?q?Ois=A8=AAn_Mac_Fheara=A8=AA?=
     [not found]                             ` <200503110407.50728.destynova-iUB+o6dfpG8i1yMB4YHZDQ@public.gmane.org>
2005-03-11 17:43                               ` Stefan Seyfried
     [not found]                                 ` <20050311174346.GA21611-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2005-03-11 21:23                                   ` =?gb18030?q?Ois=A8=AAn_Mac_Fheara=A8=AA?=

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=1109928881.7747.36.camel@nouse.net \
    --to=thoenig-dcxi//hcodfeowh0uzbu5w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=akpm-3NddpPZAyC0@public.gmane.org \
    --cc=john-wanGne27zNesTnJN9+BGXg@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=stelian-ibX4/ixPftWsTnJN9+BGXg@public.gmane.org \
    --cc=sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org \
    --cc=toshiba_acpi-7wiBuN1tZDdg9hUCZPvPmw@public.gmane.org \
    --cc=vojtech-IBi9RG/b67k@public.gmane.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