Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[resolved, wontfix] Gentoo & Aiptek Hyperpen tablet
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
escitalopram
n00b
n00b


Joined: 05 Feb 2004
Posts: 60

PostPosted: Mon Mar 05, 2007 5:53 am    Post subject: [resolved, wontfix] Gentoo & Aiptek Hyperpen tablet Reply with quote

Hi.
I'm wondering if anyone is successfully using an Aiptek tablet (usb version) with Gentoo, because I could desperatly need some advice on how to get it working.

I'm using a 2.6.20.1 stock kernel. The aiptek module reports no error and registers an event device, the tablet blinks, the size is recognized correctly, but the driver gets no events. If I remember correctly there's some tweak in sysfs which can help, but I last used the tablet back in the XFree86 days, when there was this fabulous driver at http://aiptektablet.sourceforge.net/, but they haven't had a release in the last 3 years, and their gaiptek-program which I used earlier doesn't compile and I don't know what to do.

The aiptek-driver in xorg also sucks, because it crashes whenever I want to switch to another virtual console, the same problem also appeared in the XFree86 days, but then I could go download the aiptektablet-driver which worked, which I seemingly cannot do now
_________________
http://www.blasphemie.at/


Last edited by escitalopram on Sat Mar 10, 2007 1:06 am; edited 1 time in total
Back to top
View user's profile Send private message
escitalopram
n00b
n00b


Joined: 05 Feb 2004
Posts: 60

PostPosted: Sat Mar 10, 2007 1:05 am    Post subject: Reply with quote

Just in case anyone interested comes here via google or something:

ATM the drivers are totally unusable. If you go to aiptektablet.sf.net, do not download the release version. It's ancient and dysfunctional. If you want to play with the code, you can check it out it from their SVN-Repository. If you need any help, have a look at the project mailing lists, the only thing at aiptektablet.sf.net besides the SVN-Repo which is not ancient and dead.
_________________
http://www.blasphemie.at/
Back to top
View user's profile Send private message
Eisenjade
n00b
n00b


Joined: 19 Mar 2004
Posts: 6

PostPosted: Tue Mar 13, 2007 9:38 am    Post subject: Reply with quote

I got it working.

Kernel 2.6.19-r4 with the most recent (CVS) aiptek kernel driver from
http://aiptektablet.svn.sourceforge.net/

and the most recent Xdrivers from the same source.
Pressure sensitivity and everything. I just put the into the respective work dirctory, recompiled them and put the executable into the respective X directory.

The following parts to xorg.conf
Section "InputDevice"
Identifier "stylus"
Driver "aiptek"
Option "Device" "/dev/input/aiptektablet"
Option "Type" "stylus"
Option "Mode" "absolute"
Option "PressCurve" "0,5,95,100"
Option "KeepShape" "on"
Option "zMin" "0"
Option "zMax" "512"
Option "USB" "on"
Option "Cursor" "stylus"
Option "BaudRate" "19200"
Option "debuglevel" "5"
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "aiptek"
Option "Device" "/dev/input/aiptektablet"
Option "Type" "cursor"
Option "Mode" "absolute"
Option "PressCurve" "0,5,95,100"
Option "KeepShape" "on"
Option "zMin" "0"
Option "zMax" "512"
Option "USB" "on"
Option "Cursor" "puck"
Option "BaudRate" "19200"
Option "debuglevel" "5"
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "aiptek"
Option "Device" "/dev/input/aiptektablet"
Option "Type" "eraser"
Option "Mode" "absolute"
Option "PressCurve" "0,5,95,100"
Option "KeepShape" "on"
Option "zMin" "0"
Option "zMax" "512"
Option "USB" "on"
Option "Cursor" "stylus"
Option "BaudRate" "19200"
Option "debuglevel" "5"
EndSection

plus the following udev rule
# Create /dev/input/aiptektablet
BUS=="usb", SYSFS{idVendor}=="08ca", KERNEL=="event[0-9]*", \
SYMLINK+="input/aiptektablet"

make sure that you enable all the important settings in the kernel config (events an so on)

Good Luck
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum