Installing and Configuring MicroTouch USB device
on Linux console and XFree 4.0.x


Look at
New
Version

XFree ver. 4.0.x has support for Microtouch touchscreen devices, but only for devices connected via serial ports, unfortunately the one which I had to use was connected via USB port.
Most of files needed has been prepared by Radoslaw Garbacz from IT Experts Sp. z o.o..
I am not author of these drivers and I did not modify packages which you will use.
I am only user of these files.

To use MicroTouch USB with console or XFree 4.0.x you have to load few kernel modules, but at first you have to download touchscreen driver written by Radoslaw Garbacz (IT Experts sp. z o.o.) and compile sources:

/bin/tar zxvf touchscreen-module-only.tgz
cd touchscreen-module-only
/usr/bin/make
/bin/cp -v touchscreen.o /lib/modules/`uname -r`/kernel/drivers/usb
/sbin/depmod -a

If you want to use your touchtablet under console or X sessions you have to install and run gpm package modified by ite.pl. You can also download source of this gpm package and compile it by yourself.

/bin/rpm -Uvh gpm-1.19.1-2.i386.rpm

To use MicroTouch USB tablet with XFree 4.0.x you need gpmsumma_drv.o which can be download from http://www.hof-berlin.de/tablet/tablets.html or here (this one has been compiled under XFree86 v.4.0.2).

Now you have all necessary file. It's time to make few device files:

/bin/mkdir /dev/input
/bin/mknod /dev/input/mt c 180 48
/bin/rm /dev/mouse
/bin/ln -s input/mt /dev/mouse

And now you can load usb kernel modules. I use this commands:

/sbin/modprobe usbcore
/sbin/modprobe evdev
/sbin/modprobe input
/bin/usleep 200;
/sbin/modprobe touchscreen
/bin/sleep 2;
/sbin/modprobe usb-uhci

Delays (/bin/sleep and /bin/usleep) are needed, because we have to take a bit of time for initialization devices and modules.

If you want to use your touchtablet under console or X sessions you have to install and run gpm package modified by ite.pl. You can also download source of this gpm package and compile it by yourself.

/bin/rpm -Uvh gpm-1.19.1-2.i386.rpm
/usr/sbin/gpm -Rsumma -t usbmt

Now, you should be able to use your touchtablet under console.
If you can't you should try load usb-ohci or uhci instead usb-uhci kernel driver and run gpm again.

To use MicroTouch USB tablet with XFree 4.0.x you also need driver which works with gpm. Such a driver is available here and here (compiled for XFree 4.0.2).
Now, copy this driver (gpmsumma_drv.o) to /usr/X11R6/lib/modules/input.

/bin/cp -v gpmdumma_drv.o /usr/X11R6/lib/modules/input

And add this lines to your XF86Config (usually in /etc/X11).
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "gpmsumma"
    Option      "Type"          "finger"
    Option      "Device"        "/dev/gpmdata"
    Option      "Mode"          "Absolute"
    Option      "Cursor"        "Puck"
EndSection

You also have to change one line in ServerLayout section in XF86Config. It should looks almost like this now:
Section "ServerLayout"
...
    InputDevice "Mouse1" "CorePointer"
...
EndSection

If you have done everything corectly you should be able to use you touchtablet as well under console as in X sessions.

Have a lot of fun...


This page has been visited +2400 times. :-)

Made by anowak (Do NOT use this email for spaming!!!
If you send me any message not about microtouch
I'll send you it back to you 10 times
You send spam at your own risk !!!)
(Prosze nie wysylac spamu na ten adres!!!
Jesli otrzymam wiadomosci nie zwiazane z microtouch,
odesle je spowrotem 10 krotnie
Wysylasz spam na wlasne ryzyko!!!