You are not logged in.

#1 2010-06-25 18:52:40

gooze
Member
Registered: 2007-01-31
Posts: 8

Wizardpen and Xorg 1.8.1, Genius Tablet problem and solution

Hello!!! I post this information just to contribute with a solution to a problem I was fighting with in the last days. I search for an answer and did not find it. If someone need more information feel free to ask. Oh! And sorry for my english.

The Problem:

After the update of Xorg and the Wizardpen driver from the AUR my tablet was not working anymore. The hal policy did not work, because Xorg now uses other method for hotplugged devices. If you want to learn more read this http://wiki.archlinux.org/index.php/Xorg#InputClasses

Solution:

We have to tell Xorg wich is the driver for that device creating an InputClass. To do that, we need some info about the tablet first. Execute:

grep -i name /proc/bus/input/devices

and search for a line with the name of your tablet. In my case is:

...
Name="UC-LOGIC Tablet WP8060U"
...

Now we need to calibrate the tablet, first execute:

cat /proc/bus/input/devices

And search for a devices with the name you see before. In my case:

...

I: Bus=0003 Vendor=5543 Product=0005 Version=0100
N: Name="UC-LOGIC Tablet WP8060U"
P: Phys=usb-0000:00:02.0-3/input0
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0/input/input5
U: Uniq=
H: Handlers=mouse0 event5 
B: EV=1f
B: KEY=c01 0 3f0001 0 0 0 0 0 0 0 0
B: REL=303
B: ABS=100000f
B: MSC=10

...

See the line "H: Handlers=mouse0 event5". The last part tells you the device is in event5 (note that we do not use the mouse0), in your case could be other. Use this info to execute the next command with your event number:

wizard-calibrate /dev/input/event5

Follow the on screen instruccions (press the pen on a corner of the tablet and on the oposite corner).  The last lines of the output look like this:

    Driver "wizardpen"
    Option    "TopX"    "2691"
    Option    "TopY"    "3249"
    Option    "BottomX"    "31462"
    Option    "BottomY"    "30089"
    Option    "MaxX"    "31462"
    Option    "MaxY"    "30089"

We will use this info in a moment.

Later create a text file /etc/X11/xorg.conf.d/70-wizardpen.conf and put this content in it, but remember to change the text "THE NAME OF YOUR TABLET" to match the name you find previously and the configuration of your tablet calibration:

Section "InputClass"
    Identifier "wizardpen"
    MatchProduct "THE NAME OF YOUR TABLET"
    MatchDevicePath "/dev/input/event*"
    Driver "wizardpen"
    Option    "TopX"    "2691"
    Option    "TopY"    "3249"
    Option    "BottomX"    "31462"
    Option    "BottomY"    "30089"
    Option    "MaxX"    "31462"
    Option    "MaxY"    "30089"
EndSection

Section "InputClass"
    Identifier "wizardpen ignore mouse dev"
    MatchProduct "THE NAME OF YOUR TABLET"
    MatchDevicePath "/dev/input/mouse*"
    Driver ""
EndSection

In my case the file is

Section "InputClass"
    Identifier "wizardpen"
    MatchProduct "UC-LOGIC Tablet WP8060U"
    MatchDevicePath "/dev/input/event*"
    Driver "wizardpen"
    Option    "TopX"    "2691"
    Option    "TopY"    "3249"
    Option    "BottomX"    "31462"
    Option    "BottomY"    "30089"
    Option    "MaxX"    "31462"
    Option    "MaxY"    "30089"
EndSection

Section "InputClass"
    Identifier "wizardpen ignore mouse dev"
    MatchProduct "UC-LOGIC Tablet WP8060U"
    MatchDevicePath "/dev/input/mouse*"
    Driver ""
EndSection

Restart X or restart your computer and that's all. MY TABLET WORKS!!! smile

I read somewhere else, I don't remember where, that you can set other match sentences for Xorg that do not work for me, for some reason this is false for my tablet so I did not use this but for you may work. Inside the "Section" -> "EndSection" you can try to put this "Match" sentences in case Xorg failed to recognize your device.

    MatchIsTablet "on"
    MatchVendor "UC-LOGIC|KYE Systems|Ace Cad"
    MatchDevicePath "/dev/input/by-id/usb-UC-LOGIC_Tablet_WP8060U-event-mouse"

The last one is obtained whit this command:

ls /dev/input/by-id

search for two devices, one called usb-name_of_your_tablet-event-mouse and other called usb-name_of_your_tablet-mouse, in my case the output of the "ls /dev/input/by-id" command is:

...
usb-UC-LOGIC_Tablet_WP8060U-event-mouse
usb-UC-LOGIC_Tablet_WP8060U-mouse
...

If you want to try you have to put those devices names in the right place, note that this not work for me. The file /etc/X11/xorg.conf.d/70-wizardpen.conf would be like this, remember to change the device path to match yours:

Section "InputClass"
    Identifier "wizardpen"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/by-id/usb-UC-LOGIC_Tablet_WP8060U-event-mouse"
    MatchVendor "UC-LOGIC|KYE Systems|Ace Cad"
    Driver "wizardpen"
    Option    "TopX"    "2691"
    Option    "TopY"    "3249"
    Option    "BottomX"    "31462"
    Option    "BottomY"    "30089"
    Option    "MaxX"    "31462"
    Option    "MaxY"    "30089"
EndSection

Section "InputClass"
    Identifier "wizardpen ignore mouse dev"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/by-id/usb-UC-LOGIC_Tablet_WP8060U-mouse"
    MatchVendor "UC-LOGIC|KYE Systems|Ace Cad"
    Driver ""
EndSection

Ok, I hope someone find this usefull, good luck!

Last edited by gooze (2010-06-25 18:55:18)


My language is spanish, sorry for my bad english.

Offline

#2 2010-06-26 10:20:31

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: Wizardpen and Xorg 1.8.1, Genius Tablet problem and solution

Thanks. That helped.

Offline

#3 2010-06-26 19:13:35

Kagarrache
Member
Registered: 2009-05-11
Posts: 3

Re: Wizardpen and Xorg 1.8.1, Genius Tablet problem and solution

Thanks a lot. It worked perfectly.

Offline

#4 2010-06-29 03:05:13

lauchazombie
Member
Registered: 2008-07-05
Posts: 25

Re: Wizardpen and Xorg 1.8.1, Genius Tablet problem and solution

Works really good, thanks a lot.

Offline

#5 2010-06-29 08:09:01

gooze
Member
Registered: 2007-01-31
Posts: 8

Re: Wizardpen and Xorg 1.8.1, Genius Tablet problem and solution

I'm glad I could help... thanks for your reply


My language is spanish, sorry for my bad english.

Offline

#6 2010-07-04 22:32:41

stibi
Member
Registered: 2006-10-10
Posts: 34

Re: Wizardpen and Xorg 1.8.1, Genius Tablet problem and solution

Looks good, but with my UC-LOGIC Tablet WP5540U don't work sad Any idea please ?

Offline

#7 2010-07-15 15:41:37

stibi
Member
Registered: 2006-10-10
Posts: 34

Re: Wizardpen and Xorg 1.8.1, Genius Tablet problem and solution

My problem solved.
Recompile wizardpen driver first! smile

Offline

#8 2010-11-09 00:54:18

akephalos
Member
From: Romania
Registered: 2009-04-22
Posts: 114

Re: Wizardpen and Xorg 1.8.1, Genius Tablet problem and solution

I updated the driver to the last version in AUR. It works without any configuration at me (no calibration or custom xorg.conf entries). I tried with xorg-server 1.9+ only, though.

Offline

Board footer

Powered by FluxBB