Bug 20871 (paulhelf) - (1) timeout error on startup, (2) driver outputs erroneous Axis 1 digitizing tablet board limit
Summary: (1) timeout error on startup, (2) driver outputs erroneous Axis 1 digitizing...
Status: RESOLVED WONTFIX
Alias: paulhelf
Product: xorg
Classification: Unclassified
Component: Input/calcomp (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL: http://kubuntuforums.net/forums/index...
Whiteboard: 2011BRB_Reviewed
Keywords: janitor
Depends on:
Blocks:
 
Reported: 2009-03-26 00:01 UTC by Paul Helfenstein
Modified: 2011-10-17 02:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Paul Helfenstein 2009-03-26 00:01:00 UTC
Detailed documentation at URL given above.

(1) Calcomp DrawingBoard III digitizing tablet fails to initialize as xinput device at startup due to timeout error. From /var/log/Xorg.0.log:

(WW) Timeout while reading Calcomp tablet. No tablet connected ???
(EE) Unable to query/initialize CALCOMP hardware.

User fix in xf86Calcomp.c:  At line 787, change "int retries = 5;" to "int retries = 100;"

(2) After fixing (1), "xinput list TABLET" retrieves "7616" from the driver as the tablet axis 1 limit instead of the correct number, "24000".

User found error (missing line of code) in xf86Calcomp.c.  At line 608 change
  
         priv->max_y = (int)buffer[5] + ((int)buffer[4] << 7);
to

         priv->max_y = (int)buffer[5] + ((int)buffer[4] << 7)
                                        + (((int)buffer[3]&0x03)<<14);

(3) "xinput set-pointer TABLET" fails on calcomp tablet. 

X Error of failed request:  BadDevice, invalid or uninitialized input device
  Major opcode of failed request:  146 (XInputExtension)
  Minor opcode of failed request:  12 (X_ChangePointerDevice)
  Serial number of failed request:  12
  Current serial number in output stream:  12
Comment 1 Peter Hutterer 2011-10-17 02:02:10 UTC
Sorry, closing as WONTFIX. This driver is unmaintained and will not see further fixes.

http://cgit.freedesktop.org/xorg/driver/xf86-input-calcomp/commit/?id=692c7784bcffc27ebe3a2a284a9ab4eea87ce287


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.