Am Mon, 12 Jul 2010 15:12:45 +1000
schrieb Peter Hutterer <[email protected]>:

> On Tue, Jun 29, 2010 at 12:02:55PM +0200, Thomas Spura wrote:
> > Am Tue, 29 Jun 2010 10:08:02 +1000
> > schrieb Peter Hutterer <[email protected]>:
> > 
> > > On Fri, Jun 25, 2010 at 01:05:34AM +0200, Thomas Spura wrote:
> > > > Hi list,
> > > > 
> > > > with 0.10.7 I can't left click anymore with my pen. It seems
> > > > it's not recognized anymore... (used to work with 0.10.6)
> > > > 
> > > > I have a touchsmart tx2 like in bug [1].
> > > > 
> > > > There are also some other non working parts:
> > > >         * right click with pen is not working at all.
> > > >         * finger touching is confusing. When touching
> > > > somewhere, X seems to remember that point, and when clicking
> > > > somewhere else, it draws a selection rectangle and not clicking
> > > > on the second point.
> > > > 
> > > > I once send some more information to this list like some
> > > > evtest-capture outputs, but that mail was too big and I got it
> > > > back, notifying me, that the list moderator takes care of it.
> > > > (And later I forgot about it, because I used to use the pen
> > > > only - which doesn't work now ;)).
> > > > 
> > > > What else informations do you need to track this down?
> > > > 
> > > >         Thomas
> > > > 
> > > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=538036
> > > 
> > > can you bisect the repo to find the broken commit? That'd be the
> > > most useful information right now.
> > 
> > Here is the bisect history:
> > # bad: [e7bbe77a021a379756957fdb8d722092826e365e] Merge branch
> > 'serial-rework' of
> > git://people.freedesktop.org/~whot/xf86-input-wacom # good:
> > [c5543682306775f1ba42e44cd8b3db4eb460f20d] wacom 0.10.6 git bisect
> > start 'master' 'xf86-input-wacom-0.10.6' # bad:
> > [6f92c53fab330bd1491dba8d8724cff0ee988508] Free toolarea and
> > common->private git bisect bad
> > 6f92c53fab330bd1491dba8d8724cff0ee988508 # skip:
> > [49d7635e1905fd33a59581232418a6c7d5edc77f] In relative mode,
> > subtract the old pressure value from the new one. git bisect skip
> > 49d7635e1905fd33a59581232418a6c7d5edc77f # skip:
> > [0d000207e80832a66bc5c30089dfec730adb66d6] config: remove
> > AC_PROG_CC as it overrides AC_PROG_C_C99 git bisect skip
> > 0d000207e80832a66bc5c30089dfec730adb66d6 # bad:
> > [83db7fb4a71c6460ac2aaee3476fb49c36f9cbb6] Adjust N-Trig pattern.
> > git bisect bad 83db7fb4a71c6460ac2aaee3476fb49c36f9cbb6 # good:
> > [de3953f34c5da03baee443186c64f852ea675fef] Facture out state
> > resetting from the device state. git bisect good
> > de3953f34c5da03baee443186c64f852ea675fef # good:
> > [1d0f629f8f95621f107ff3031b805613447ed275] Replace Bamboo touch
> > tablet_id check with tablet_type git bisect good
> > 1d0f629f8f95621f107ff3031b805613447ed275 # good:
> > [5178eec046e160218df088363394b4b117976725] wcmUSB: add some
> > parentheses where parentheses are due. git bisect good
> > 5178eec046e160218df088363394b4b117976725
> > 
> > -> first bad commit: 83db7fb4a71c6460ac2aaee3476fb49c36f9cbb6
> > 
> > In this commit, just the file 50-wacom.conf changed slightly:
> > diff --git a/conf/50-wacom.conf b/conf/50-wacom.conf
> > index 9a02b0e..e5886b4 100644
> > --- a/conf/50-wacom.conf
> > +++ b/conf/50-wacom.conf
> > @@ -26,7 +26,7 @@ EndSection
> >  # N-Trig Duosense Electromagnetic Digitizer
> >  Section "InputClass"
> >         Identifier "Wacom N-Trig class"
> > -       MatchProduct "HID 1b96:0001"
> > +       MatchProduct "HID 1b96:0001|N-Trig Pen"
> >         MatchDevicePath "/dev/input/event*"
> >         Driver "wacom"
> >  EndSection
> > 
> > After modifying 50-wacom.conf locally with the most current commit,
> > the pen is working again as before.
> 
> Tom, can you send me the Xorg.logs before and after this change? If
> you sent them already I must have missed the email.

I just send the logs to the list, but they are too big, so here again
with just the differences of the N trig pen. The full logs are uploaded
to: http://tomspur.fedorapeople.org/bugs/wacom/

Sure, here they are (attached are the whole Xorg.logs.

When using the most recent in fedora, I get:
[    34.429] (II) config/udev: Adding input device N-Trig Pen
(/dev/input/event7) [    34.429] (**) N-Trig Pen: Applying InputClass
"evdev tablet catchall" [    34.429] (**) N-Trig Pen: Applying
InputClass "Wacom N-Trig class" [    34.429] (II) LoadModule: "wacom"
[    34.430] (II) Loading /usr/lib64/xorg/modules/input/wacom_drv.so
[    34.440] (II) Module wacom: vendor="X.Org Foundation"
[    34.440]    compiled for 1.8.0, module version = 0.10.7
[    34.440]    Module class: X.Org XInput Driver
[    34.440]    ABI class: X.Org XInput driver, version 9.0
[    34.440] (**) Option "Device" "/dev/input/event7"
[    34.444] (II) N-Trig Pen: type not specified, assuming 'stylus'.
[    34.444] (II) N-Trig Pen: other types will be automatically added.
[    34.445] (**) N-Trig Pen stylus: always reports core events
[    34.445] (**) Option "Button2" "3"
[    34.445] (II) N-Trig Pen stylus: hotplugging dependent devices.
[    34.445] (**) Option "Device" "/dev/input/event7"
[    34.448] (**) N-Trig Pen eraser: always reports core events
[    34.448] (**) Option "Button2" "3"
[    34.450] (II) XINPUT: Adding extended input device "N-Trig Pen
eraser" (type: ERASER) [    34.458] (--) N-Trig Pen eraser: using
pressure threshold of 27 for button 1 [    34.458] (--) N-Trig Pen
eraser: Wacom Unknown USB tablet speed=38400 maxX=9600 maxY=7200
maxZ=256 resX=1016 resY=1016  tilt=enabled [    34.459] (--) N-Trig Pen
eraser: top X=0 top Y=0 bottom X=9600 bottom Y=7200 resol X=1016 resol
Y=1016 [    34.460] (II) N-Trig Pen stylus: hotplugging completed.
[    34.462] (II) XINPUT: Adding extended input device "N-Trig Pen
stylus" (type: STYLUS) [    34.463] (--) N-Trig Pen stylus: top X=0 top
Y=0 bottom X=9600 bottom Y=7200 resol X=1016 resol Y=1016 [    34.466]
(II) config/udev: Adding input device N-Trig Pen (/dev/input/mouse2)
[    34.466] (II) No input driver/identifier specified (ignoring)
[    34.469] (II) config/udev: Adding input device N-Trig MultiTouch
(/dev/input/event8)

When manually undo the commit from above:
[    25.473] (II) config/udev: Adding input device N-Trig Pen
(/dev/input/event6) [    25.473] (**) N-Trig Pen: Applying InputClass
"evdev tablet catchall" [    25.473] (**) N-Trig Pen: always reports
core events [    25.473] (**) N-Trig Pen: Device: "/dev/input/event6"
[    25.476] (II) N-Trig Pen: Found 1 mouse buttons
[    25.476] (II) N-Trig Pen: Found absolute axes
[    25.476] (II) N-Trig Pen: Found x and y absolute axes
[    25.476] (II) N-Trig Pen: Found absolute tablet.
[    25.476] (II) N-Trig Pen: Configuring as tablet
[    25.476] (**) N-Trig Pen: YAxisMapping: buttons 4 and 5
[    25.476] (**) N-Trig Pen: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [    25.476] (II)
XINPUT: Adding extended input device "N-Trig Pen" (type: TABLET)
[    25.476] (II) N-Trig Pen: initialized for absolute axes.
[    25.476] (II) config/udev: Adding input device N-Trig Pen
(/dev/input/mouse1)


Thanks
  Tom

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to