Re: [ibm-acpi-devel] thinkpad-acpi: fn-f4 issues

From: Dominik Kopp
Date: Tue Jan 25 2011 - 16:10:49 EST


Hi,

I have also a X100e and the Fn-F4 (suspend-to-memory) and Fn-F12 (suspend-to-disk) are not working. (no effect at all)

some dmesg lines:
[ 15.358464] thinkpad_acpi: ThinkPad ACPI Extras v0.24
[ 15.358468] thinkpad_acpi: http://ibm-acpi.sf.net/
[ 15.358471] thinkpad_acpi: ThinkPad BIOS 6XET44WW (1.27 ), EC 6XHT42WW-1.182000
[ 15.358474] thinkpad_acpi: Lenovo ThinkPad X100e, model 287627G
[ 15.360861] thinkpad_acpi: detected a 8-level brightness capable ThinkPad
[ 15.360924] thinkpad_acpi: possible tablet mode switch found; ThinkPad in laptop mode
[ 15.362664] thinkpad_acpi: asked for hotkey mask 0x040988fc, but firmware forced it to 0x000988fc
[ 15.367253] thinkpad_acpi: setting the hotkey mask to 0x00ffffff is likely not the best way to go about it
[ 15.367257] thinkpad_acpi: please consider using the driver defaults, and refer to up-to-date thinkpad-acpi documentation
[ 15.378453] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[ 15.389678] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is unblocked
[ 15.390251] Registered led device: tpacpi::thinklight
[ 15.390658] Registered led device: tpacpi::power
[ 15.391086] Registered led device: tpacpi::standby
[ 15.391470] Registered led device: tpacpi::thinkvantage

complete dmesg attached. (is this the "full kernel log"?)

PS: I'm using openSUSE 11.3 with 2.6.37 kernel (from suse's HEAD repository)

Am 25.01.2011 16:13, schrieb Henrique de Moraes Holschuh:
(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?


Attachment: X100e_dmesg.tar.gz
Description: GNU Zip compressed data