Input: wacom - ignore unwanted bamboo packets
authorChris Bagwell <chris@cnpbagwell.com>
Tue, 8 Nov 2011 03:52:42 +0000 (19:52 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 8 Nov 2011 03:56:41 +0000 (19:56 -0800)
commit5a6c865d9861efdd066db1b5da491ebc2ff5926d
tree98106bceba8c61c8a257d1cac03932dfc72ea152
parentd2cc817a7697685f034c90542053d85e7012c760
Input: wacom - ignore unwanted bamboo packets

Bamboo's Pen and Touch packets always start with a value
of 0x02 in first byte.  In 3rd gen Bamboo's, the hw is now
periodically sending some additional packets with unrelated data
and uses a value other than 0x02 to inform driver this.

Ignore those packets now.

This was reported by users as bad behavior in Gimp. The
invalid packets being processed made the stylus report
out of proximity for the 1 packet and this triggered some
secondary bug which caused Gimp to stop drawing until
user really took pen out of proximity of tablet.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom_wac.c