Difference between revisions of "HIP:LittleFe Touchscreen Display"

From Earlham CS Department
Jump to navigation Jump to search
(Inch TFT Touchscreen LCD Monitor)
(7 Inch TFT Touchscreen LCD Monitor)
Line 1: Line 1:
 
=Equipment=
 
=Equipment=
  
==7 Inch TFT Touchscreen LCD Monitor==
+
=7 Inch TFT Touchscreen LCD Monitor=
  
===Installation on the BCCD Version 3===
+
==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.
 
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.
  
Line 19: Line 21:
  
 
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.
 
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 [http://wiki.linuxquestions.org/wiki/EGalax_Touchscreen 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
 +
 +
<pre>uname -r</pre>
 +
 +
If you are running version 2.6.22.9_aufs the source tree can be downloaded [http://cluster.earlham.edu/detail/bccd-ng/linux-2.6.22.9_aufs.tar.bz2 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.
 +
 +
<pre>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
 +
 +
<pre>make oldconfig
 +
 +
make prepare
 +
 +
make modules SUBDIRS=scripts/mod
 +
</pre>
 +
 +
Now enter the USBsrc folder and edit the Makefile, changing
 +
 +
<pre>KDIR := /lib/modules/$(shell uname -r)/build</pre>
 +
 +
to
 +
 +
<pre>KDIR := /usr/src/linux</pre>
 +
 +
<pre>make all</pre>
 +
 +
When make suceeds, you must copy the newly compiled module over to /lib/modules.
 +
 +
Then
 +
 +
Now edit the Makefile in USBsrc and change
 +
 +
<pre>
  
 
Now that you have run the setup script, copy the Touchkit.tar.gz tarball and name it Touchkit-driver.tar.gz
 
Now that you have run the setup script, copy the Touchkit.tar.gz tarball and name it Touchkit-driver.tar.gz
Line 29: Line 72:
 
</pre>
 
</pre>
  
cd into the extracted folder.
+
cd into the extracted folder, and enter USBsrc.
  
 
==OutBack Powersystems MATE==
 
==OutBack Powersystems MATE==

Revision as of 12:37, 13 May 2009

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

<pre>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
make all

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

Then

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

cd into the extracted folder, and enter USBsrc.

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.