how to make KEY_POWER work in terminal system

Lars-Peter Clausen lars at metafoo.de
Fri Nov 13 18:37:56 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Xiangfu Liu wrote:
> Lars-Peter Clausen wrote:
>> Hi
>>
>> I think HAL or DeviceKit whould be way to bloated.
>> A simple script reading from the buttons event file should be enough
>> for now.
>>
>> - Lars
> I try to write a daemon to handle the poweroff, attach is the simple one.
>
> but I think there is some problem with the WAKEUP irq.
> it's not always print the message when I press the power key.
Do you think that it is a hardware or a software issue?

- - Lars
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr97dMACgkQBX4mSR26RiMYMwCfYl0IY/OHuNs6aNMyHS3exanL
TfoAnidoGlBxzyNeapeDeNjgMz9P8G5B
=AKFH
-----END PGP SIGNATURE-----





More information about the discussion mailing list


interactive