lkml.org 
[lkml]   [2011]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectthinkpad-acpi: fn-f4 issues
(cc: trimmed down, as this is now a thinkpad-acpi matter)

On Tue, 25 Jan 2011, Jeff Chua wrote:
> As for the thinkpad-acpi, here a little patch to disable all hotkeys
> so that Fn-F4 works natively to suspend-to-memory when
> CONFIG_THINKPAD_ACPI_HOTKEY_POLL is not set.
>
> Thanks,
> Jeff
>
> --- lx/drivers/platform/x86/thinkpad_acpi.c.org 2011-01-22 21:48:05.000000000 +0800
> +++ lx/drivers/platform/x86/thinkpad_acpi.c 2011-01-22 21:55:14.000000000 +0800
> @@ -8776,10 +8776,12 @@
> {
> .data = &thinkpad_acpi_driver_data,
> },
> +#ifdef CONFIG_THINKPAD_ACPI_HOTKEY_POLL
> {
> .init = hotkey_init,
> .data = &hotkey_driver_data,
> },
> +#endif

That will basicaly lobotomize the driver, as the "hotkeys" are really the
entire firmware event interface(!).

Which thinkpad do you have that need CONFIG_THINKPAD_ACPI_HOTKEY_POLL to
handle Fn+F4? I don't expect that to be needed on anything newer than a
T32...

Can I have the full kernel log, please?

--
"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


\
 
 \ /
  Last update: 2011-01-25 16:17    [from the cache]
©2003-2011 Jasper Spaans