G-Pen 560 on Ubuntu

G-Pen 560 on Jaunty

Update (11/04/2010) for Ubuntu 10.10 Maverick: I now got it to work in Maverick using the following steps:

  1. Install the xserver-xorg-input-aiptek package from Synaptic Package Manager
  2. Create a new file with gedit by starting the Run Application dialogue with Alt F2 and executing:
    gksudo gedit /lib/udev/rules.d/69-xserver-xorg-input-aiptek.rules
    note: you will be promted for your password
  3. Paste the following content into gedit, then save and close the file:
    ACTION!="add|change", GOTO="xorg_aiptek_end"
    KERNEL!="event[0-9]*", GOTO="xorg_aiptek_end"
    ATTRS{idVendor}=="08ca", ENV{x11_driver}="aiptek", SYMLINK+="input/aiptektablet"
    LABEL="xorg_aiptek_end"
  4. Create another file with gedit by starting the Run Application dialogue with Alt F2 and executing:
    gksudo gedit /usr/share/X11/xorg.conf.d/70-aiptek.conf
    note: you might be promted for your password again
  5. Paste the following content into gedit, then save and close the file:
    Section "InputClass"
    Identifier "aiptek"
    MatchProduct "Aiptek|AIPTEK|aiptek"
    MatchDevicePath "/dev/input/event*"
    Driver "aiptek"
    Option "SendCoreEvents" "true"
    Option "USB" "on"
    Option "Type" "stylus"
    Option "Mode" "absolute"
    Option "zMin" "0"
    Option "zMax" "1023"
    EndSection
  6. Restart your system and your tablet should be working

Update (11/11/2009) for Ubuntu 9.10 Karmic: In Karmic the .fdi files are still working dispite the deprecation of HAL but you’ll have to create/edit them again if you’ve upgraded from Jaunty. However the Wacom driver which I was using in Jaunty doesn’t work anymore. The Aiptek driver works but with poor pressure sensitivity support (To use the Aiptek driver follow the instructions I’ve updated at Ubuntu Community Documentation: Aiptek Tablet). I’m using the Wizardpen driver as the pressure sensitivity works much better (Download and install the Wizardpen driver for Karmic and follow the original instructions below).

I finally got my G-Pen 560 graphic tablet working on my Ubuntu Linux which at the time I write this is 9.04 Jaunty Jackalope, and you know what? It’s easy!
Update (7/29/2009): At the moment I’m using and recomending the Wacom driver. Skip the Wizardpen part and scroll down to read instructions on how to enable the Wacom driver for your tablet. Continue reading from here if you prefer to use the Wizardpen driver.

  1. Download the Wizardpen driver DEB package and install it on your system
  2. Create a new file with gedit by starting the Run Application dialogue with Alt F2 and executing:
    gksudo gedit /etc/hal/fdi/policy/gpen560.fdi
    note: you will be promted for your password
  3. Paste the following content into gedit:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <deviceinfo version="0.2">
    <device>
    <match key="info.product" contains="Aiptek">
    <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">185</merge>
    <merge key="input.x11_options.TopY" type="string">372</merge>
    <merge key="input.x11_options.BottomX" type="string">11811</merge>
    <merge key="input.x11_options.BottomY" type="string">8793</merge>
    <merge key="input.x11_options.MaxX" type="string">11811</merge>
    <merge key="input.x11_options.MaxY" type="string">8793</merge>

    <merge key="input.x11_options.TopZ" type="string">32</merge>
    <merge key="input.x11_options.MaxZ" type="string">1023</merge>
    <merge key="input.x11_options.BottomZ" type="string">1023</merge>

    </match>
    </device>
    </deviceinfo>

  4. Save the file and close gedit
  5. plug in (or re-plug in) your tablet and you should be done

Note that if you want to make use of pressure sensitivity you’ll have to configure it on the specific applications.
Also note that I haven’t figured out how to make the two buttons on the stylus work.

For other Wizardpen compatible tablets you’ll have to find out the right configuration for the .fdi file. Other than that it’s the same process. Consult the sources at the bottom of this article.

You could instead also use the Aiptek driver, or the Wacom driver, have a look at this Ubuntu forum post: Genius Mouspen 8×6 under Jaunty Jackalope. When I tried them, one of the stylus buttons worked as right click, but performance overall was not as good as with the wizardpen driver.

I’d recomend you to try the Wacom driver nevertheless to see for yourself, which one you prefer:

  1. Disable the .fdi file previously created so it doesn’t interfere with the Wacom configuration (only if you followed the instructions above about configuring the Wizardpen driver):
    Open nautilus with root priviledges by starting the Run Application dialogue with Alt F2 and executing:
    gksudo nautilus
    note: you will be promted for your password
    navigate to /etc/hal/fdi/policy/ and rename gpen560.fdi to gpen560.fdi.wizardpen
  2. Open the Wacom configuration file using gedit with root priviledges:
    gksudo gedit /usr/share/hal/fdi/policy/20thirdparty/10-wacom.fdi
    note: you will be promted for your password
  3. Change this line:
    <match key="info.product" contains="Wacom">
    to:
    <match key="info.product" contains_outof="Wacom;Aiptek">
  4. Save the file and close gedit
  5. plug in (or re-plug in) your tablet and you should be done

By the way the Windows driver is buggy and the driver for Mac doesn’t work, at least not for leopard. Update (7/29/2009): However, the guys at Genius sent me a link to a newer driver (probably beta) which does work for me. Try it!

Sources:

Ubuntu Community Documentation: Aiptek Tablet

Ubuntu Community Documentation: TabletSetupWizardpen
Ubuntu Community Documentation: Wacom
The Digital Blue Wave
Genius Mouspen 8×6 under Jaunty Jackalope
Genius G-Pen 560 under Ubuntu 10.04
Genius G-Pen 560 Tablet on Ubuntu Linux 8.10 Intrepid



5 Thoughts

  1. Ximo says:

    Could you update these instructions for 10.10? Back when I used Jaunty, these were the only ones that worked, and now I’m stuck with different kinds of problems whichever driver I choose to use. Thanks.

    • coCoKNIght says:

      Edit: Surprisingly I now just got it to work in Maverick, check out the updated post!
      Unfortunately I haven’t been able to get the tablet to work in later versions Actually. I also have a Wacom Bamboo Pen that I never got to work, and I must say this situation is quiet frustrating, I would go back to Jaunty if it weren’t for the graphic driver improvement in newer versions.
      I will update these instructions though, as soon as I get it to work (probably not before 11.04)
      If you find out something, please let me know. Thanks!

  2. Zarya says:

    Wowza, prolbem solved like it never happened.

  3. Thank you for creating this, with any luck , it will most likely come in handy down the line.

  4. [...] решение проблемы я нашел тут, на случай если этот сайт куда-то сгинет, продублирую [...]

Your Thoughts...


All content © Copyright 2014 by coCoKNIght.com
Subscribe to RSS Feed – Posts or just Comments

Child theme Cocoholic by coCoKNIght
Parent theme Workaholic by Graph Paper Press

Powered by WordPress
Hosted all by myself