Hi Chris, Am Sonntag, 6. November 2011, 20:42:56 schrieb Chris Bagwell: > On Sun, Nov 6, 2011 at 11:00 AM, Sönke Schwardt-Krummrich > > <soe...@schwardtnet.de> wrote: > > I added a printk at the top of wacom_bpt_pen() and sent > > data[0]...data[8] to logfile (see attachment). If the packet is ignored > > by "return 1" another log message "IGNORED DATA" has been emitted. > > Interesting is the part around Nov 6 17:42:59. The C0 package gets > > emitted every 5 seconds regardless if the stylus is in range of the > > tablet or not. > > Thanks for the log. > > We are only interested in Report ID's of 0x02. So there should be a > "if (data[0] != 0x02) return 0;" at top of wacom_bpt_pen() routine.
Works like a charm with gimp. Ignoring all messages with data[0] != 0x02 is sufficient to fix the bug. Cheers, Sönke ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel