As a lot of you would remember, HAL was dropped in favour of udev in Fedora 13. (More info here). I own a “UC-LOGIC Tablet WP5540U” which I had successfully configured on Fedora 12 using HAL. Since I upgraded, and the HAL configuration worked no more, a new configuration was needed. For those still on Fedora 12, you can refer to this awesome post to get your tablet working.

My post will describe the changes needed for Fedora 13.

Using wizardpen to get your tablet working on Fedora 13

  1. Please check the project page to see if your tablet is supported
  2. Download the rpm here (you can also download the srpm and rebuild it). I had added this patch to the SRPM that enables it to build correctly with xorg-1.7. ( I haven’t updated this in a while, maybe when I get more time)

Doing the work:

  1. As root, install the package using
  2. "yum install --nogpg packagename"
  3. Connect the tablet and run the following command to determine the name of the tablet
  4. cat /sys/bus/usb/devices/*/product
    
    [Ankur1@localhost ~]$ cat /sys/bus/usb/devices/*/product
    ....
    Tablet WP5540U
    .....
  5. We look for the event associated with the tablet
  6.  cat /proc/bus/input/devices 
    
    [Ankur1@localhost ~]$ cat /proc/bus/input/devices
    ....
    ...
    I: Bus=0003 Vendor=5543 Product=0004 Version=0100
    N: Name="UC-LOGIC Tablet WP5540U"
    P: Phys=usb-0000:00:1d.0-2/input0
    S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input8
    U: Uniq=
    H: Handlers=mouse2 event8
    B: EV=1f
    B: KEY=c01 3f0001 0 0 0 0
    B: REL=303
    B: ABS=100000f
    B: MSC=10
  7. Calibrate the tablet using:
  8.  wizardpen-calibrate /dev/input/event8 
    
    [Ankur1@localhost ~]$ wizardpen-calibrate /dev/input/event8
    ....
    Identifier	"WizardPen Tablet"
    Option	 "SendCoreEvents"	"true"
    Driver	 "wizardpen"
    Option	 "Device"	"/dev/input/event8"
    Option	 "TopX"	 "1535"
    Option	 "TopY"	 "3389"
    Option	 "BottomX"	"30238"
    Option	 "BottomY"	"29348"
    Option	 "MaxX"	 "30238"
    Option	 "MaxY"	 "29348"
    
  9. You now need to add a configuration file for Xorg for the tablet. You can refer to the Fedora Documentation on this. This is what my wizardpen.conf looks like:
  10. Section "InputClass"
        Identifier      "WizardPen Tablet"
        Driver          "wizardpen"
        MatchProduct    "Tablet WP5540U"
        MatchVendor     "UC-LOGIC"
        MatchDevicePath "/dev/input/event*"
        Option      "TopX"      "1535"
        Option      "TopY"      "3389"
        Option      "BottomX"   "30238"
        Option      "BottomY"   "29348"
        Option      "MaxX"      "30238"
        Option      "MaxY"      "29348"
    EndSection

    The values used in this are the ones that calibration gave us. Place this file in /etc/X11/xorg.conf.d (is this the right place?), log out and log back in (restart X) and your tablet should work.