[ltp] Hotkeys not working after suspend/resume to disk (X220t)

Milan Plžík linux-thinkpad@linux-thinkpad.org
Sun, 14 Aug 2011 13:31:33 +0200


On 08/14/2011 12:18 PM, Pedro Ribeiro wrote:
> Hi,

   Hello,

>
> I have the same problem with a T400 with kernel 3.0.
>
> After hibernating, the thinkvantage and Fn keys stopped working. I
> just tried suspend to RAM as you said and indeed the keys start
> working again.
>
> I didn't have this problem with 2.6.39. Can you please check if the
> older kernel has this issue?

   This morning I ran few more tests, with following results:

  - vanilla 3.0.1 -- hibernate/resume doesn't affect thinkpad hotkeys
  - vanilla 3.0.1 + tuxonice patch -- thinkpad hotkeys stop working

   which (at least in my case) yields the culprit -- tuxonice patch.

   Unfortunately, I don't have enough time to run tests with 2.6.39 (and 
probably won't have for next two weeks).
>
> If it has then it's a new bug.

   So far I filed a bugreport at 
http://bugzilla.tuxonice.net/show_bug.cgi?id=475 . I did not manage to 
get vanilla kernel into the state without working hotkeys, so this seems 
to be appropriate (again, in my case). You might give a try to vanilla 
3.0.1 to see whether we are takling about the same issue.

>
> Regards,
> Pedro

	Milan

>
> On 13/08/2011, Milan Plžík<milan.plzik@gmail.com>  wrote:
>>    Hello,
>>
>>    I'm tring to configure X220 tablet to use suspend to disk, however
>> it looks like after having successfully resumed, thinkpad hotkeys
>> don't work. I tried to rmmod/modprobe thinkpad-acpi module, but with
>> no luck. Interestingly, looks like suspend/resume to RAM fixes this
>> issue -- hotkeys I tested started to work correctly again. I was not
>> able to make further progress with debugging, but maybe some part of
>> hotkeys_resume (drivers/platform/x86/thinkpad_acpi.c) disables hotkeys
>> when resuming from disk; but I have not tested it.If there is anything
>> I can do/test, I'm ready for any suggestions.
>>
>>    Best regards,
>>      Milan Plzik
>> --
>> The linux-thinkpad mailing list home page is at:
>> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>>