aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/button.c
AgeCommit message (Collapse)AuthorFilesLines
2006-11-09ACPI: button: register with input layerDmitry Torokhov1-85/+138
In addition to signalling button/lid events through /proc/acpi/event, create separate input devices and report KEY_POWER, KEY_SLEEP and SW_LID through input layer. Also remove unnecessary casts and variable initializations, clean up formatting. Sleep button may autorepeat but userspace will have to filter duplicate sleep requests anyway (and discard unprocessed events right after wakeup). Unlike /proc/acpi/event interface input device corresponding to LID switch reports true lid state instead of just a counter. SW_LID is active when lid is closed. The driver now depends on CONFIG_INPUT. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-07-10ACPI: add 'const' to several ACPI file_operationsArjan van de Ven1-2/+2
Signed-off-by: Arjan van de Ven <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-06-30ACPI: button: Remove unneeded acpi_handle from driver.Patrick Mochel1-2/+0
Signed-off-by: Patrick Mochel <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-06-30ACPI: button: Use acpi_device's handle instead of driver'sPatrick Mochel1-4/+4
Signed-off-by: Patrick Mochel <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-06-27ACPI: delete tracing macros from drivers/acpi/*.cPatrick Mochel1-33/+23
Signed-off-by: Len Brown <[email protected]>
2006-06-27ACPI: un-export ACPI_ERROR() -- use printk(KERN_ERR...)Len Brown1-2/+2
Signed-off-by: Len Brown <[email protected]>
2006-06-26ACPI: Enable ACPI error messages w/o CONFIG_ACPI_DEBUGThomas Renninger1-14/+4
Signed-off-by: Thomas Renninger <[email protected]> Signed-off-by: Len Brown <[email protected]>
2005-08-05[ACPI] Lindent all ACPI filesLen Brown1-151/+123
Signed-off-by: Len Brown <[email protected]>
2005-08-03[ACPI] restore /proc/acpi/button/ (ala 2.6.12)Alexey Starikovskiy1-1/+205
Signed-off-by Alexey Starikovskiy <[email protected]> Signed-off-by Len Brown <[email protected]>
2005-07-11[ACPI] Allow simultaneous Fixed Feature and Control Method buttonsAlexey Starikovskiy1-244/+1
delete /proc/acpi/button http://bugzilla.kernel.org/show_bug.cgi?id=1920 Signed-off-by: Alexey Starikovskiy <[email protected]> Signed-off-by: Len Brown <[email protected]>
2005-04-16Linux-2.6.12-rc2Linus Torvalds1-0/+558
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!