Node:Device Support, Next:, Previous:Bugs, Up:Top



Device Support

To run the serial or PS/2 devices you only need the information in this section. To run the USB device you also need to load the kernel module, described under See Usb Driver, later in this file.

Support for all three device flavors is implemented by means of xf86Gunze.c, a module for XFree86.

The driver has been used under XFree86 version 3.3.6 and version 4.0.1.

In order to use the touch screen in X, you should install in your system the "xf86Gunze" module, part of this distribution.

The compiled module (xf86Gunze.so for XFree86 3.3 or gunze_drv.o for XFree86 4.0) should go in the module directory of your X server, usually /usr/X11R6/lib/modules for XFree86 3.3 or /usr/X11R6/lib/modules/input for XFree86 4.0. When the file is in place, a proper XF86Config will arrange for its loading.

In order to compile the module for different version of the XFree86 systems you need access the source tree and compile using there commands:

make XFREE33SOURCE=<location-of-source> xf86Gunze.so
make XFREE40SOURCE=<location-of-source> gunze_drv.o

The "location of source" above should be the full path name to the directory called "xc" after you uncompress the source tar file.

Both XFREE33SOURCE and XFREE40SOURCE can be defined in your environment. Also, calling make without arguments will compile both modules.

To compile gunzets you'll most likely need to compile X first (by issuing make World and waiting a huge lot of time). A freshly uncompressed source tree lacks the proper header files for compilation to succeed; since one of the errors happens inside an X header, you can only fix it by compiling X first).