[ltp] Hibernate on T41P
Matthias Himber
linux-thinkpad@linux-thinkpad.org
Wed, 16 Jun 2004 16:44:40 +0200
> Is software suspend where it suspends to swap?
Yes.
> Wi ll it listen to my FN-F12 request? If yes, I'll look into it.
No, but..
Pressing Fn-F12 will toggle some bit in the NVRAM, like the other buttons do.
Normally, the BIOS will react to this and suspend, but if it has no
hibernation file, it will do nothing. The current version of TPB does not
react to FN-F12 (nor does it react to Fn-F4), but adding support should not
be too difficult. Alternatively, if you use ACPI, Fn-F12 *may* generate an
ACPI event that can be reacted to with the ACPI daemon (acpid). But I don't
have information on that.
As usual, there seems to be some way to intercept the Fn-Fx keypresses and
prevent the BIOS from acting on them, and the IBM Windows drivers do it, but,
as usual, IBM isn't telling how. So you are pretty much on your own there. If
you manage to hack something together that works, by all means tell us.
HTH,
Matthias Himber