Click to See Complete Forum and Search --> : using aiptek tablet drivers
terpic
05-24-2004, 03:24 PM
I have an aiptek hyperpen 6000 and have downloaded the drivers from http://gug.sunsite.dk/tutorials/aiptek-howto/ the problem I have got is that the drivers are shared libraries and I don't know where to put them, i.e would they be copied to /etc/XF86config? I think I'm ok with adding to the /etc/XF86config but any advice from someone who has done it would be appreciated.
Thanks for any help you can give.
mdwatts
05-25-2004, 10:42 AM
Originally posted by terpic
The drivers are shared libraries and I don't know where to put them, i.e would they be copied to /etc/XF86config?
Libraries as in /usr/lib/<library name> or X configuration options you need to add to your X config file?
:confused:
terpic
05-25-2004, 02:47 PM
Sorry mdwatts I forgot the basics again, I downloaded xf86HyperPen-0.1.2.tar.gz and extracted it to a empty directory opened a shell cd'd to it and make, su -c "make install" and the driver is installed to /usr/X11R6/lib/modules (didn't need to do ./configure though)
I bet you'll be glad when I can do this without asking
Thanks for your help
mdwatts
05-25-2004, 02:58 PM
If 'make install' itself installed the required drivers to /usr/X11R6/lib/modules, then I would imagine all you need to do is modify your X config.
Ensure you make a backup copy of your X config before making any changes.
terpic
05-25-2004, 04:47 PM
I altered the XF86config file as the readme said (I copied and pasted to it) the only problem I had then was my box would only boot into console mode. I thought I was in trouble but went into root at init 3 and started sax2 and got back in and copied and pasted a backup copy of XF86config, and it seems to be working now, but not the tablet.
I don't know what went wrong but run level 5 kept failing, when I checked the file after running sax2 the lines:
Section "module"
load "hyperpen"
EndSection
had been removed so I assume this was the problem.
mdwatts
05-26-2004, 11:25 AM
Originally posted by terpic
I altered the XF86config file as the readme said (I copied and pasted to it) the only problem I had then was my box would only boot into console mode. I thought I was in trouble but went into root at init 3 and started sax2 and got back in and copied and pasted a backup copy of XF86config, and it seems to be working now, but not the tablet.
I don't know what went wrong but run level 5 kept failing, when I checked the file after running sax2 the lines:
Section "module"
load "hyperpen"
EndSection
had been removed so I assume this was the problem.
You should already have a "Module" section, so you don't need to create a new one. Just add
Load "hyperpen"
to your existing Module section such as
Section "Module"
Load "hyperpen"
Load "dbe"
Load "type1"
Load "speedo"
Load "freetype"
Load "extmod"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "glx"
EndSection
Did you add the next section for InputDevice?
Section "InputDevice"
Identifier "tablet"
Driver "HyperPen"
Option "Device" "/dev/ttyS0"
Option "Mode" "absolute"
Option "Cursor" "Stylus"
Option "XSize" "600"
Option "YSize" "450"
Option "AlwaysCore"
Option "BaudRate" "19200"
EndSection
And then since you will also already have a ServerLayout section, add
InputDevice "tablet"
as
Section "ServerLayout"
Identifier "Layout[all]"
Screen 0 "Screen[0]"
Screen 1 "Screen[1]" LeftOf "Screen[0]"
InputDevice "tablet"
InputDevice "Mouse[0]" "CorePointer"
InputDevice "Mouse[1]" "SendCoreEvents"
InputDevice "Keyboard[0]" "CoreKeyboard"
Option "Xinerama" "Off"
Option "Clone" "Off"
EndSection
Remember that those are my own Module and ServerLayout sections, so only add what is required to your own sections.
terpic
05-26-2004, 03:47 PM
Thanks, but just to clarify, the module and server layout items are added into the existing ones but the input device is added in as a new section, also will it make any difference where I put the new lines?
IE in module as below I could fit it in anywhere, say between freetype and dbe
Section "Module"
Load "v4l"
Load "extmod"
Load "type1"
Load "freetype"
Load "dbe"
Load "speedo"
Load "glx"
EndSection
mdwatts
05-26-2004, 04:39 PM
Originally posted by terpic
Thanks, but just to clarify, the module and server layout items are added into the existing ones but the input device is added in as a new section, also will it make any difference where I put the new lines?
The InputDevice section is correct and it doesn't matter where you insert in the module and server layout sections.
terpic
05-26-2004, 05:21 PM
Thanks mdwatts I'll give it a try tommorrow.
mdwatts
05-27-2004, 01:41 PM
Originally posted by terpic
Thanks mdwatts I'll give it a try tommorrow.
Glad we could help. Let us know if it works.
terpic
05-27-2004, 02:39 PM
Thanks again for your help the hyperpen seems to be working fine now, even in The Gimp like they said it would (it didn't last time I tried with the Gimp inwindows) Perhaps I'll post a "how I did it"
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.