The patch titled fix appletouch geyser 1 breakage has been removed from the -mm tree. Its filename was fix-appletouch-geyser-1-breakage.patch This patch was dropped because change in mainline broke it ------------------------------------------------------ Subject: fix appletouch geyser 1 breakage From: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> The patch 46249ea60fbb61a72ee6929b831b1f3e6865f024 was obviously done without testing on a Geyser 1, and I'm a very annoyed that it was applied. It causes appletouch to continuously printk: drivers/input/mouse/appletouch.c: Could not do mode read request from device (Geyser 3 mode) because the Geyser 1 doesn't respond to that. The patch description also states: > if we see 10 empty packets the touchpad needs to be reset; good > touchpads should not send empty packets anyway. which is *TOTALLY* bogus since Geyser 1 touchpads have no notion of empty packets, the simply continuously send measurements. One look at the specification would have confirmed that. This reverts the clueless commit. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Cc: Anton Ekblad <valderman@xxxxxxxxx> Cc: Dmitry Torokhov <dtor@xxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/input/mouse/appletouch.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff -puN drivers/input/mouse/appletouch.c~fix-appletouch-geyser-1-breakage drivers/input/mouse/appletouch.c --- a/drivers/input/mouse/appletouch.c~fix-appletouch-geyser-1-breakage +++ a/drivers/input/mouse/appletouch.c @@ -504,22 +504,25 @@ static void atp_complete(struct urb* urb memset(dev->xy_acc, 0, sizeof(dev->xy_acc)); } - input_report_key(dev->input, BTN_LEFT, key); - input_sync(dev->input); - - /* Many Geysers will continue to send packets continually after + /* Geyser 3 will continue to send packets continually after the first touch unless reinitialised. Do so if it's been idle for a while in order to avoid waking the kernel up several hundred times a second */ - if (!x && !y && !key) { - dev->idlecount++; - if (dev->idlecount == 10) { - dev->valid = 0; - schedule_work(&dev->work); + if (atp_is_geyser_3(dev)) { + if (!x && !y && !key) { + dev->idlecount++; + if (dev->idlecount == 10) { + dev->valid = 0; + schedule_work(&dev->work); + } } - } else - dev->idlecount = 0; + else + dev->idlecount = 0; + } + + input_report_key(dev->input, BTN_LEFT, key); + input_sync(dev->input); exit: retval = usb_submit_urb(dev->urb, GFP_ATOMIC); _ Patches currently in -mm which might be from johannes@xxxxxxxxxxxxxxxx are origin.patch fix-appletouch-geyser-1-breakage.patch fix-appletouch-geyser-1-breakage-checkpatch-fixes.patch git-kbuild.patch git-wireless.patch hibernate-fix-lockdep-report-2.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html