Bug 710129

Summary: [RS780] Wacom touchscreen drag doesn't work on HP tx2500 TabletPC
Product: [Fedora] Fedora Reporter: Sinan H <haliyo>
Component: xorg-x11-drv-wacomAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: mcepl, peter.hutterer, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: [cat:conf_input]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-05 11:37:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Xorg.0.log
none
xorg.conf
none
xorg.conf.d/00-system-setup-keyboard.conf
none
xorg.conf.d/10-synaptics.conf
none
evtest-capture /dev/input/event11 none

Description Sinan H 2011-06-02 13:50:23 UTC
hp tx2500 tablet pc touchscreen allows clicking, but the cursor doesn't move with the finger. This tablet is NOT multitouch capable AFAIK, so I guess a conflict with the new multitouch gestures in linux-wacom. Tested with xsetwacom Gestures on and off with no change in behavior though. zoom, tap and scroll parameters has no effect also.
Used to work OK in f14.

{
By the way, it's miscalibrated at startup, needs something like this:
$ xsetwacom set 'Wacom ISDv4 93 Finger touch' Area 225 400 3975 3875
}

$ xinput list | grep Wacom
⎜   ↳ Wacom ISDv4 93 Pen stylus                 id=11   [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 93 Finger touch               id=12   [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 93 Pen eraser                 id=17   [slave  pointer  (2)]

$ xsetwacom --get 12 all
Option "Area" "0 0 4095 4095"
'Button' requires exactly 1 value(s).
Option "ToolDebugLevel" "0"
Option "TabletDebugLevel" "0"
Option "Suppress" "2"
Option "RawSample" "4"
Property 'Wacom Pressurecurve' does not exist on device.
Option "Mode" "Absolute"
Property 'Wacom Hover Click' does not exist on device.
Option "Touch" "on"
Option "Gesture" "off"
Option "ZoomDistance" "50"
Option "ScrollDistance" "20"
Option "TapTime" "250"
Option "Capacity" "-1"
Property 'Wacom Proximity Threshold' does not exist on device.
Option "Rotate" "none"
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Option "Threshold" "27"
Option "ToolID" "290"
Option "ToolSerial" "0"
Option "TabletID" "147"

$ uname -a
Linux pad 2.6.38.6-27.fc15.x86_64 #1 SMP Sun May 15 17:23:28 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Comment 1 Sinan H 2011-06-02 18:13:24 UTC
Jus tested with xorg-x11-drv-wacom & -server from updates-testing, same behavior.

Comment 2 Peter Hutterer 2011-06-03 04:28:09 UTC
same behaviour on a plain X server or is this gnome interfering?

Comment 3 Sinan H 2011-06-06 14:53:04 UTC
same on KDM/KDE4 & LXDE, G3 and classic.
I've also tried gsettings tips on this other bug to no effect. So I'm pretty confident its not gnome dependent.
By the way, the stylus works as expected and evtest seems unaffected: ie it changes the printed position when I put my finger down and move around...

Something else I can do to track this one down ?

Comment 4 Matěj Cepl 2011-06-06 19:50:53 UTC
Following the advice on https://fedoraproject.org/wiki/Xorg/Input_Triage_Algorithm please attach

* your X server config file (/etc/X11/xorg.conf, if available, and any other files in the /etc/X11/xorg.conf.d/ directory),
* X server log file (/var/log/Xorg.*.log), and
* output of the evtest command against /dev/input/* file (which one it is, you'll find in /var/log/Xorg.0.log)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 5 Sinan H 2011-06-07 07:37:13 UTC
Created attachment 503396 [details]
Xorg.0.log

Comment 6 Sinan H 2011-06-07 07:37:59 UTC
Created attachment 503397 [details]
xorg.conf

Comment 7 Sinan H 2011-06-07 07:38:50 UTC
Created attachment 503398 [details]
xorg.conf.d/00-system-setup-keyboard.conf

Comment 8 Sinan H 2011-06-07 07:39:30 UTC
Created attachment 503400 [details]
xorg.conf.d/10-synaptics.conf

Comment 9 Sinan H 2011-06-07 07:45:31 UTC
Created attachment 503402 [details]
evtest-capture /dev/input/event11

recorded event:
- touch top left corner, move finger to bottom right, release
- touch top right corner, move to bottom left, release
- ^C

Comment 10 Peter Hutterer 2011-06-15 21:45:43 UTC
Please test if it works if you hook up the synaptics driver to the finger part of the pad. IIRC, this is how F14 handles it

Section "InputClass"
   Identifier "Wacom finger synaptics"
   Driver "synaptics"
   MatchProduct "Wacom ISDv4 93 Finger"
EndSection

and save that as /etc/X11/xorg.conf.d/99-somefilename.conf. When restarting X, you should see the synaptics driver being applied to this device.

Comment 11 Sinan H 2011-06-16 22:23:45 UTC
No success Im afraid. synaptics driver drops the wacom complaining that it isn't supported. here's the relevant part of Xorg.0.log:
 
[  2795.307] (II) config/udev: Adding input device Wacom ISDv4 93 Finger (/dev/input/event11)
[  2795.307] (**) Wacom ISDv4 93 Finger: Applying InputClass "evdev touchscreen catchall"
[  2795.307] (**) Wacom ISDv4 93 Finger: Applying InputClass "Wacom class"
[  2795.307] (**) Wacom ISDv4 93 Finger: Applying InputClass "Wacom finger synaptics"
[  2795.307] (II) LoadModule: "synaptics"
[  2795.308] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[  2795.308] (II) Module synaptics: vendor="X.Org Foundation"
[  2795.309]    compiled for 1.10.0, module version = 1.4.0
[  2795.309]    Module class: X.Org XInput Driver
[  2795.309]    ABI class: X.Org XInput driver, version 12.2
[  2795.309] (II) Using input driver 'synaptics' for 'Wacom ISDv4 93 Finger'
[  2795.309] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[  2795.309] (**) Wacom ISDv4 93 Finger: always reports core events
[  2795.309] (**) Option "Device" "/dev/input/event11"
[  2795.310] (--) Wacom ISDv4 93 Finger: invalid x-axis range.  defaulting to 1615 - 5685
[  2795.310] (--) Wacom ISDv4 93 Finger: invalid y-axis range.  defaulting to 1729 - 4171
[  2795.310] (--) Wacom ISDv4 93 Finger: invalid pressure range.  defaulting to 0 - 256
[  2795.310] (--) Wacom ISDv4 93 Finger: invalid finger width range.  defaulting to 0 - 16
[  2795.312] (--) Wacom ISDv4 93 Finger: no supported touchpad found
[  2795.312] (EE) Wacom ISDv4 93 Finger Unable to query/initialize Synaptics hardware.
[  2795.313] (EE) PreInit returned 11 for "Wacom ISDv4 93 Finger"
[  2795.313] (II) UnloadModule: "synaptics"[  2795.313] (II) Unloading synaptics
[  2795.315] (II) config/udev: Adding input device Wacom ISDv4 93 Finger (/dev/input/mouse2)
[  2795.315] (**) Wacom ISDv4 93 Finger: Applying InputClass "Wacom finger synaptics"
[  2795.315] (II) Using input driver 'synaptics' for 'Wacom ISDv4 93 Finger'
[  2795.315] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[  2795.315] (**) Wacom ISDv4 93 Finger: always reports core events
[  2795.315] (**) Option "Device" "/dev/input/mouse2"
[  2795.315] (--) Wacom ISDv4 93 Finger: invalid x-axis range.  defaulting to 1615 - 5685
[  2795.315] (--) Wacom ISDv4 93 Finger: invalid y-axis range.  defaulting to 1729 - 4171
[  2795.315] (--) Wacom ISDv4 93 Finger: invalid pressure range.  defaulting to 0 - 256
[  2795.315] (--) Wacom ISDv4 93 Finger: invalid finger width range.  defaulting to 0 - 16
[  2795.325] (EE) Query no Synaptics: 6003C8
[  2795.325] (--) Wacom ISDv4 93 Finger: no supported touchpad found
[  2795.325] (EE) Wacom ISDv4 93 Finger Unable to query/initialize Synaptics hardware.
[  2795.326] (EE) PreInit returned 11 for "Wacom ISDv4 93 Finger"
[  2795.326] (II) UnloadModule: "synaptics"
[  2795.326] (II) Unloading synaptics

Comment 12 Sinan H 2011-06-25 15:18:04 UTC
ok, another failed attempt to workaround this. I've pulled xf86-input-wacom from git, and commented out this in wcmCommon.c :

	/* don't move the cursor if in gesture mode 
	if (common->wcmGestureMode)
		return;*/


after make & make install, i still can't drag with touch. So long for my gesture-mess theory. anywhere else to look at ?

Comment 13 Sinan H 2011-09-05 11:37:16 UTC
It was a kernel bug after all. Fixed when updated to 2.6.40.3-0.fc15.x86_64.
Still occurs if I boot 2.6.38.8-35.fc15.x86_64, so its wasn't coming from xorg-x11-drv-wacom.