Vasily Khoruzhick
e278e8321c
vfs301: drop nr_enroll_stages override
...
Imaging drivers aren't allowed to change number of enroll stages anymore,
all that imaging driver does is providing image to the upper layer.
Upper layer decides if it needs more scans.
2013-08-19 11:13:49 +03:00
Vasily Khoruzhick
e1728e7c25
aes1660: remove unneeded lowering of bz3_threshold
...
Since 5 scans for enroll was introduced it's not necessary to lower
bz3_threshold anymore, there's a good probability that scan to verify matches
with at least one enrolled sample.
2013-08-19 11:13:49 +03:00
Vasily Khoruzhick
e215b05094
imgdev: perform 5 scans for enrollment
...
This feature dramatically improves matching rate on devices with small
sensors.
2013-08-19 11:13:49 +03:00
Vasily Khoruzhick
5ff45658c0
upektc_img: add support for Upek Eikon 2 devices
2013-08-19 11:13:49 +03:00
Vasily Khoruzhick
d12b294783
Add upektc_img driver
...
Imaging driver, handles UPEK 147e:2020 device
2013-08-19 11:13:49 +03:00
Vasily Khoruzhick
2bba4fb073
Implement image capture (both synchronous and asynchronous variants)
...
fp_dev_img_capture() is not implemented and returns -ENOTSUPP for all devices
since migration to asynchronous model. This commit implement missing functionality
2013-08-12 11:18:18 +03:00
Juvenn Woo
aeca32fc12
aes3k: add aes3500 driver
...
This driver supports AES3500 device (08ff:5731) and utilizes common routines from
AES4000.
2013-08-12 11:18:18 +03:00
Juvenn Woo
12c1088777
aes3k: extract common routines aes3k from aes4000
...
AES3500 and AES4000 are pretty similar devices, have same
command send, the only difference is in image size and init sequence.
Extract common routines from AES4K to be used later in AES3500 driver
https://bugs.freedesktop.org/show_bug.cgi?id=64351
2013-08-12 11:18:18 +03:00
Bastien Nocera
c14ebd8b63
Add MS keyboard to the suspend blacklist
...
045e:00bb isn't a stand-alone fingerprint reader, but a keyboard
with a reader integrated.
https://bugs.freedesktop.org/show_bug.cgi?id=66659
2013-07-25 12:29:53 +02:00
Bastien Nocera
a6339a30ef
Fix udev rules printing
...
The blacklisted devices weren't correctly checked for past the first
item, as we weren't using the right index to get the product ID
from the ID table.
2013-07-25 12:29:29 +02:00
Bastien Nocera
f3dd55815e
lib: Use g_malloc0 instead of g_malloc+memset
2013-06-26 14:21:33 +02:00
Patrick Marlier
6d65bfcf80
lib: g_malloc never fails
...
Or rather, it never returns errors and aborts instead if
memory cannot be allocated, so remove code that handled
failures.
https://bugs.freedesktop.org/show_bug.cgi?id=57869
2013-06-26 14:18:40 +02:00
Jeremy Bicha
1acd647b29
build: Fix underlinking against glib
...
https://bugs.freedesktop.org/show_bug.cgi?id=63755
2013-06-26 14:14:49 +02:00
Vasily Khoruzhick
3b3679c900
upeke2: Add support for 147e:2020 ID
...
https://bugs.freedesktop.org/show_bug.cgi?id=59320
2013-01-13 19:02:52 +01:00
Timo Teräs
0b2d33c712
imgdev: fix cancelling of enrollment from stage_completed callback
...
Re-check device state after fpi_drvcb_enroll_stage_completed().
If enrollment was cancelled after non-completing stage, we must
not restart acquire as it would confuse the internal state machine.
https://bugs.freedesktop.org/show_bug.cgi?id=57829
2012-12-14 13:17:30 +01:00
Timo Teräs
8a87ba448c
uru4000: fix cancelling of imaging from error callback
...
Call error callback before resetting img_transfer to NULL. This
variable is internally used to detect if we are still in imaging
loop and the call to execute_state_change() needs to be postponed.
Since this is the final thing imaging_complete() we can't reset
img_transfer until just before this call.
https://bugs.freedesktop.org/show_bug.cgi?id=57829
2012-12-14 13:16:31 +01:00
Timo Teräs
7e1646c382
uru4000: fix race condition on waiting power up irq
...
It can come before we finish reading the status register on some
cases. Arm the irq handler early, and fix the state machine to
handle early irq properly.
https://bugs.freedesktop.org/show_bug.cgi?id=57834
2012-12-04 11:55:10 +01:00
Vasily Khoruzhick
a7d6b7c30a
nbis: Fix crash in gen_initial_maps()
...
If the image is too small some coordinates can become negative.
Handle this to avoid memory corruption.
https://bugs.freedesktop.org/show_bug.cgi?id=57730
2012-12-03 15:36:25 +01:00
Vasily Khoruzhick
31cf7a9383
build: Add common routines to the dist
...
Fixes dist when aesX660 drivers are disabled from the build.
https://bugs.freedesktop.org/show_bug.cgi?id=57724
2012-12-01 15:04:47 +01:00
Vasily Khoruzhick
c02cb3083d
AES-drivers: drop redudant type cast in g_slist_free_full call
...
https://bugs.freedesktop.org/show_bug.cgi?id=57688
2012-11-29 15:32:14 +01:00
Vasily Khoruzhick
2084724115
upektc: add support for Eikon Touch 300
...
https://bugs.freedesktop.org/show_bug.cgi?id=45197
2012-11-29 12:35:05 +01:00
Vasily Khoruzhick
118c610e29
lib: add AES2660 driver
...
https://bugs.freedesktop.org/show_bug.cgi?id=57426
2012-11-29 09:59:52 +01:00
Vasily Khoruzhick
313bfede77
lib: add AES1660 driver
...
https://bugs.freedesktop.org/show_bug.cgi?id=57426
2012-11-29 09:59:52 +01:00
Vasily Khoruzhick
c1da647aed
lib: add AES1660/AES2660 common routines
...
https://bugs.freedesktop.org/show_bug.cgi?id=57426
2012-11-29 09:59:52 +01:00
Vasily Khoruzhick
22d204cc68
lib: Split fpi_im_resize factor into width/height
...
https://bugs.freedesktop.org/show_bug.cgi?id=57426
2012-11-29 09:59:27 +01:00
Vasily Khoruzhick
bc497f1b26
aeslib: prevent integer overflow
...
AuthenTec devices send 4bpp images, but current code assumes 3bpp for
some reason.
https://bugs.freedesktop.org/show_bug.cgi?id=57426
2012-11-29 09:59:27 +01:00
Vasily Khoruzhick
8c5f2e6434
aes: unify image processing code for AuthenTec devices
...
Move overlap detection and assembling code into aeslib to prevent
code duplication
https://bugs.freedesktop.org/show_bug.cgi?id=57426
2012-11-29 09:59:22 +01:00
Timo Teräs
45ac0eefb0
uru4000: Fix image capture error on ARM
...
http://www.mail-archive.com/fprint@lists.freedesktop.org/msg00294.html
2012-11-16 18:38:52 +01:00
Vasily Khoruzhick
ea6d5ba6d6
lib: Fix mess with driver IDs
...
ID is just a some magic number to make fingerprint from one scanner model
incompatible with another scanner model. Get rid of "magic", declare enum
and use it.
https://bugs.freedesktop.org/show_bug.cgi?id=56956
2012-11-16 17:57:47 +01:00
Vasily Khoruzhick
ed2c75842a
upektc: Port to asynchronous model
...
https://bugs.freedesktop.org/show_bug.cgi?id=56955
2012-11-16 17:56:51 +01:00
Vasily Khoruzhick
b307dd1a6a
aes2550: fix bug introduced by last commit
...
ssm->priv is not aesdev, but fp_img_dev
https://bugs.freedesktop.org/show_bug.cgi?id=56782
2012-11-16 17:46:27 +01:00
Vasily Khoruzhick
39902374ce
aes2550: Harden against low finger pressure
...
Stop scan only after 3rd heartbeat message
https://bugs.freedesktop.org/show_bug.cgi?id=56782
2012-11-06 09:32:07 +01:00
Vasily Khoruzhick
6b84c6664f
AES1610: driver cleanup, part #2
...
Remove dead code
https://bugs.freedesktop.org/show_bug.cgi?id=56439
2012-11-06 09:26:17 +01:00
Vasily Khoruzhick
f569d0bf44
AES1610: driver cleanup, part #1
...
Fix warnings reported by gcc
https://bugs.freedesktop.org/show_bug.cgi?id=56439
2012-11-06 09:26:17 +01:00
Vasily Khoruzhick
1cfd14b7fe
nbis: fix rest of warnings reported by gcc
...
https://bugs.freedesktop.org/show_bug.cgi?id=56439
2012-11-06 09:26:17 +01:00
Vasily Khoruzhick
5d32102efe
nbis: prefix global variables with "g_"
...
It fixes a lot of warnings about shadowing global variable
https://bugs.freedesktop.org/show_bug.cgi?id=56439
2012-11-06 09:26:17 +01:00
Bastien Nocera
9e10edd422
aes2501: Add year 2008 to the copyright.
...
https://bugs.freedesktop.org/show_bug.cgi?id=56715#c7
2012-11-05 19:52:46 +01:00
Vasily Khoruzhick
fecf6d6fe5
aes2501: Update copyright line
...
https://bugs.freedesktop.org/show_bug.cgi?id=56715
2012-11-05 19:51:19 +01:00
Vasily Khoruzhick
e32fa8cc38
aes2501: Improve image contrast
...
When scanning, check the histogram sum, and increase the
ADREFHI register value if the sum is too low, or decrease
it if it's too high.
https://bugs.freedesktop.org/show_bug.cgi?id=56715
2012-11-05 19:49:54 +01:00
Vasily Khoruzhick
d8aae30a67
aes2501: Harden against low finger pressure
...
Wait for 3 empty frames before stopping the scan
The driver used to stop the scan immediately after an empty frame
(by checking for hist sum == 0), but it is possible to get empty
frames in the middle of the scan due to low finger pressure.
Waiting for 3 empty frames stop the driver wrongly aborting the scan
too early.
https://bugs.freedesktop.org/show_bug.cgi?id=56715
2012-11-05 19:47:32 +01:00
Vasily Khoruzhick
84b97ea15b
lib: Fix warning when debug logs are disabled
...
Fix warning in sync.c when debug logs are not enabled
https://bugs.freedesktop.org/show_bug.cgi?id=56439
2012-11-05 19:24:55 +01:00
Vasily Khoruzhick
8f98743857
upeksonly: Fix build-time warnings
...
Fix warnings reported by gcc
https://bugs.freedesktop.org/show_bug.cgi?id=56439
2012-11-05 19:24:44 +01:00
Vasily Khoruzhick
be29f27e25
upeke2: Fix build-time warnings
...
Fix warnings reported by gcc
https://bugs.freedesktop.org/show_bug.cgi?id=56439
2012-11-05 19:24:23 +01:00
Timo Teräs
d003f08855
lib: Add support for DigitalPersona URU4500
...
By adding native encryption support, rather than poking at
the firmware to disable it.
This also makes the URU4000B use native encryption.
https://bugs.freedesktop.org/show_bug.cgi?id=55351
2012-11-05 18:39:16 +01:00
Vasily Khoruzhick
83333bce3f
lib: Add AES2550/AES2810 driver
...
Initial implementation of AES2550/AES2810 driver.
Does not support AES2810 crypto engine and external flash.
https://bugs.freedesktop.org/show_bug.cgi?id=50859
2012-10-11 15:24:14 +02:00
Bastien Nocera
132b178304
lib: Add driver names to the udev rules
2012-08-28 20:02:17 +01:00
Andrej Krutak
c3689665db
lib: Add VFS300/VFS301 driver
...
https://bugs.freedesktop.org/show_bug.cgi?id=37574
2012-08-28 19:51:59 +01:00
Bastien Nocera
3d222ddda7
lib: Fix whitespace errors
2012-08-28 19:45:08 +01:00
Vasily Khoruzhick
ff02115b0f
lib: Fix global variables collision with libusb
2012-08-14 15:25:44 +01:00
Bastien Nocera
3b409c767c
build: Allow disabling the update of udev rules
...
We can only create the udev rules file when we're not cross-compiling,
so allow people to disable updating the file when building from
tarballs.
If you run with --enable-udev-rules=no and the
60-fprint-autosuspend.rules doesn't exist, you're on your own.
2012-08-14 15:19:35 +01:00