Hi, today I've checked out the latest version of libfprint and fprint_demo and realised that the aes1610 driver is disabled in the makefiles. When enabling the driver, the compile fails. I have a Samsung X460 laptop with embedded Authentec Fingerprint reader (Bus 004 Device 002: ID 08ff:1600 AuthenTec, Inc. AES1600) so I guess aes1610 is the driver I need to use. Anybody knows how to fix the sources so it would compile? I have searched the archives and it was suggested that I should use an old version of libfprint where the driver still works, but that was over a year ago! It would be good to mark the aes1610 driver as "currently broken" on the wiki pages as it took me a while to figure out why I get "No devices found" in fprint_demo and no results in pyfprint.discover_devices().
ATB Alexander PS: I am not a C programmer but know some python and would like to play around with pyfprint, which is awesome! libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -fopenmp -I/usr/include/ImageMagick -g -O2 -MT libfprint_la-aes1610.lo -MD -MP -MF .deps/libfprint_la-aes1610.Tpo -c drivers/aes1610.c -fPIC -DPIC -o .libs/libfprint_la-aes1610.o drivers/aes1610.c: In function ‘read_data’: drivers/aes1610.c:67: error: variable ‘msg’ has initializer but incomplete type drivers/aes1610.c:68: error: unknown field ‘endpoint’ specified in initializer drivers/aes1610.c:68: warning: excess elements in struct initializer drivers/aes1610.c:68: warning: (near initialization for ‘msg’) drivers/aes1610.c:69: error: unknown field ‘data’ specified in initializer drivers/aes1610.c:69: warning: excess elements in struct initializer drivers/aes1610.c:69: warning: (near initialization for ‘msg’) drivers/aes1610.c:70: error: unknown field ‘length’ specified in initializer drivers/aes1610.c:70: warning: excess elements in struct initializer drivers/aes1610.c:70: warning: (near initialization for ‘msg’) drivers/aes1610.c:67: error: storage size of ‘msg’ isn’t known drivers/aes1610.c:74: warning: passing argument 3 of ‘libusb_bulk_transfer’ from incompatible pointer type /usr/include/libusb-1.0/libusb.h:1119: note: expected ‘unsigned char *’ but argument is of type ‘int *’ drivers/aes1610.c:74: error: too few arguments to function ‘libusb_bulk_transfer’ drivers/aes1610.c:67: warning: unused variable ‘msg’ drivers/aes1610.c: In function ‘dev_init’: drivers/aes1610.c:105: error: too few arguments to function ‘aes_write_regv’ drivers/aes1610.c: In function ‘do_exit’: drivers/aes1610.c:110: error: too few arguments to function ‘aes_write_regv’ drivers/aes1610.c: In function ‘detect_finger’: drivers/aes1610.c:159: error: too few arguments to function ‘aes_write_regv’ drivers/aes1610.c:172: error: too few arguments to function ‘aes_write_regv’ drivers/aes1610.c: In function ‘capture’: drivers/aes1610.c:420: error: too few arguments to function ‘aes_write_regv’ drivers/aes1610.c:445: error: too few arguments to function ‘aes_write_regv’ drivers/aes1610.c:482: error: too few arguments to function ‘aes_write_regv’ drivers/aes1610.c: At top level: drivers/aes1610.c:547: error: unknown field ‘init’ specified in initializer drivers/aes1610.c:548: error: unknown field ‘exit’ specified in initializer drivers/aes1610.c:549: error: unknown field ‘await_finger_on’ specified in initializer drivers/aes1610.c:549: warning: initialization from incompatible pointer type drivers/aes1610.c:550: error: unknown field ‘capture’ specified in initializer drivers/aes1610.c:550: warning: initialization from incompatible pointer type make[2]: *** [libfprint_la-aes1610.lo] Error 1 make[2]: Leaving directory `/home/alex/Download/libfprint/libfprint' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/alex/Download/libfprint' make: *** [all] Error 2 _______________________________________________ fprint mailing list [email protected] http://lists.reactivated.net/mailman/listinfo/fprint
