Hans de Goede
041e6a1078
fprint-list-udev-rules: Add some unsupported Elantech readers to the whitelist
2017-12-12 10:51:43 +01:00
Hans de Goede
1c73c36ed7
fprint-list-udev-rules: Remove white-list entries which have a driver now
...
Remove 2 entries from the whitelist for finger-print models for which
we have a driver now, so they no longer need to be on the whitelist.
2017-12-12 10:51:43 +01:00
Anton Eliasson
69de32f700
vfs5011: Don't submit an image if there was an error capturing it
2017-12-03 13:12:53 -08:00
Alan Davidson
4bfee76ead
Fix security hole: zero out memory when allocated
2017-12-03 13:11:48 -08:00
Vasily Khoruzhick
4d7afd9b4f
uru4k: increase threshold to detect encryption
...
Otherwise we get false positives on devices without encryption
2017-12-03 13:10:13 -08:00
Igor Filatov
cfe60c0640
Add Elan driver
2017-12-03 21:17:26 +02:00
Vasily Khoruzhick
d82847a6b4
0.7.0
2017-05-14 09:26:30 -07:00
Vasily Khoruzhick
5a7e6e07ff
etes603: fix compilation error caused by a0bbbd7d3
2016-11-07 08:10:44 -08:00
Vasily Khoruzhick
2162aa9f48
uru4k: decrypt image if necessary
...
Add naive detection of image encryption: if stddev between two
adjacent rows is higher than threshold assume that image is encrypted
and decrypt it.
Fixes fd.o bug 88945
2016-11-05 20:58:18 -07:00
Vasily Khoruzhick
a1f36c71c9
upeksonly: decrease bz3_threshold for 147e:1001
...
Its width is only 216 pixels, and it appears not to be enough for matching at
default threshold.
2016-11-05 20:58:18 -07:00
Vasily Khoruzhick
e4eedef27e
upeksonly: use fpi_std_sq_dev() and fpi_mean_sq_diff_norm()
...
Use fpi_mean_sq_diff_norm() for blank line detection and
fpi_mean_sq_diff_norm() for duplicate line detection.
Fixes finger presence and removal detection.
2016-11-05 20:58:18 -07:00
Vasily Khoruzhick
5e29695969
lib: move some functions from vfs5011.c into img.c
2016-11-05 20:58:18 -07:00
Konstantin Semenov
49a46668ad
lib: Add VFS0050 driver
...
New driver for 138a:0050 device
https://bugs.freedesktop.org/show_bug.cgi?id=91616
2016-11-05 20:58:18 -07:00
Bastien Nocera
76269decdd
aes4000: Fix possible crash if USB init fails
...
The code was indented, but only the first call was actually in the
conditional, which meant that initialisation carried on as normal on top
of a failed USB device. Exit early and remove the conditional to fix
this.
https://bugzilla.gnome.org/show_bug.cgi?id=98594
2016-11-05 00:13:51 +01:00
Bastien Nocera
8454a25ecf
aes3500: Fix possible crash if USB init fails
...
The code was indented, but only the first call was actually in the
conditional, which meant that initialisation carried on as normal on top
of a failed USB device. Exit early and remove the conditional to fix
this.
2016-11-05 00:11:30 +01:00
Bastien Nocera
a0bbbd7d32
drivers: Print USB error when libusb_claim_interface() fails
...
https://bugs.freedesktop.org/show_bug.cgi?id=98594
2016-11-05 00:10:17 +01:00
Bastien Nocera
12f6dae8cd
build: Fix 9570c36
on Debian
...
Debian's ash doesn't implement pushd/popd.
2016-11-03 14:05:46 +01:00
Bastien Nocera
9570c36fd4
build: Fix running autogen.sh out-of-tree
2016-07-19 11:18:58 +02:00
Bastien Nocera
487dae0d2f
Work-around kernel's lack of USB PM
...
The device is already supported by the vfs5011 driver and non-
blacklisted, so will show up in the udev rules, but for ease of
backporting to older versions, add it to the whitelist anyway.
https://bugzilla.redhat.com/show_bug.cgi?id=1173367
2016-04-12 16:39:39 +02:00
Vasily Khoruzhick
d71018bd8f
vfs5011: add USB IDs of device found in some Toshiba laptops
2015-12-16 13:24:39 -08:00
Vasily Khoruzhick
61fa57b05d
aes1610: decrease bz3_threshold to 20
2015-12-16 13:24:39 -08:00
Volkau Siarhei
fc1781e317
vfs101: fix broken enrolling by prev commit to vfs101.c
2015-12-16 13:24:39 -08:00
Vasily Khoruzhick
ffef6c2bcc
vfs5011: add proper dev_deactivate() support
...
Driver is not able to cancel imaging process without this change
2015-12-16 13:24:39 -08:00
Vasily Khoruzhick
67d29f7936
aes1610: improve gain settings
2015-12-16 13:24:39 -08:00
Vasily Khoruzhick
9437c98d54
lib: frame assembling: flip image for non-reverse direction
...
It was here for aes2501 and aes1610 before moving assembling routines
into common code.
2015-12-16 13:24:39 -08:00
Vasily Khoruzhick
f7d00a828d
lib: use normalized error to make decision about movement direction
...
Height is not a good determinant in movement direction, normalized
error is much better. Should fix aes1610 and aes2501 driver issues.
2015-12-16 13:24:39 -08:00
Vasily Khoruzhick
0f0a4b2da6
aes2660: set partial flag on an image
...
Set partial flag to remove false minutiae at the perimeter of a scan
2015-12-16 13:24:39 -08:00
Vasily Khoruzhick
c9cdbaf880
aes2550: set partial flag on an image
...
Set partial flag to remove false minutiae at the perimeter of a scan
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
83f29dad9f
aes2501: set partial flag on an image
...
Set partial flag to remove false minutiae at the perimeter of a scan
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
c2a11c5918
aes1610: set partial flag on an image
...
Set partial flag to remove false minutiae at the perimeter of a scan
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
3746b2ad5c
upeksonly: use line assembling routines to account variable swiping speed
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
b51fa446e3
lib: move line assembling routines out of vfs5011 into common code
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
6fc5293e83
upeksonly: add support for 147e:1001 device
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
aab3daa28b
upeksonly: move regwrite sequences into a header
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
e40f7bd1f7
lib: move frame assembling routines into a separate file and make them usable by non-aes drivers
...
Frame assembling routines are not aes-specific, so move them into a separate file
and add an accessor for peeking a pixel.
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
6664f87d8f
aes1610: fix memory corruption introduced by a457658f1b
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
6e8d5cd6a1
vfs5011: do duplicate line search for 30 lines
...
It seems that on faster devices, the driver can get more duplicate lines.
Without this change scan looks too stretched.
Suggested by: Thomas Rinsma <thomasrinsma@gmail.com>
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
9f7e1ecf40
vfs5011: make '5 scans per enroll' work with this driver
...
Restart scan if core did not ask to terminate it explicitly.
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
d9567002e4
imgdev: reset action_result after reporting it
...
Otherwise we end up in reporting the same result on next iteration.
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
a656a4a9f3
upektc_img: Handle scan status reported by sensor properly
...
Sensor can report "short scan" or "finger not centered" instead of image,
so it's necessary to handle them gracefully.
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
2944a35e74
imgdev: Add fpi_imgdev_abort_scan() to abort scan gracefully from within the driver.
...
Smart sensors like Upek TouchChip Coprocessor can provide scan status instead
of image, as result we need to report such status as "short scan" or "finger not centered"
from within the driver, since it's not a session error.
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
391373fb0c
upektc_img: Fix copy/paste error
...
Replace upekts_img with upektc_img
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
985e8c4577
aes1660: set partial flag on an image
...
Sensor width seems to be only 128 pixels and that's not enough
for scanning whole finger surface. Lower bz3_threshold to 25,
since for wrong finger score never goes above 10, but sometimes
for right finger score is below 40.
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
bd0d4258e4
upektc_img: set partial flag on an image
...
Sensor width seems to be only 128 pixels and that's not enough
for scanning whole finger surface. Lower bz3_threshold to 20,
since for wrong fingerprint score never goes above 10, but sometimes
for right finger score is below 40.
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
9bbd9b208a
lib: add partial image flag
...
And activate perimeter points removal if this flag is set.
2015-12-16 13:24:38 -08:00
Vasily Khoruzhick
59fe0fb699
nbis: add one more step of false minutia removal
...
Remove minutiae that are located on scan perimeter
2015-12-16 13:24:38 -08:00
Bastien Nocera
f1fdd71613
rules: Add driver name to the USB properties
...
Makes it easier to see which driver is being used.
2015-03-15 23:13:08 +01:00
Bastien Nocera
bb66780cb5
build: Document why some drivers are disabled
...
This avoids confusion when looking at the build logs
2015-03-15 23:10:03 +01:00
Carlos Olmedo Escobar
45fb6d7908
vfs101: Logical conjunction always evaluates to false.
2015-02-09 12:47:22 +01:00
Timo Teräs
9f408bf51b
imgdev: fix enum mismatch for dev_change_state() call
...
This bug has existed long time, but it was uncovered by commit
e215b05094
which enabled multiple enrollment rounds.
In practice this broke (at least) URU4000 driver state machine
causing it to enter indefinite loop - due to the invalid state
change callback.
Patch originally posted at:
http://lists.freedesktop.org/archives/fprint/2014-June/000603.html
Test and verification results:
http://lists.freedesktop.org/archives/fprint/2014-June/000607.html
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
2015-02-03 18:26:33 +01:00