* Exporting EV_SW SW_LID events from thinkpad-acpi to input layer
@ 2007-06-16 14:44 Henrique de Moraes Holschuh
2007-06-16 16:00 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Henrique de Moraes Holschuh @ 2007-06-16 14:44 UTC (permalink / raw)
To: lenb, Dmitry Torokhov, Richard Hughes
Cc: linux-acpi, linux-input, ibm-acpi-devel
thinkpad-acpi can now be made to export EV_SW SW_LID events to the input
layer.
However, most (all?) thinkpads will also generate ACPI notifications to
\_SB.LID, on LID changes, i.e. this would duplicate an ACPI LID event, and I
undertand ACPI is already moving to provide those over an input device by
itself.
Given that situation, is it desireable for thinkpad-acpi to export EV_SW
SW_LID events by itself (possibly duplicating an event that the ACPI layer
will also issue)? Or should I just ignore the lid events, and leave them
for the ACPI layer to deal with?
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Exporting EV_SW SW_LID events from thinkpad-acpi to input layer
2007-06-16 14:44 Exporting EV_SW SW_LID events from thinkpad-acpi to input layer Henrique de Moraes Holschuh
@ 2007-06-16 16:00 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2007-06-16 16:00 UTC (permalink / raw)
To: Henrique de Moraes Holschuh
Cc: lenb, Richard Hughes, linux-acpi, linux-input, ibm-acpi-devel
On Saturday 16 June 2007 10:44, Henrique de Moraes Holschuh wrote:
> thinkpad-acpi can now be made to export EV_SW SW_LID events to the input
> layer.
>
> However, most (all?) thinkpads will also generate ACPI notifications to
> \_SB.LID, on LID changes, i.e. this would duplicate an ACPI LID event, and I
> undertand ACPI is already moving to provide those over an input device by
> itself.
>
> Given that situation, is it desireable for thinkpad-acpi to export EV_SW
> SW_LID events by itself (possibly duplicating an event that the ACPI layer
> will also issue)? Or should I just ignore the lid events, and leave them
> for the ACPI layer to deal with?
>
I would just rely on ACPI button driver to deliver EV_SW/SW_LID events.
After all there is only one lid switch on the box so having 2 input
devices rep[orting it is counter-intuitive.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-16 16:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-16 14:44 Exporting EV_SW SW_LID events from thinkpad-acpi to input layer Henrique de Moraes Holschuh
2007-06-16 16:00 ` Dmitry Torokhov
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).