On Sun, Feb 07, 2010 at 07:15:05PM -0600, Chris Bagwell wrote: > Hi all, > > I've a quick question on expected behavior when a finger first comes > into proxity for touch pads while in relative mode. I see that its > very common for the first event message to have a non-zero X value but > the Y value will be zero. Is this expected or would it be a kernel > bug (I'm using 0.8.5-9+bamboo patches)? If expected, is something > supposed to always be filtering this out? > > Some examples for debug logs: > > (II) /dev/input/event6 (usbParseChannel): 6 events received > (II) /dev/input/event6 (usbParseChannel): 6 events received > (II) /dev/input/event6 (usbParseChannel): USB Touch detected 14d (value=1) > (II) /dev/input/event6 (wcmEvent): channel = 0 > (II) /dev/input/event6 (wcmEvent): c=0 i=3 t=2 s=0 x=175 y=0 b=0 p=157 rz=0 > tx=0 > ty=0 aw=0 rw=0 t=0 df=0 px=1 st=934517456 cs=0 > > some time later, you'll get a more typical non-zero value: > > (II) /dev/input/event6 (usbParseChannel): 5 events received > (II) /dev/input/event6 (usbParseChannel): 5 events received > (II) /dev/input/event6 (wcmEvent): channel = 0 > (II) /dev/input/event6 (wcmEvent): c=0 i=3 t=2 s=0 x=171 y=77 b=0 p=157 rz=0 > tx= > 0 ty=0 aw=0 rw=0 t=0 df=0 px=1 st=934517496 cs=1 > > Note that x is similar value but y made a big jump from 0 to 77. Once > stabilized, the y value seems to track finger fine. > > It happens alot more often with second finger/channel 1. Sometimes > but not always this can make it into the gesture logic. It can make > scroll gestures look like zooms and also the other way around. > > I can try to detect and filter these out but want to get some feedback > if this should even be happening or if I should be looking into kernel > driver instead of filtering in X.
IMO, this should be fixed in the kernel driver since it would affect much of the stack. Fixing it closes to the source of the problem is the best here. Cheers, Peter ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
