AiptekTablet

Differences between revisions 1 and 2
Revision 1 as of 2006-03-29 05:19:26
Size: 4705
Editor: 203-214-140-27
Comment: Added info about the AiptekTablet and its generics.
Revision 2 as of 2006-06-19 16:07:22
Size: 56
Editor: 127
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= The AiptekTablet =

== Introduction ==

This wiki contains information about the aiptek-based tablet.

This tablet is also known as a Dolphin, Medion (Aldi tablet) and other generic brands. This wiki is for the USB one which uses the module "aiptek" for linux and X11, not to be confused with the older serial-based hyperpen module.

The support for this tablet is very flaky in ubuntu hoary, breezy and possibly dapper, but it is possible to get half-working. Ubuntu does have the module in the kernel and the X11 driver, but they don't work very well and need to be replaced with the ones from CVS (especially the xorg driver). The unified_package is too out of date and should not be used at all.

== How to set it up ==

This tablet is a little tricky to set up, but this is what I have done to get it to work at least in wine photoshop 7:

1) In your xorg.conf, put the following in under where your other input device entries are:
{{{
Section "InputDevice"
  Identifier "pen"
  Driver "aiptek"
  Option "Device" "/dev/input/eventX"
# Option "Device" "/dev/input/aiptektablet"
  Option "Type" "stylus"
  Option "Mode" "absolute"
  Option "Cursor" "stylus"
  Option "PressCurve" "0,5,95,100"
  Option "zMin" "0"
  Option "zMax" "512"
  Option "zThreshold" "0"
  Option "USB" "on"
  Option "KeepShape" "on"
  Option "AlwaysCore" "on"
EndSection
}}}
Then also under Section "ServerLayout" right at the bottom, put:
{{{
InputDevice "pen" "SendCoreEvents"
}}}
In there, and for your mouse (probably "Configured Mouse" make sure it's set to "CorePointer".

I am not sure if you need all of these or if they're correct (like the AlwaysCore option I have no idea what this does and SendCoreEvents) but it somewhat works for me. I believe one of these options could be the cause as to why xorg doesn't load with the tablet not plugged in.
For "/dev/input/eventX", please set this to whatever event is used for the tablet. A better way is to make a udev rule entry so it isn't a random event but rather something like "/dev/input/aiptektablet". This is discussed under the Issues section of this Wiki.

2) Make sure the aiptek module is loaded (and the tablet is plugged in!), check by going either:
{{{
dmesg |grep aiptek
or
lsmod |grep aiptek
}}}
if not, try a sudo modprobe aiptek

3) Restart X by going ctrl+alt+backspace, with your fingers crossed :) if this is possible...

4) PROFIT!

If the tablet plays around like the "absolute" option isn't all that "absolute" to your screen, or pressure sensitivity doesn't work at all, try using the aiptek CVS as there is a newer module to update for kernel 2.4.x and 2.6.x as well as an imake for the xserver driver (this might mean trouble for the new modular xorg7). If you can't compile it like me (it compiles on fedora core and opensuse just fine with the right stuff installed) then try to copy the pre-made driver out of the unified package.

== Issues ==

1) Once pressure-sensitivity is enabled, programs such as The Gimp (with it enabled in preferences) have a weird bug where the tablet has locked focus and never registers that the pen is off of the tablet, thus locking up the mouse from anything else and will continue to draw forever unless The Gimp is killed. I hope this is just an issue with Gnome/TheGimp and a later version fixes this (I've only tested the one which came with breezy). Krita also plays up with pressure sensitivity but not in the same way, but I haven't really tested this program all that much. Photoshop 7 under wine/crossover office works perfectly with this tablet and sensitivity.

2) When the tablet isn't plugged in, xorg will fail to start due to no /dev/input/eventX being listed. Is there a way so that xorg can just ignore this entry and start without it? When there's no keyboard and mouse it doesn't halt this way.

3) In the old unified_package, there is an entry for hotplug information so that it makes a /dev/input/AiptekTablet rather than a random /dev/input/eventX point (very good for xorg to find it with this entry instead of manually editing the xorg.conf when there's another input device plugged in and changes the aiptek's event number). But I believe hotplug has been replaced with udev/hal/etc.? There needs to be a rule now which detects the tablet info and creates the right device entry. I'll try to create one and contribute it to dapper with this info: http://www.reactivated.net/udevrules.php

== Links ==

http://sourceforge.net/projects/aiptektablet Sourceforge Page

http://aiptektablet.sourceforge.net/ Outdated Home Page

http://sourceforge.net/cvs/?group_id=75377 CVS

CategoryDocumentation CategoryCleanup
#REFRESH 0 http://help.ubuntu.com/community/AiptekTablet

AiptekTablet (last edited 2008-08-06 16:26:11 by localhost)