Touch screen driver installation for i686/x86_64
Ubuntu 10.10~16.04
Fedora 13~23
CentOS 6.2~7.0
RHEL 6.2~7.0
openSUSE 11.3~13.2
Debian 7~8
Slackware 14.0~14.1
(C) 2016 Vicki Chen

==============================================================================
Installation Notes
==============================================================================
I. Installation Notes for RS232 touch interface

Install Kernel Headers on Debian, Ubuntu
# sudo apt-get install linux-headers-$(uname -r) 

Install Kernel Headers on Fedora, CentOS or RHEL
# yum install kernel-devel-$(uname -r)

Install Kernel Headers on OpenSUSE
Use YaST's software management tool to install kernel-devel .

Note.
If the kernel header files installed by the above command do not match with your current kernel, 
this is because your kernel is outdated. 
In this case, You need to update your kernel to the latest . 
You will need to reboot after updating the kernel.

==============================================================================
QUICKSTART GUIDE
==============================================================================
I. Installsation guide

*Install Touch Driver on Fedora,CentOS,RHEL,OpenSUSE,Debian
1. Open terminal

2. Login as root user
# su

3. Execute setup.sh
# sh setup.sh

4. reboot
==============================================================================
Fedora 22 or later :
You must login as root user,
You need to add a new user and grant root privileges 
or grant root privileges to an existing user.

1.
Use the following commands to create the new user :
# useradd -ou 0 -g 0 [username]
# passwd [username]

Example:  to create the new user john and permissions as root.
# useradd -ou 0 -g 0 john
# passwd john

or

Grant root privileges to an existing user :
# grep john /etc/passwd
john:x:1001:1001::/home/john:/bin/sh

Edit /etc/passwd file and grant root permissions to the user john 
by changing User and Group IDs to UID 0 and GID 0 :
# $ grep john /etc/passwd
john:x:0:0::/home/john:/bin/sh

2. reboot
3. login as root user john
==============================================================================

*Install Touch Driver on Ubuntu
1. Open terminal

2. Execute setup.sh
# sudo sh setup.sh

3. reboot

==============================================================================
Utility
==============================================================================
1. Open terminal

2. Login as root user
# su

3. Open touch utility.
# touch_utility

==============================================================================
Create System Image
==============================================================================
If you need to create a system image and restore to new computer,
You don't want to reinstall the touch driver and want to keep touch screen settings,
Before creating the system image by following these steps:

Fedora,CentOS,RHEL,OpenSUSE,Debian
1. Open terminal

2. Login as root user
# su

3. Open touch utility.
# rm /etc/tpinit

Ubuntu
1. Open terminal
2. Open touch utility.
# sudo rm /etc/tpinit
