Bastien Nocera
fcd3c1dd89
lib: Split off core.c drivers API
2018-09-28 15:12:39 +02:00
Bastien Nocera
77defa1d8b
lib: Remove fpi_dev_get_nr_enroll_stages()
...
It's the same as fp_dev_get_nr_enroll_stages()
2018-09-15 01:23:02 +02:00
Bastien Nocera
5d01497b8b
lib: Remove dev_to_img_dev() helper
...
We can access the img_dev struct member directly, and we don't have
to double check that the img_dev member is actually an img_dev type,
as it always is.
2018-09-15 01:20:59 +02:00
Bastien Nocera
4f75e63e25
lib: Remove fp_dev->priv
...
Not precise enough, and it was only used in upekts to get/set the
instance private struct and keep it around, so add a new, more precisely
defined field to fp_dev for that.
2018-09-15 01:12:18 +02:00
Bastien Nocera
161c3ccf1c
lib: Link fp_dev to fp_img_dev and back
...
So it's easy to switch between the 2 structs, and remove fp_img_dev->dev
direct access, as well as fp_dev->priv "user data" usage.
2018-09-15 01:09:39 +02:00
Bastien Nocera
6345835b02
doc: %NULL changes
2018-09-04 15:58:23 +02:00
Bastien Nocera
489afea605
lib: Remove unused fpi_dev_get_dev_state()
...
This internal-only function was never used.
2018-08-27 20:01:00 +02:00
Bastien Nocera
db34837d2d
lib: Simplify device discovery
...
Use GPtrArray instead of open-coding a NULL terminated array.
https://bugs.freedesktop.org/show_bug.cgi?id=106279
2018-05-29 13:45:27 +02:00
Bastien Nocera
d83d92adf2
lib: Make fp_dev structure opaque
2018-05-29 13:34:18 +02:00
Bastien Nocera
bc3959d1e0
lib: Fix internal deprecation warning
...
Remove deprecation warning that comes from an internal function, it
serves no purpose, and the function itself is deprecated.
Follow-up from commit 1f0079a274
.
2018-05-25 13:45:13 +02:00
Bastien Nocera
1f0079a274
data: Mark all the fp_dscv_print functions as deprecated
...
As this is pretty much copy/pasted in fprintd, and should instead be
implemented by whatever system actually stores the data, rather than
in a generic but not quite "fits-all-purpose" way.
https://bugs.freedesktop.org/show_bug.cgi?id=106550
2018-05-24 13:21:40 +02:00
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