[ltp] Fn+F* suddenly not working

André Wyrwa linux-thinkpad@linux-thinkpad.org
Tue, 10 Apr 2007 14:43:35 +1000


--=-WI6SgLqGAW4B8v32IRyB
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

On Mon, 2007-04-09 at 23:09 +0200, Guillermo Ju=E1rez wrote:
> I'm using gentoo with kernel 2.6.20 and suddenly, with no big changes
> in my system (the only notizable update is powersave to version 1.15),
> my Fn+F* keys are not working anymore.

I assume that powersave handled your suspending/hibernating?

If it did, an update can break the functionality.

The ibm-acpi key events are not the same as the generic key events for
those buttons. Hence they may not be processed properly by the daemon.
They might have been in the past, but an internal change or a change in
the configuration files may break that. I'm afraid i can't give you more
info.

> This is what I get in my /Var/log/acpid when I press Fn+F4:
>=20
> [Mon Apr  9 23:03:29 2007] received event "ibm/hotkey HKEY 00000080 00001=
00c"
> [Mon Apr  9 23:03:29 2007] notifying client 10120[0:0]
> [Mon Apr  9 23:03:29 2007] notifying client 10616[0:0]
> [Mon Apr  9 23:03:29 2007] notifying client 9814[102:408]
> [Mon Apr  9 23:03:29 2007] executing action "/etc/acpi/default.sh
> ibm/hotkey HKEY 00000080 0000100c"
> [Mon Apr  9 23:03:29 2007] BEGIN HANDLER MESSAGES
> [Mon Apr  9 23:03:29 2007] END HANDLER MESSAGES
> [Mon Apr  9 23:03:29 2007] action exited with status 0
> [Mon Apr  9 23:03:29 2007] completed event "ibm/hotkey HKEY 00000080 0000=
100c"
>=20
> Could it be a acpid problem? Anyone with gentoo has experienced
> similar problems?

You can see from this that the event was recieved by acpid. It is also
associated with an action script, namely /etc/acpi/default.sh. This is
rather unusual for gentoo, because normally it should be something
like /usr/bin/hibernate-ram.

I guess /etc/acpi/default.sh doesn't do anything with it, because
normally it only deals with powerbutton and ac_adapter events (by
default).

So this could be part of your problem.

But you can also see, that acpid forwards the event to three different
clients (which is at least one to much ;-) ). One is for sure powersave,
and one more could be HAL, if you have it running, but what the third
one would be might be interesting.

However, if powersave is supposed to care for hibernation, dig out it's
documentation and find out if it is configured for ibm-acpi specific
events. It's been too long ago for me since i dug into the inner
workings of powersave. But i think i left some traces on ThinkWiki about
it back then...so have a browse there.

Andr=E9.


--=-WI6SgLqGAW4B8v32IRyB
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGGxX3EOp8fsnyxsQRAsr5AJ9F134UC6+APuO6amA7T7sWTWqu3wCdH0ur
BwZoLxf6lB/BjOPEgv2guWk=
=Quvz
-----END PGP SIGNATURE-----

--=-WI6SgLqGAW4B8v32IRyB--