On Tue, Mar 9, 2010 at 6:40 PM, Chris Bagwell <ch...@cnpbagwell.com> wrote:
> On Tue, Mar 9, 2010 at 8:58 AM, Henry Geay de Montenon
> <h.geaydemonte...@gmail.com> wrote:
> > Hi chris,
> >
> > I purchased an hp tm2 with a wacom multitouch display last weeks and have
> > been trying to make it work with lii-enac multitouch tools. Doing this,
> I've
> > encountered the problem you seem to be willing to adress with this patch
> > (multitouch coordinates reported as ABS_X,Y and an ABS_MISC identifier
> > instead of their MT counterparts.
> > So I've been trying to apply you patch to a fresh 0.8.5-10 linuxwacom
> tree
> > but there were a few rejections which I had to modify manually in
> > wacom_wac.c and wacom_sys.c (I'll send you the .rej files if you want).
>
> Yes, please send .rej to me directly. I created the patch based on
> the cvs tree imported into git a few days after 0.8.5-10 was released.
> So I'm not sure why it would have failed and would like to
> investigate.
>
> Please find the .rej files joined
> > The modified driver seems to work but I noticed using evtest that
> > - the output in /dev/input/eventX is not changing a bit from
> unmodified
> > driver
>
> Looks like detecting ABS_MT* wasn't added to evtest until end of last
> Oct. So make sure you have latest copy.
>
> I did compile the latest evtest but the content of /dev/input/eventX still
stays the same
> > - when I release a finger from the screen, the cursor is going back
> to
> > 0,0 coordinates, opening the Application menus (as I'm using gnome and
> the
> > Application menu happens to stand at the left corner of the screen)
> >
> > Are there other patchsets to apply before applying this patch ?
>
> Hmmm, was it jumping back to zero before the patch? But see next item...
>
> It didn't, the last event displayed after releasing the last finger was the
last position of the finger. After applying your patch it's as following :
Event: time 1268176867.686520, -------------- Report Sync ------------
Event: time 1268176867.738489, type 3 (Absolute), code 0 (X), value 0
Event: time 1268176867.738500, type 3 (Absolute), code 1 (Y), value 0
Event: time 1268176867.738503, type 3 (Absolute), code 40 (Misc), value 0
Event: time 1268176867.738505, type 1 (Key), code 333 (Tool Doubletap),
value 0
Event: time 1268176867.738507, type 1 (Key), code 330 (Touch), value 0
Event: time 1268176867.738511, type 4 (Misc), code 0 (Serial), value 1
Event: time 1268176867.738514, -------------- Report Sync ------------
Event: time 1268176867.738516, type 1 (Key), code 334 (Tool Tripletap),
value 0
Event: time 1268176867.738519, type 4 (Misc), code 0 (Serial), value 2
Event: time 1268176867.738522, -------------- Report Sync ------------
I'm not really expecting you to see any differences from my patches.
> I did a quick search and verified the tm2's are using the wacom 2
> finger tablet PC path in linux kernel driver.
>
> My patch is related to Bamboo Pen&Touch code path... They are very
> similar though and I offered to develop the same patch for the tablet
> pc part. If your willing to test and debug then I'll write it up and
> send to list.
>
> I'd be glad to test and debug these patch
> I've coded up the Bamboo version so that as long as the lii-enac code
> gracefully ignores the EV_ABS/ABS_MISC and EV_MSC/MSC_SERIAL events
> then the rest should work with it. I think in multi-touch mode, those
> same applications start ignoring BTN_TOOL_DOUBLETAP, BTN_TOOL_FINGER,
> and BTN_TOUCH. I'm hoping anyways because its not sending them in a
> way they'd probably expect.
>
> I've invited them to join this thread as we already discussed this matter a
little with Peter Hutterer to know what are his feelings about the
xf86-input-wacom part of the driver.
Henry.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel