Commit graph

669 commits

Author SHA1 Message Date
Bastien Nocera
9f8dd29a55 Make sure all sources are dist'ed
So that you can compile against ImageMagick even if the
distter doesn't.
2010-08-25 11:17:42 +01:00
Bastien Nocera
f28c579779 Print out summary of build options
At the end of the configure run.
2010-08-25 11:17:19 +01:00
Bastien Nocera
375575b701 Port OpenSSL using code to NSS
As OpenSSL cannot really be used in an LGPLv2+ piece of software
without an exception.

Adapted from the example code at:
http://www.mozilla.org/projects/security/pki/nss/sample-code/sample2.html
and:
http://github.com/bagder/curl/commit/f3b77e5
2010-08-25 10:34:30 +01:00
Alexia Death
25161286f5 Only complete scan with MIN_ROWS in print
Don't consider the scan complete unless theres at least
MIN_ROWS recorded or very long blank read occurred.

Typical problem spot: one brief touch before starting the
actual scan. Happens most commonly if scan is started from
before the first joint resulting in a gap after the inital touch.

http://lists.reactivated.net/pipermail/fprint/2009-December/001406.html
2010-08-19 20:36:16 +01:00
Alexia Death
c575afba9a Make the +2 right shift happen on image handoff.
Rather than when reading the rows. Doing it there seems a lot
more sensible and does not get in the way of minimizing the
impact of lost USB packets.

http://lists.reactivated.net/pipermail/fprint/2009-December/001404.html
2010-08-19 20:29:45 +01:00
Alexia Death
8cd31f6ad8 Try to correct missing packets in image stream
If a packet goes missing, use the data from previous row
to minimize distortion, or use some neutral dummy data.

http://lists.reactivated.net/pipermail/fprint/2009-December/001404.html
2010-08-19 20:27:09 +01:00
Alexia Death
4b518bd230 Fix a segfault if a scan was shorter than 8 lines.
This segfault was caused by proceeding to free the conversion result
without checking for an error condition in image to print
data conversion.

http://lists.reactivated.net/pipermail/fprint/2009-December/001405.html
2010-08-19 20:21:51 +01:00
Bastien Nocera
daee067c4f Release 0.2.0 2010-08-19 14:43:30 +01:00
Bastien Nocera
9608ab3707 Don't crash when no devices are present 2010-08-18 11:17:20 +01:00
Bastien Nocera
73561989dd Implement discover() methods for upeke2 and upeksonly
upeksonly handles revision 1 devices, upeke2 revision 2 devices.

https://bugzilla.redhat.com/show_bug.cgi?id=504399
2010-08-17 23:41:23 +01:00
Bastien Nocera
df4a6f53d2 Rework "discover" code for drivers
Check all the drivers for one that'll drive our device in
question, and prefer ones that have a discover() method that runs
successfully to a driver without such a method.

This allow drivers to both reject devices (if 2 drivers handle
the same USB IDs), or a single driver to handle variants of the
same device (through the devtype out value of the discover method).
2010-08-17 23:14:18 +01:00
Jorge Suarez de Lis
48af46a2c5 upeke2: Add support for 0x2e status code
As reported working in:
http://www.mail-archive.com/fprint@reactivated.net/msg01426.html
2010-08-17 19:55:48 +01:00
Jorge Suarez de Lis
5a1926bb41 Add (disabled) UPEK EikonII (TCRD4C) driver
The device driver is always disabled as it uses the same Device ID
as another working reader:
https://bugzilla.redhat.com/show_bug.cgi?id=504399#c38
2010-08-17 19:36:56 +01:00
Guido Grazioli
7c7402a697 Finish implementation of AES1610 driver
Ported to the new internal libfprint API.

https://bugzilla.redhat.com/show_bug.cgi?id=499732
2010-08-17 11:36:34 +01:00
Matthew Garrett
a99e813bbf Add udev rules to set devices to autosuspend
Most fingerprint readers can be suspended safely, so use
the udev rules to autosuspend them when they appear.

