Promac

From Bashlinux
Jump to: navigation, search

Since the thin client doesn't have the kernel headers to compile the drivers, and also there is no space to install a big file, is necessary to compile them on a remote host and then install the compiled files on thin client.

To run any executable from USB device is necessary to remount the partition and let the drive has the necessary permissions to read, write and execute files, also these steps are included in this document.

How to get the sources for Promac driver

cd Linux/Debian

How to setup Promac driver on Debian

  • Copy Debian.k26.tar.gz into Debian host
#scp Debian.k26.tar.gz user@debianhost:
  • Decompress file
# tar zxvf Debian.k26.tar.gz
  • Change to sub-directory to touchkit.k26/include
# cd touchkit.k26/include
  • Run command
# make new
  • Go one directory level up
# cd ../
  • Build all
# make all
  • Install the binaries
# make install
  • Allow binaries to be executed from USB device
# mount -o remount,exec,rw /media/usbdisk

How to calibrate the Promac driver

  • Go into diagnostic folder
# cd /media/usbdisk/touchkit.k26/diag/bin/
  • Run calibration program for 25 and 4 screen points
# ./4pcal /dev/ttyS0 ./25pcal /dev/ttyS0
  • Run the test program
# ./drawtest /dev/ttyS0