| tabby v1.1 | ||||||||||
| About | ||||||||||
|
This program provides an X-Windows driver for the original Tabby graphics tablet. It
runs as a stand-alone program and generates pointer and button events using the
Xtest API. As a result it should run on pretty much any Unix/X11 computer that
has a serial port.
The latest version of this program can be found on the tabby homepage. Comments are welcome, please send email to ahajnal@interport.net. |
||||||||||
| Background | ||||||||||
| The Tabby graphics tablet was produced by a British (?) company, Micrograf International, in the early 90s. It connected to the serial port on Atari ST series computers. Versions may have been produced for other platforms as well. A description of the serial protocol can be found here. An updated version, the Tabby 2, was later produced. It used a different protocol. Windows drivers for the Tabby 2 are available on the net. As far as I know there are no Unix drivers for the Tabby 2. | ||||||||||
| Usage | ||||||||||
The tabby program runs from the commandline and takes as a single argument
the path to the serial port that the tablet is attached to. To install, type
"make install" (without the quotes) or simply copy the tabby binary to some-
where in your path (e.g. /usr/local/bin). To start the driver, type:
tabby PORTPORT is the path to the serial port (e.g.
"/dev/ttyS0" or "/dev/ttyUSB0").
|
||||||||||
| Building from source | ||||||||||
To build the tabby binary, simply run "make". You will need gcc and X11
headers (including those for the Xtest extension). You can edit the Makefile
if you need to change the compiler or header locations. You may also need to
specify your X11 header location by adding, for example, "-I/usr/X11R6/include"
to the compiler commandline.
|
||||||||||
| Tuning the driver | ||||||||||
|
Although the driver works well for the tablet that I own, it may need some
adjustments for optimal performance with other tablets. In the source, there
are five main parameters that can be changed, three of which affect the
proximity sensor and two of which affect the position sensor. If you change
these values you will need to recompile the program before they take effect.
Since there is not a lot of precision in the proximity data a running average is used to improve the resolution of the proximity sensor. Unfortunately, the data is only accurate down to about a centimeter so some tricks (such as a weighted average) are used to reduce positional jumps when the stylus is raised and lowered. The tunable parameters are:
|
||||||||||
| Troubleshooting | ||||||||||
If only the right side of the tablet appears to be working, the serial port
might not be in raw mode. To switch to raw mode, run the following before
starting tabby:
stty -F PORT raw 9600PORT is the path to the serial port (e.g. "/dev/ttyS0" or "/dev/ttyUSB0").
|
||||||||||
| Bugs | ||||||||||
|
||||||||||
| History | ||||||||||
|
||||||||||
| License | ||||||||||
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License
as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
|
Copyright © 2005 Alexander Hajnal