Sunday, 10 January 2010

Ubuntu : Genius Pen F610

Thanks to this TabletSetupWizardpen I managed to get my pen configured and drawing. Yet I did stumble upon a a couple of issues. Here is how I managed it.

Oh and by the way, really the Genius Pen F610 is actually a WALTOP pen WALTOP International Corp. Slim Tablet.

You will find these steps will request you do steps in the "TabletSetupWizardpen" and then come back to this.


1) Using this guide, do the following steps under "Setting up your tablet".

1.1) Installing needed packages
1.2) Downloading and installing the driver ( You will need an Ubuntu Forum account)

Once completed and you wave the pen around, you may find your tablet workspace small or larger

2) Under step "Calibration" you may find "/dev/tablet-event" does not exist, here is how I found mine.
ls /dev/input/by-id/
Mine is (remember this for later steps in the guide)

When you run the command (Change the red )
sudo ./wizardpen-calibrate /dev/tablet-event
You may need to do this more than once and you need to click by pressing the "Mouse Pen" to the tablet or pad.

REMEMBER the this value for "Setting up X".

3) Follow "Setting up X" edit the xorg.conf with the following command
gksu gedit /etc/X11/xorg.conf

3.1) In the "ServerLayout" section, add the line just below your primary mouse0
InputDevice "WizardPen Tablet" "AlwaysCore"

3.2) I kinda copied pasted one of the template Section "InputDevice" and then changed it. Here is mine anyway
Section "InputDevice"
Identifier "WizardPen Tablet"
Driver "wizardpen"
Option "Device" "/dev/input/by-id/usb-WALTOP_International_Corp._Slim_Tablet-event-if00"
Option "TopX" "295"
Option "TopY" "210"
Option "BottomX" "20000"
Option "BottomY" "12500"
Option "MaxX" "20000"
Option "MaxY" "12500"

4) Follow step, "Making X start without a tablet connected" with the following command
gksu gedit /etc/rc.local
4.1) Verify the device line exists, change the text marked red, HINT : " ls /dev/input/by-id"
if [ -e /dev/tablet-event ]; then
sed -ie 's/^\(\s*\)\#\(\s*InputDevice\s\s*\"WizardPen\ Tablet\"\s\s*\"AlwaysCore\"\)\s*$/\1\2/' "$XORG_CONF"
echo "Udev created /dev/tablet-event = Tablet present! - Tablet-driver enabled"
sed -ie 's/\(^\s*InputDevice\s\s*\"WizardPen\ Tablet\"\s\s*\"AlwaysCore\"\)\s*$/\#&/' "$XORG_CONF"
echo "Udev did NOT create /dev/tablet-event = tablet NOT present! - Tablet-driver disabled"

5) Update your .fdi with the similar settings to InputDevice section above.
gksu gedit /etc/hal/fdi/policy/99-x11-wizardpen.fdi

6) Restart Xserver by typing
sudo service gdm restart
If you get problems starting your X server (Graphics system), you may need to reset your xorg.conf or restore your backup. For nvidia type

7) To get the mouse buttons working (Yet I could only get the mouse pen nib to only work) Type the following
xinput set-button-map "WizardPen Tablet" 1 3 2

Apparently there is meant to be 6 buttons when running the commands
 xinput list
And if want a summary of known X pointers type
xsetpointer -l

Final Thoughts
I can tell, open source community needs to improve a bit more on MousePen Pen drawing thingy Tablet gadget friendliness.

Keep pushing ahead and you will eventually get your MousePen work :) It took me 3 days of fiddling before I Finally figured it out. I even tried "wacom" drivers and they just crash the GUI so I had to remove the wacom.fdi file.

No comments: