]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit783ab24b7c7574571ae9001b691d43b52b40cea2
tree98106bceba8c61c8a257d1cac03932dfc72ea152
parent1b809dfa12ebb6b4ad973ba367b903f443220003
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