Saturday, September 27, 2014

Problems and their solutions: VSF5011 Finger Print Reader Installation Dell Vostro 3550 and others.


It's really easy to install this library.
1. Install al needed packages: (list may be changed)
:~$ sudo apt-get install libperl-dev libgtk2.0-dev libusb-1.0-0-dev libnss3-dev
2. Download full source tree archive: https://github.com/ars3niy/fprint_vfs5011/archive/master.zip:
3. Unzip archive:
:~$ unzip ./master.zip
4. Open unziped folder:
:~$ cd ./fprint_vfs5011-master
5. Configure
:~$ ./configure
6. Make package
:~$ make
7. Install package
:~$ sudo make install
8. Install fprint demo
:~$ sudo apt-get install fprint-demo fprintd fprintd-doc libfprint0
9. Invoke fprint demo with root privileges
:~$ sudo fprint_demo

On following the steps many errors were encountered. Such encounters and the counter measures are listed below.

Problem: ./configure: command not found
Solution: bash autogen.sh

P: libtoolize: command not found
S: sudo apt-get install libtool

P: aclocal:command not found
S: apt-get install automake

P: configure: error: XV is required for X11 examples
S: sudo apt-get install xorg-dev

P: make error:  underfined reference to variable g_str_equal
downlaod the .patch and then run it using the command
patch < /home/karthik/Downloads/link-against-glib.patch


Finally installing the Fingerprint GUI

if “could not open fingerprint device permission problem”
then $ sudo fingeprint-gui

To add fingerprint verficatio to login screen
sudo add-apt-repository ppa:fingerprint/fprint
sudo apt-get install libpam-fprintd

$ grep fprint /etc/pam.d/common-auth
The needed lines in common-auth should now be present.
Result:
auth    [success=2 default=ignore]      pam_fprintd.so
Run:
fprintd-enroll
To eliminate fingerprint authentication from the display manager login do the following.
sudo cp /etc/pam.d/common-auth /etc/pam.d/common-auth-nofinger
sudo gedit /etc/pam.d/common-auth
and comment out the line
“auth [success=3 default=ignore] pam_fprintd.so"
Save and Quit

At last, after a gruelling 4Hrs of key clicking, it’s done. Authentication to all ‘sudo’ commands now possible through a simple finger print scan. Linux, you just made by day. Good for me. Now let the world enjoy this.


No comments:

Post a Comment