Add patch nokia-av_key.patch
authorPali Rohár <pali.rohar@gmail.com>
Wed, 18 Sep 2013 16:37:57 +0000 (18:37 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Wed, 18 Sep 2013 16:37:57 +0000 (18:37 +0200)
commit0533144967fcf0cc4e485cf40e586140e7a1d960
treea632b92301f61fecdf272ddfd368e54996023cbb
parent4da57ea06de0f91ccb0e04d21966693512a3a24a
Add patch nokia-av_key.patch

With this patch pressed headset button will be reported immediately as KEY_PROG1.
But sometimes this key can be reported also when was not presses.

Application should take care about false positive pressing, so this is reason
why kernel will report it as KEY_PROG1 (and not KEY_PHONE).

To verify if key was pressed application can wait for real KEY_PHONE event which
would be delivered after few seconds as before.

Application can receive notify about this presses key via HAL "prog1" key.
So this will not break any existing applications.

Thanks Pavel Machek for it!
kernel-power-2.6.28/debian/patches/nokia-av_key.patch [new file with mode: 0644]
kernel-power-2.6.28/debian/patches/series