HIP:LittleFe Touchscreen Display

From Earlham CS Department
Revision as of 12:41, 13 May 2009 by Purcebr (talk | contribs) (Install the Kernel Module)
Jump to navigation Jump to search

Equipment

7 Inch TFT Touchscreen LCD Monitor

Installation on the BCCD Version 3

Get the tarball and configure the system

This section is describes the steps required to set up the TouchKit Drivers on the Debian-based BCCD platform. The software included with the unit is totally out of date, and there website hosts conflicting drivers, so watch out.

To get the good drivers, go to eGalax TouchKit Drivers Choose your appropriate kernel type. To check to see which kernel version you're using, type

uname -r

Now that the tarball has downloaded, de-tar it. Upon entering the newly unzipped directory, you should see a script named setup.sh

sudo ./setup.sh uninstall

Next install the software

sudo ./setup.sh

This script takes care of the X configuration. It does not install the driver, although it likes to pretend that it does. You will have to do this manually.

Install the Kernel Module

Much of these directions come from eGalax Touchscreen on linuxquestions.org First of all, you're going to need the kernel source for the machine on which you are configuring the touchscreen. This needs to be the exact source tree. Again, you can check the kernel version by typing

uname -r

If you are running version 2.6.22.9_aufs the source tree can be downloaded here

extract the source to /usr/src

To make your life easier, make a sym link linux linking to linux-2.6.* for your version.

ln -s /usr/src/linux-2.6.22.9_aufs /usr/src/linux

enter the /usr/src/directory, and prepare the source to compile a module

make oldconfig

make prepare

make modules SUBDIRS=scripts/mod

Now enter the USBsrc folder and edit the Makefile, changing

KDIR := /lib/modules/$(shell uname -r)/build

to

KDIR := /usr/src/linux

now run

make all

When make succeeds, you must copy the newly compiled module over to /lib/modules.

Then test to see everything is working. Make sure the touchscreen is not plugged in the USB ports, and load the module

insmod /lib/modules/tkusb.o

Now plug in the touchscreen. When you run

cat /proc/bus/usb/devices

You should see an entry representing the touchscreen. The important field to note is

Driver=Touchkit

If you see this field, then the driver installation went smoothly.

Set up the touchscreen to control the mouse

Now edit the Makefile in USBsrc and change

 

Now that you have run the setup script, copy the Touchkit.tar.gz tarball and name it Touchkit-driver.tar.gz

now extract Touchkit-driver.tar.gz

<pre>gunzip Touchkit-driver.tar.gz

tar xvf Touchkit-driver.tar

OutBack Powersystems MATE

  • The MATE system installed in the display case on the first floor of Dennis has a serial interface. This project will aim to connect solar power generation data to the infobomb system.

LittleFe

  • This data will then be visualized in real time on the littlefe.
  • The touch screen monitor will be connected to the little fe.