The script itself contains whitelists and blacklists.
2010-08-17 11:35:26 +01:00
Bastien Nocera
014b933b2b Add gdk-pixbuf support
When imaging support is required, we prefer to use gdk-pixbuf,
as it's already on things like Live CDs.
Also fix the examples building against the system libfprint.
2010-08-17 11:35:06 +01:00
Daniel Drake
911c6bf102 v0.1.0-pre2 release 2009-06-20 14:51:43 +01:00
Daniel Drake
a51763bd99 New sourceforge file upload system 2009-06-20 14:51:40 +01:00
Bastien Nocera
e5da34e80a Fix fp_get_pollfds()
It was increasing i too early, and writing past the allocated
structures.
2008-11-25 16:08:59 +00:00
Bastien Nocera
d816fed5c3 Disable finger_num_to_str when debugging is disabled
One less warning.
2008-11-25 16:08:58 +00:00
Bastien Nocera
749bb3e30e Export scan type through HAL
Also export the scan type through HAL.
2008-11-24 17:19:36 +00:00
Daniel Drake
d482228325 upekts: Don't choke on non-zero bytes in command response
Alon Bar-Lev's device behaves differently, but seems to work fine with
upekts even if we ignore the difference.
2008-11-20 19:59:43 +00:00
Daniel Drake
7c44c86d4c Logging control
Don't log anything by default, and let the applications change the log
level.
2008-11-20 17:23:04 +00:00
Bastien Nocera
29044d9ca9 Export scan type for each driver
For each driver, export the scan type supported by the devices it
handles. This allows front-ends to direct the user better.
2008-11-20 14:53:01 +00:00
Daniel Drake
1fd247ecd7 v0.1.0-pre1 release
because Bastien asked nicely. No guarantees about API or stability.
2008-11-18 17:18:21 +00:00
Daniel Drake
b93f038dbc distcheck fix for fdi file 2008-11-18 17:18:21 +00:00
Daniel Drake
2d30e40ed7 aes2501: Add AES2500 ID
Reported to work with Motion Computing M1400 tablet by Daniel Hazelbaker
and Alex Van Deusen.
2008-11-02 14:49:39 +00:00
Bastien Nocera
7c83b6d825 Tag fingerprint devices in HAL
Tag all the fprint supported devices in HAL. Patch from
myself and Timo Hoenig <thoenig@suse.de>.
2008-11-02 11:06:22 +00:00
Daniel Drake
7672c43cea distcheck "" fix
Pointed out by Bastien Nocera
2008-11-02 11:03:32 +00:00
Gordon Stratton
d94ffa22d5 Missing parameter in fp_err call 2008-10-31 23:36:55 +00:00
Daniel Drake
6b8b17f575 Split imagemagick hack from main library
Cleans up the conditional compilation system
2008-08-10 14:41:13 -05:00
Pavel Herrman
bba1c1085f Allow drivers to be included/excluded at compile time 2008-08-10 14:41:10 -05:00
Daniel Drake
b6dabaacc8 Enable libusb debug messages
While we're a noisy library we might as well ask libusb to be as well
2008-07-09 03:25:23 +01:00
Daniel Drake
3915cb2622 Add upeksonly driver for UPEK TouchStrip sensor-only devices
The long awaited 147e:2016 reverse engineering efforts.
Image quality is OK, not brilliant - a little fuzzy, but it works
quite well.
2008-07-09 03:25:09 +01:00
Daniel Drake
59c62c7d74 Update for libusb-0.9.1 2008-07-02 23:27:37 -05:00
Daniel Drake
e1691a29dd update for new libusb_open API 2008-06-15 10:54:07 -05:00
Vasily Khoruzhick
aa7c8ae81e Adapting to latest libusb-1.0 changes
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
[dsd: remove config const qualifier and add freeing of config]
2008-05-13 18:17:37 +01:00
Daniel Drake
63421e3fd6 uru4000: fix compile against latest libusb 2008-05-07 23:46:06 +01:00
Daniel Drake
76cbf21223 uru4000: Add support for Digital Persona U.are.U Fingerprint Keyboard
Reported by Tudor Panaitescu
2008-05-02 11:55:50 +01:00
Daniel Drake
f540ae5d5b Fix memory leak in fpi_print_data_new()
Pointed out by Krystian (yoB) on FS#24
2008-04-19 23:12:42 +01:00
Daniel Drake
ebcabc1ade uru4000: avoid cancelling a completed transfer 2008-04-12 16:58:49 +01:00
Daniel Drake
870ddfb905 some libusb pointers are now const 2008-04-06 23:55:41 +01:00
Vasily Khoruzhick
40e7ac195a Adapting to latest libusb
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
2008-04-06 23:52:04 +01:00
Azzie
1ab52617c7 Update for latest libusb constant names 2008-03-29 18:11:17 +00:00
Daniel Drake
981f2eb0aa vcom5s: implement finger detection
Uses thresholding of average pixel intensity of the center region of
the image.

Also document guessed meanings of magic numbers for registers.
2008-03-20 15:31:03 +00:00
Daniel Drake
d6d4e56ccf uru4000: add fwenc search location for UareU4000
ticket #14 includes a device with a different firmware, this should get
it up and running.
2008-03-20 13:34:48 +00:00
Daniel Drake
d12ad6dea9 Update version number
I'm about to do another 0.0 release, so change the tag in this branch to
avoid confusion
2008-03-20 13:19:44 +00:00
Daniel Drake
c9ff2c5541 Add Veridicom 5th Sense driver
Based on bus traffic analysis of the windows driver. This device is
working well, but finger presence detection is not yet implemented.
2008-03-19 23:52:28 +00:00
Daniel Drake
617ca8cd15 fix imaging action state for repeated enroll attempts
Enroll attempts may retry in some situations, so we need to reset the
state to accept more scans.
2008-03-19 23:28:44 +00:00
Daniel Drake
a11ac7d8f8 uru4000: search for encryption byte
New DigitalPersona devices have a new firmware. We now use a search
scheme to find the encryption byte, by examining known locations
in the firmware until we find something that we recognise.
2008-03-19 17:56:21 +00:00