Validity Finger Print Service
=======================================
The Validity Finger Print Service daemon is used for authenticating user through a validity Fingerprint Sensor.

The Validity-Sensor_Setup_0.x.i586.rpm is provided with the Linux Distribution.

This RPM will provide the following
1. vcsFPServiceDaemon
2. driver for validity sensor
3. validity-sensor binary

Installation 
=============	
	rpm -Uvhi --nodeps Validity-Sesor_Setup_0.x.i586.rpm
	
	Restart the system once the installation is done. The vcsFPServiceDaemon will start running.

Installing libfprint and applying patch
=======================================
1. download  libfprint-0.0.6.tar.bz2 from http://sourceforge.net/projects/fprint/files/libfprint/v0.0.6/libfprint-0.0.6.tar.bz2/download
   and extract  to home folder
2. copy the libfprint-validity.patch to home folder
3. cd libfrpint-0.0.6
	sudo patch -p1 < <libfprint-validity.patch location>
4. once patch is done 
	sudo ./configure 
     
	If configure has any dependencies please install them.
	Usual requirements are

	a. cmake - from Install Software menu option
	b. gcc  -  installs gcc version 4.3.2 (rev 141291)
		glibc-devel-2.9-2.3
	c. gcc43-c++ - from Install Software menu option
	d. gcc-c++
	e. libusb-1_0-0-devel (not the legacy version)
	f. libusb-compat-devel
	g. libopenssl-devel
	h. ImageMagick-devel
        
5.sudo make 
6.cd examples 
7.sudo make
8. Run the sample applications enroll and veify with super user prevelage.

Troubleshoot:-
==============

If you encounter any problem with the fingerprint sensor, try restarting the vcsFPServiceDaemon using the below steps.

To stop vcsFPServiceDeaemon from yast
Yast->System->System Services ( Runlevel Services)->vcsFPServiceDaemon->Disable

To start vcsFPServiceDaemon from yast
Yast->System->System Services ( Runlevel Services)->vcsFPServiceDaemon->Enable 
	   
To stop vcsFPServiceDaemon from terminal
./etc/init.d/vcsFPServiceDaemon stop
		
To start vcsFPServiceDaemon from terminal
./etc/init.d/vcsFPServiceDaemon start
		
If problem still persists try restarting the system

validity-sensor
==========================

Usually validity-sensor will be run on first boot and is not needed by the user again.
It is to be used only if there is trouble using sensor for the first time.
It switches any unsecured sensor present on the computer to secure mode and will take 2-5 minutes to complete.
Run it with below command
./usr/sbin/validity-sensor setowner -doinit
If your still facing any trouble using the sensor please reset the sensor from bios and try setting it again.

Note:-
1.validity daemon should NOT be running when this command is invoked.
2.validity-sensor will fail if sensor is already in secure mode but doesnt change anything.
3. If any error like "Open Sensor Failed" occurs, please rerun the validity-sensor as mentioned above

Help
==========================
For any queries please visit www.validityinc.com

