Bastien Nocera
fc92f62136
build: Remove the need to modify sources for new drivers
...
Instead of having to modify both fp_internal.h to list each driver
definition structure, and core.c to add those drivers to arrays we
can loop over, generate both of those using meson.
2018-05-24 12:23:39 +02:00
Bastien Nocera
32fcfde86b
lib: Use GLib and libusb directly for debug output
...
Use GLib internally to output debug information, and tell about
libusb's LIBUSB_DEBUG envvar for libusb debug.
fp_set_debug() is now a no-op.
https://bugs.freedesktop.org/show_bug.cgi?id=106552
2018-05-23 19:13:08 +02:00
Bastien Nocera
363a1b3371
lib: Replace empty fp_dbg() calls
...
GLib won't like them, so use G_DEBUG_HERE() instead.
2018-05-23 19:11:07 +02:00
Bastien Nocera
8e6e23b8d0
build: Always enable debugging logging
...
We shouldn't need to specifically enable debug logging to get useful
data out of a compiled libfprint either, so always enable debugging
output. It will still be switched off at runtime, by default.
2018-05-23 19:11:02 +02:00
Bastien Nocera
9d67ce484d
lib: Make inline functions real functions
...
Otherwise they will not be parsed by gtk-doc and documented.
2018-05-23 13:39:10 +02:00
Bastien Nocera
b3fe4a1e91
docs: Update API documentation
...
Fixes to layout, dead links, typography, and more.
Thanks to Benjamin Berg <bberg@redhat.com> for the thorough review
2018-05-18 05:51:58 +02:00
Bastien Nocera
231b8f9f92
doc: Port from Doxygen to gtk-doc
...
Split the introduction into separate chapters, add filler documentation
for async functions, fix mismatched function arguments.
2018-05-17 17:39:51 +02:00
Bastien Nocera
3661d146a7
drivers: Remove UPEKE2 driver
...
The device is already handled by upektc_img driver, and its sources
still exist in git if needed.
https://bugs.freedesktop.org/show_bug.cgi?id=106514
2018-05-15 10:46:54 +02:00
Mark Harfouche
58ba9b02ed
lib: Fix memory leak patch in device discovery
...
libusb_free_device_list() needs to be called on the list of USB devices
obtained through libusb_get_device_list() or the list and its elements
will be leaked.
https://bugs.freedesktop.org/show_bug.cgi?id=105427
2018-03-11 13:43:58 +01:00
Igor Filatov
cfe60c0640
Add Elan driver
2017-12-03 21:17:26 +02: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
Arseniy Lartsev
dc537ef2c9
lib: Add VFS5011 driver
...
New driver for VFS5011 138a:0011 and 138a:0018
https://bugs.freedesktop.org/show_bug.cgi?id=61692
[vasilykh]:
- use g_get_real_time() instead of non-portable time()
- use g_free() instead of free()
- comment out "RECV(VFS5011_IN_ENDPOINT_CTRL2, 8)"
2015-01-31 13:19:11 +03:00
Patrick Marlier
a6101026d2
Add EgisTec ES603 driver
...
This driver handles EgisTec ES603 device, ID 1c7a:0603
2013-08-19 11:13:50 +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
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
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
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
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
Vasily Khoruzhick
ff02115b0f
lib: Fix global variables collision with libusb
2012-08-14 15:25:44 +01:00
Sergio Cerlesi
d2e957683f
Added support for Validity VFS101
...
USB ID 138a:0001
2011-04-08 15:37:03 +01:00
Bastien Nocera
9608ab3707
Don't crash when no devices are present
2010-08-18 11:17:20 +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
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
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
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
Gordon Stratton
d94ffa22d5
Missing parameter in fp_err call
2008-10-31 23:36:55 +00: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
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
870ddfb905
some libusb pointers are now const
2008-04-06 23:55:41 +01: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
4e884807a7
Update for libusb API rework
2008-03-10 13:33:23 +00:00
Daniel Drake
3ea28e334d
Provide access to fd set
...
Includes notifications when the set changes.
2008-03-01 13:02:20 +00:00
Daniel Drake
88e9f4a5f8
Public async API implementation
...
Involved some internal overhaul/reorganisation. Nice side effect is that
the synchronous API is now expressed purely in terms of the public async
API.
2008-03-01 13:02:17 +00:00
Daniel Drake
83f9da1b87
uru4000: port to asynchronous model
2008-02-18 18:12:52 +00:00
Daniel Drake
866dd941cc
Add timing and polling infrastructure
...
Add timeout mechanism as an asynchronous equivalent of sleeping (uru4000
needs this).
Start implementing polling infrastructure which also accounts for pending
timeouts. We don't expose file descriptors yet, but this is a start.
2008-02-16 12:50:01 +00:00
Daniel Drake
eff26bf0be
aes2501: port to asynchronous model
2008-02-16 12:49:58 +00:00
Daniel Drake
d914712437
aes4000: port to asynchronous model
2008-02-16 12:49:17 +00:00
Daniel Drake
3048b37176
Port imaging layer to asynchronous model
2008-02-16 12:48:44 +00:00
Daniel Drake
aeeec97fb2
upekts: port to asynchronous model
2008-02-16 12:48:25 +00:00
Daniel Drake
5b1f6a0df7
Port primitive driver layer to asynchronous model
2008-02-16 12:47:56 +00:00
Daniel Drake
69760547df
Disable all drivers while internal API is being reworked
2008-01-30 14:17:08 +00:00
Daniel Drake
bf7093d607
Port to libusb-0.9.0 (synchronous I/O)
...
Straightforward port to libusb-0.9.0 sync I/O functions, to give libusb-1.0
a bit of a test drive and to create a reference point for later.
2008-01-30 14:16:35 +00:00