DigiPro drawing tablet on Fedora 12
I just bought a DigiPro 5″/4″ drawing tablet to run with my Fedora 12. When plugging it in, the system recognized it, but every time I touched the tablet with the stylus pen, the cursor went to the upper left corner. Clicks worked OK, but it looked like the system needed to know the tablet’s dimensions.
To the system, this tablet is UC-LOGIC Tablet WP5540U. How do I know? Because when I plug it in, /var/log/messages gives:
Jun 29 19:49:06 big kernel: usb 6-1: new low speed USB device using uhci_hcd and address 5 Jun 29 19:49:06 big kernel: usb 6-1: New USB device found, idVendor=5543, idProduct=0004 Jun 29 19:49:06 big kernel: usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Jun 29 19:49:06 big kernel: usb 6-1: Product: Tablet WP5540U Jun 29 19:49:06 big kernel: usb 6-1: Manufacturer: UC-LOGIC Jun 29 19:49:06 big kernel: usb 6-1: configuration #1 chosen from 1 choice Jun 29 19:49:06 big kernel: input: UC-LOGIC Tablet WP5540U as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/input/input9 Jun 29 19:49:06 big kernel: generic-usb 0003:5543:0004.0005: input,hidraw1: USB HID v1.00 Mouse [UC-LOGIC Tablet WP5540U] on usb-0000:00:1d.0-1/input0
To get it going, I followed the solution in Fedoraunity (which requires registration to access, would you believe that!)
First, I downloaded the wizardpen RPM package from here.
And installed it:
# rpm -i wizardpen-0.7.0-0.fc12.x86_64.rpm
And then ran the calibration utility. To some this goes with /dev/input/event8, just play with the numbers until hitting gold:
# wizardpen-calibrate /dev/input/event6 Please, press the stilus at ANY corner of your desired working area: ok, got 1928,3766 Please, press the stilus at OPPOSITE corner of your desired working area: ok, got 30360,28914 According to your input you may put following lines into your XF86Config file: Driver "wizardpen" Option "Device" "/dev/input/event6" Option "TopX" "1928" Option "TopY" "3766" Option "BottomX" "30360" Option "BottomY" "28914" Option "MaxX" "30360" Option "MaxY" "28914"
Now, one of the side effects of installing the wizardpen RPM package was that it created a file: /etc/hal/fdi/policy/99-x11-wizardpen.fdi which is a HAL fdi file. If you’ve edited an xorg.conf file, that should be old history. Instead of the mumbo-jumbo above, there is a new mumbo-jumbo, which is supposed to work even if the device is hotplugged. No need to restart X for new devices! Hurray!
So I downloaded the recommended XML file from here, modified the variables according to my own calibration, and saved the following as /etc/hal/fdi/policy/99-wizardpen.fdi (and trashed the previous file. The names are slightly different, who cares).
<?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <!-- This MUST match with the name of your tablet --> <match key="info.product" contains="UC-LOGIC Tablet WP5540U"> <merge key="input.x11_driver" type="string">wizardpen</merge> <merge key="input.x11_options.SendCoreEvents" type="string">true</merge> <merge key="input.x11_options.TopX" type="string">1928</merge> <merge key="input.x11_options.TopY" type="string">3766</merge> <merge key="input.x11_identifier" type="string">stylus</merge> <merge key="input.x11_options.BottomX" type="string">30360</merge> <merge key="input.x11_options.BottomY" type="string">28914</merge> <merge key="input.x11_options.MaxX" type="string">30360</merge> <merge key="input.x11_options.MaxY" type="string">28914</merge> </match> </device> </deviceinfo>
According to the reference mentioned above, there’s a need to relogin. It turns out that replugging the tablet to the USB jack is enough to get it up and running OK.
To make GIMP respond to pressure sensitivity, set up the input device as follows: Edit > Preferences > Input Devices, press Configure Extended Input Devices. Under Devices find the tablet’s name, and choose the mode to Screen.
Reader Comments
Bulls Eye!! That was the shortest possible setup.
Thanks a ton..