Added support for Validity VFS101
USB ID 138a:0001
This commit is contained in:
parent
a3ae96c214
commit
d2e957683f
5 changed files with 1594 additions and 1 deletions
13
configure.ac
13
configure.ac
|
@ -20,7 +20,7 @@ AC_SUBST(lt_major)
|
||||||
AC_SUBST(lt_revision)
|
AC_SUBST(lt_revision)
|
||||||
AC_SUBST(lt_age)
|
AC_SUBST(lt_age)
|
||||||
|
|
||||||
all_drivers="upeke2 upekts upektc upeksonly vcom5s uru4000 fdu2000 aes1610 aes2501 aes4000"
|
all_drivers="upeke2 upekts upektc upeksonly vcom5s uru4000 fdu2000 aes1610 aes2501 aes4000 vfs101"
|
||||||
|
|
||||||
require_imaging='no'
|
require_imaging='no'
|
||||||
require_aeslib='no'
|
require_aeslib='no'
|
||||||
|
@ -34,6 +34,7 @@ enable_fdu2000='no'
|
||||||
enable_aes1610='no'
|
enable_aes1610='no'
|
||||||
enable_aes2501='no'
|
enable_aes2501='no'
|
||||||
enable_aes4000='no'
|
enable_aes4000='no'
|
||||||
|
enable_vfs101='no'
|
||||||
|
|
||||||
AC_ARG_WITH([drivers],[AS_HELP_STRING([--with-drivers],
|
AC_ARG_WITH([drivers],[AS_HELP_STRING([--with-drivers],
|
||||||
[List of drivers to enable])],
|
[List of drivers to enable])],
|
||||||
|
@ -88,6 +89,10 @@ for driver in `echo ${drivers} | sed -e 's/,/ /g' -e 's/,$//g'`; do
|
||||||
require_imaging="yes"
|
require_imaging="yes"
|
||||||
enable_aes4000="yes"
|
enable_aes4000="yes"
|
||||||
;;
|
;;
|
||||||
|
vfs101)
|
||||||
|
AC_DEFINE([ENABLE_VFS101], [], [Build Validity VFS101 driver])
|
||||||
|
enable_vfs101="yes"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -102,6 +107,7 @@ AM_CONDITIONAL([ENABLE_AES1610], [test "$enable_aes1610" = "yes"])
|
||||||
AM_CONDITIONAL([ENABLE_AES2501], [test "$enable_aes2501" = "yes"])
|
AM_CONDITIONAL([ENABLE_AES2501], [test "$enable_aes2501" = "yes"])
|
||||||
AM_CONDITIONAL([ENABLE_AES4000], [test "$enable_aes4000" = "yes"])
|
AM_CONDITIONAL([ENABLE_AES4000], [test "$enable_aes4000" = "yes"])
|
||||||
AM_CONDITIONAL([REQUIRE_AESLIB], [test "$require_aeslib" = "yes"])
|
AM_CONDITIONAL([REQUIRE_AESLIB], [test "$require_aeslib" = "yes"])
|
||||||
|
AM_CONDITIONAL([ENABLE_VFS101], [test "$enable_vfs101" = "yes"])
|
||||||
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(LIBUSB, [libusb-1.0 >= 0.9.1])
|
PKG_CHECK_MODULES(LIBUSB, [libusb-1.0 >= 0.9.1])
|
||||||
|
@ -263,6 +269,11 @@ if test x$enable_aes4000 != xno ; then
|
||||||
else
|
else
|
||||||
AC_MSG_NOTICE([ aes4000 driver disabled])
|
AC_MSG_NOTICE([ aes4000 driver disabled])
|
||||||
fi
|
fi
|
||||||
|
if test x$enable_vfs101 != xno ; then
|
||||||
|
AC_MSG_NOTICE([** vfs101 driver enabled])
|
||||||
|
else
|
||||||
|
AC_MSG_NOTICE([ vfs101 driver disabled])
|
||||||
|
fi
|
||||||
if test x$require_aeslib != xno ; then
|
if test x$require_aeslib != xno ; then
|
||||||
AC_MSG_NOTICE([** aeslib helper functions enabled])
|
AC_MSG_NOTICE([** aeslib helper functions enabled])
|
||||||
else
|
else
|
||||||
|
|
|
@ -12,6 +12,7 @@ AES2501_SRC = drivers/aes2501.c drivers/aes2501.h
|
||||||
AES4000_SRC = drivers/aes4000.c
|
AES4000_SRC = drivers/aes4000.c
|
||||||
FDU2000_SRC = drivers/fdu2000.c
|
FDU2000_SRC = drivers/fdu2000.c
|
||||||
VCOM5S_SRC = drivers/vcom5s.c
|
VCOM5S_SRC = drivers/vcom5s.c
|
||||||
|
VFS101_SRC = drivers/vfs101.c
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(UPEKE2_SRC) \
|
$(UPEKE2_SRC) \
|
||||||
|
@ -24,6 +25,7 @@ EXTRA_DIST = \
|
||||||
$(AES4000_SRC) \
|
$(AES4000_SRC) \
|
||||||
$(FDU2000_SRC) \
|
$(FDU2000_SRC) \
|
||||||
$(VCOM5S_SRC) \
|
$(VCOM5S_SRC) \
|
||||||
|
$(VFS101_SRC) \
|
||||||
aeslib.c aeslib.h \
|
aeslib.c aeslib.h \
|
||||||
imagemagick.c \
|
imagemagick.c \
|
||||||
gdkpixbuf.c
|
gdkpixbuf.c
|
||||||
|
@ -122,6 +124,10 @@ if ENABLE_AES4000
|
||||||
DRIVER_SRC += $(AES4000_SRC)
|
DRIVER_SRC += $(AES4000_SRC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if ENABLE_VFS101
|
||||||
|
DRIVER_SRC += $(VFS101_SRC)
|
||||||
|
endif
|
||||||
|
|
||||||
if REQUIRE_IMAGEMAGICK
|
if REQUIRE_IMAGEMAGICK
|
||||||
OTHER_SRC += imagemagick.c
|
OTHER_SRC += imagemagick.c
|
||||||
libfprint_la_CFLAGS += $(IMAGING_CFLAGS)
|
libfprint_la_CFLAGS += $(IMAGING_CFLAGS)
|
||||||
|
|
|
@ -368,6 +368,9 @@ static struct fp_img_driver * const img_drivers[] = {
|
||||||
#ifdef ENABLE_AES1610
|
#ifdef ENABLE_AES1610
|
||||||
&aes1610_driver,
|
&aes1610_driver,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef ENABLE_VFS101
|
||||||
|
&vfs101_driver,
|
||||||
|
#endif
|
||||||
/*#ifdef ENABLE_UPEKTC
|
/*#ifdef ENABLE_UPEKTC
|
||||||
&upektc_driver,
|
&upektc_driver,
|
||||||
#endif
|
#endif
|
||||||
|
|
1570
libfprint/drivers/vfs101.c
Normal file
1570
libfprint/drivers/vfs101.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -265,6 +265,9 @@ extern struct fp_img_driver fdu2000_driver;
|
||||||
#ifdef ENABLE_VCOM5S
|
#ifdef ENABLE_VCOM5S
|
||||||
extern struct fp_img_driver vcom5s_driver;
|
extern struct fp_img_driver vcom5s_driver;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef ENABLE_VFS101
|
||||||
|
extern struct fp_img_driver vfs101_driver;
|
||||||
|
#endif
|
||||||
|
|
||||||
extern libusb_context *fpi_usb_ctx;
|
extern libusb_context *fpi_usb_ctx;
|
||||||
extern GSList *opened_devices;
|
extern GSList *opened_devices;
|
||||||
|
|
Loading…
Reference in a new issue