public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Deliver ACPI events upon subscription and implement multiple readers for /proc/acpi/event
@ 2006-01-24 23:14 Mattia Dongili
  2006-01-24 23:14 ` [PATCH 1/2] Implement ACPI event delivery upon subscription Mattia Dongili
  0 siblings, 1 reply; 10+ messages in thread
From: Mattia Dongili @ 2006-01-24 23:14 UTC (permalink / raw)
  To: linux-acpi, Dmitry Torokhov; +Cc: Mattia Dongili


Hello.

This patch series revamps an old submission[1] from Dmitry Torokhov that
adds support for multiple readers on /proc/acpi/event.

Due to the code reorganization happened in the last 1.5 years I
re-implemented it a little differently introducing a subscription
mechanism to receive events (it might be used in different context
also). driver/acpi/event.c uses it to register a new listener for each
process opening the /proc/acpi/event file.

I was also wondering if this could fit the recent discussion on
"Untangling the sleep hotkey mess"[2] to allow event deliver through
the input subsystem (yes, a proposed solution was the other way around
but this might still be a viable implementation).

[1]: http://marc.theaimsgroup.com/?l=acpi4linux&m=109333066714671&w=2
[2]: sorry, can't find the beginning of the thread
     http://marc.theaimsgroup.com/?l=linux-acpi&m=113676899930391&w=2

Dmitry, I don't know how to apply the signed-off thing correctly here,
in the meantime:

Signed-off-by: Mattia Dongili <malattia@linux.it>


^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: [PATCH 0/2] Deliver ACPI events upon subscription and implement multiple readers for /proc/acpi/event
@ 2006-01-25  1:17 Brown, Len
  2006-01-25  1:46 ` Dmitry Torokhov
  0 siblings, 1 reply; 10+ messages in thread
From: Brown, Len @ 2006-01-25  1:17 UTC (permalink / raw)
  To: Mattia Dongili, linux-acpi, Dmitry Torokhov

What's the problem with opening a socket to the user-space acpid --
the way multiple readers work today?

thanks,
-Len

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: [PATCH 0/2] Deliver ACPI events upon subscription and implement multiple readers for /proc/acpi/event
@ 2006-01-25  5:09 Brown, Len
  2006-01-25  5:23 ` Dmitry Torokhov
  0 siblings, 1 reply; 10+ messages in thread
From: Brown, Len @ 2006-01-25  5:09 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Mattia Dongili, linux-acpi

 
>On Tuesday 24 January 2006 20:17, Brown, Len wrote:
>> What's the problem with opening a socket to the user-space acpid --
>> the way multiple readers work today?
>>
>
>- one does not want to use current implementation of acpid?

What is better?

>- one does not want to depend on having acpid running before
>  starting snooping acpi events?

For example?

>- because allowing multiple readers is a "right thing to do"?

This is not self-evident, can you give some examples?

The argument against, I suppose, is simply why to add code
to the kernel when the same feature is already working
in user-space?

The other argument against is why enhance an interface when
perhaps we should instead consider replacing it altogether...

>> Dmitry, I don't know how to apply the signed-off thing correctly here,

If Dmitry is the original author, then the proper format is to put

From: Dmitry Torokhov <dtor_core@ameritech.net>

at start of the body of the message where it can over-ride the e-mail author.
This is documented in Documentation/SubmittingPatches.

thanks,
-Len

ps. I'm not trying to be difficult about this, but would like to
give this (recurring) proposal the attention it deserves and either
accept it or reject it once and for all.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-01-26 17:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-24 23:14 [PATCH 0/2] Deliver ACPI events upon subscription and implement multiple readers for /proc/acpi/event Mattia Dongili
2006-01-24 23:14 ` [PATCH 1/2] Implement ACPI event delivery upon subscription Mattia Dongili
2006-01-24 23:14   ` [PATCH 2/2] Support multiple readers for /proc/acpi/event Mattia Dongili
  -- strict thread matches above, loose matches on Subject: below --
2006-01-25  1:17 [PATCH 0/2] Deliver ACPI events upon subscription and implement " Brown, Len
2006-01-25  1:46 ` Dmitry Torokhov
2006-01-25  8:16   ` Mattia Dongili
2006-01-25  5:09 Brown, Len
2006-01-25  5:23 ` Dmitry Torokhov
2006-01-25  9:54   ` Mattia Dongili
2006-01-26 17:38     ` Thomas Renninger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox