Comment 11 for bug 576610

Revision history for this message
negora (negora) wrote : Re: Manhattan tablet (WP8060U) working weird on Ubuntu 10.04 (Lucid Lynx)

I believe to have found part of the origin of this issue and a solution. There are 2 important conclusions:

1 - My tablet is not "recognized" as being a tablet but a pointer, so the "MatchIsTablet" rule at /usr/lib/X11/xorg.conf.d/70-wizardpen.conf won't work ever. I've tried different possibilities and "MatchIsPointer" works right.

I guess that it has something to do with UDEV and the rule files. On HAL there was a key which allowed to set the device as a tablet (as a stylus really):

<merge key="input.product" type="string">stylus</merge>

However, I've no idea about if this could be achieved in UDEV in a similar way.

2 - If we only replace "MatchIsTablet" by "MatchIsPointer", this will activate the rule and cause the pointer to move and get stuck to the coordinate 0,0 . It's mandatory to set the dimensions of the tablet to make it work.

So, summarizing, here it's my 70-wizardpen.conf file:

Section "InputClass"
   Identifier "wizardpen"
   MatchIsPointer "on"
   MatchDevicePath "/dev/input/event*"
   MatchVendor "UC-LOGIC|KYE Systems|Ace Cad"
   Driver "wizardpen"
   Option "TopX" "2650"
   Option "TopY" "3563"
   Option "TopZ" "10"
   Option "BottomX" "30733"
   Option "BottomY" "29715"
   Option "BottomZ" "511"
EndSection

Section "InputClass"
   Identifier "wizardpen ignore mouse dev"
   MatchIsPointer "on"
   MatchDevicePath "/dev/input/mouse*"
   MatchVendor "UC-LOGIC|KYE Systems|Ace Cad"
   Driver ""
EndSection

And that's all. I hope that someone with more knowledge investigate the origin of all this. By now, this patch works flawless ;) .