how to make KEY_POWER work in terminal system

Lars-Peter Clausen lars at metafoo.de
Sun Nov 15 19:46:57 EST 2009


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

Xiangfu Liu wrote:
> Hi lars I try the /dev/input/event1 (the keyboard) all keys work
> fine.
>
> but the /dev/input/event0 (power button) always have problem. I
> think it's hardware issue.
Hi

I took a look at the problem:

The gpio-keys driver needs support for irqs which are triggered on
falling and rising edges.
The jz4740 supports only falling or rising edge. I added some code to
the gpio irq handler to emulate the desired behaviour.
Your daemon should work fine now.

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

iEYEARECAAYFAksAoQEACgkQBX4mSR26RiNBPQCfbcb280yyavk3hqcfQ+5e12ka
vRgAnjME9qBiXK48+ci1XdHvNjlOhlwU
=PIIu
-----END PGP SIGNATURE-----





More information about the discussion mailing list


interactive