Comment 37 for bug 744310

Revision history for this message
triple (triplevic) wrote : Re: Fingerprint Validity reader devices [138a:0005] VFS301 and [138a:0008] VFS300 not recognized.

It works!

My problem was that I had installed the fingerprint-gui package (from yaourt) that depends on libfprint, since, when I installed fingerprint-gui, linfprint be also installed.

I installed after fprint_demo from source code.

Then I installed the patch
$ patch -p1 < ~/Desktop/integrate_vfs301.patch
$ ./autogen.sh
$ make
$ sudo make install

but this did not replace the other libfprint (the lib from yaourt), then, when I execute sudo fprint_demo, it doesn't works. Why make install doesn't replace the other lib?

THE SOLUTION IS:

First install libfprint without driver for ID 138a:0005. (It's to compile fprint_demo)
sudo pacman -S libfprint

Now download fprint_demo (v 0.04) from http://sourceforge.net/projects/fprint/files/fprint_demo/v0.4/fprint_demo-0.4.tar.bz2/download uncompressed them.

Now compile fprint_demo
cd ~/fprint_demo-0.4
./configure
make
sudo make install

Now uninstall libfprint
sudo pacman -R libfprint

Now download fprint: http://cgit.freedesktop.org/libfprint/libfprint/snapshot/v_0_4_0.tar.gz
and download the driver https://github.com/andree182/vfs301/tarball/master
uncompressed them.
Now copy the files libfprint/vfs301.c cli/vfs301_*.* to
the libfprint directory libfprint/drivers

Then, apply the patch:
$ cd ~/v_0_4_0
$ patch -p1 < ~/Desktop/integrate_vfs301.patch
$ ./autogen.sh
$ make
$ sudo make install

Now copy /usr/local/lib/libfprint.so.0.0.0 to /usr/local/lib with the name libfprint.so.0
sudo mv /usr/local/lib/libfprint.so.0.0.0 /usr/lib/libfprint.so.0

then execute fprint_demo
sudo fprint_demo

and, IT WORKS!

Is there another way to solve my problem easier? I mean changing the makefile or something.