Comment 8 for bug 371574

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Jeremy,

Thanks so much for working to get this into upstream. The Karmic 9.10 kernel will target the upstream 2.6.31 kernel and was most recently rebased with the upstream 2.6.31-rc2 kernel. And indeed looking at the git tree for karmic I see this patch has been merged. I'll paste the commit id below. Alpha images for Karmic are available for testing at http://cdimage.ubuntu.com/daily-live/current/ . Thanks!

ogasawara@emiko:~/ubuntu-karmic$ git log 05e882f890038c702a4f15d385135d03cf74ad48
commit 05e882f890038c702a4f15d385135d03cf74ad48
Author: Jeremy Huddleston <email address hidden>
Date: Wed Jun 3 07:29:39 2009 -0700

    Input: appletouch - improve finger detection

    The appletouch driver is prone to reporting multiple fingers when only
    one is pressing. The appletouch driver queries an array of pressure
    sensors and counts local maxima in pressure to determine the number of
    fingers. It just does this on the raw values, so a data stream like:

    0 100 250 300 299 300 250 100 0

    actually registers as 2 fingers.

    This patch updates the logic to ignore small dips in pressure that are
    less than the threshold.

    Signed-off-by: Jeremy Huddleston <email address hidden>
    Signed-off-by: Dmitry Torokhov <email address hidden>