Hi

I've had a problem with the "Bamboo Touch and Pen" on my laptop : the pointer 
sticks to right edge of the screen and never responds to changes in horizontal 
direction.  The X log shows absurd negative X dimensions in messages that 
state about "top X=.... top Y=... bottom X=... bottom Y=... resol X=... resol 
Y=...".

It appears that the driver faces a division by zero when trying to deal with 
the "KeepShape" option on that computer. The fields  "priv->maxWidth" and 
"priv->maxHeight" are both set to 0 - don't ask me why - making it impossible 
to assess the screen ratio.

I've patched (attached) to detect and disable KeepShape in the situation. This 
does not solve the problem, which is somewhere else, but makes however the 
driver more robust, removing an option when it cannot possibly deal with.

Bruno

NB

Augmenting the debuging level in X configuration (50-wacom.conf: Option 
"DebugLevel" "100"), without any modification to the source,  shows something 
like : 
   screenRatio = -nan, tabletRatio = 1.6



Attachment: git.dif
Description: video/dv

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to