public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dominik Kopp <my@kabelfunk.de>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Jeff Chua <jeff.chua.linux@gmail.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	ibm-acpi-devel@lists.sourceforge.net,
	LKML <linux-kernel@vger.kernel.org>,
	platform-driver-x86@vger.kernel.org
Subject: Re: [ibm-acpi-devel] thinkpad-acpi: fn-f4 issues
Date: Tue, 25 Jan 2011 22:05:03 +0100	[thread overview]
Message-ID: <4D3F3AFF.7020407@kabelfunk.de> (raw)
In-Reply-To: <20110125151346.GB14803@khazad-dum.debian.net>

[-- Attachment #1: Type: text/plain, Size: 2514 bytes --]

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 #2: X100e_dmesg.tar.gz --]
[-- Type: application/x-gzip, Size: 17744 bytes --]

  reply	other threads:[~2011-01-25 21:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25  9:43 [PATCH 0/11] ACPI: Fixes and cleanups related to iomaps management Jeff Chua
2011-01-25 15:13 ` thinkpad-acpi: fn-f4 issues Henrique de Moraes Holschuh
2011-01-25 21:05   ` Dominik Kopp [this message]
2011-01-25 23:16     ` [ibm-acpi-devel] " Henrique de Moraes Holschuh
2011-01-26 21:59       ` Dominik Kopp
2011-01-27 13:55         ` Henrique de Moraes Holschuh
2011-01-25 22:26   ` Jeff Chua
2011-01-26  0:30     ` Henrique de Moraes Holschuh
     [not found]       ` <AANLkTinazKxNF27m_PkE097hnfZtOqBuAmLZYXydWCpL@mail.gmail.com>
2011-01-29 17:55         ` [ibm-acpi-devel] " Henrique de Moraes Holschuh
     [not found]           ` <AANLkTikjA=F7Q6zdZ8Gnq57NxBfr2vyU4eshmnZytw-m@mail.gmail.com>
2011-01-30 17:22             ` Jeff Chua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D3F3AFF.7020407@kabelfunk.de \
    --to=my@kabelfunk.de \
    --cc=hmh@hmh.eng.br \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=jeff.chua.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox