Page 1 of 1

Linux Wacom Stylus problems

Posted: Sat Jul 17, 2010 11:04 am
by gravly
Hi all

I am a new user running ASP 6.1 Pro on Ubuntu 10.04 . I have a lenovo x60 tablet, a slightly old tablet pc.

Stylus input slows ASP to a crawl. It is like the stylus is being polled way too often or as if it is not correctly detecting the click and release of the stylus.

Perhaps it is related to what Genete reported on this post for Ubuntu 9.04 (which is a supported distro):
viewtopic.php?t=14769&highlight=linux

The effect of the problem is if I move a bone on the opening sample with the mouse it is fine. If I try it with the stylus it moves slowly pixel by pixel and freezes the machine up until the motion is finished...

Posted: Sat Jul 17, 2010 11:06 am
by gravly
update

this is definitely some sort of tablet pressure polling problem - if I use the eraser (which has no pressure variability) then ASP behaves itself just fine.

Any ideas?

Posted: Sat Jul 17, 2010 11:27 am
by gravly
Somewhere else I think someone has had the same problem as me. I wonder how they solved it...

viewtopic.php?t=4735&highlight=linux

Posted: Sat Jul 17, 2010 5:18 pm
by gravly
I have half a solution. Or perhaps it's just a workaround. My ignorance is showing. I have the tablet working properly and it makes ASP quite usable. Nice to use in fact. But no pressure sensitivity.

Suggestions welcome. I notice Genete complaining lack of pressure sensitivity for Ubuntu 9.04 in the link above. It seems Ubuntu and ASP don't always play well on TabletPC.

All the tablet stuff is now done by hotplugging in Ubuntu 10.04. You create your own /etc/xorg.conf (which doesn't exist by default) to override the hotplug settings. At least I think that's what I've done here. My best guess is that these lines at the bottom are what is making the difference:
InputDevice "stylus" "AlwaysCore"
InputDevice "eraser" "AlwaysCore"
InputDevice "cursor" "AlwaysCore"

I wonder what that "AlwaysCore" is all about... (My entire xorg.conf is at the bottom of this post.)

If anyone knows what I've actually done that has made the difference I'd love to know...

Other than pressure sensitivity I've got some seriously messed up screen rotation scripts to fix for my next challenge.

Here is my full xorg.conf

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/ttyS0"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "Button3" "2"
Option "Button2" "3"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/ttyS0"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
# Option "Button1" "3" # This works better
with Xournal
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/ttyS0"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "stylus" "AlwaysCore"
InputDevice "eraser" "AlwaysCore"
InputDevice "cursor" "AlwaysCore"
EndSection