Commit Graph
54 Commits
Author SHA1 Message Date
Bastien Nocera f59bf389d9 INSTALL: Update for Meson 2018-05-18 01:16:30 +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 dac153d24a build: Port to meson
And remove the autotools. Faster, cleaner.

https://bugs.freedesktop.org/show_bug.cgi?id=106514
2018-05-15 10:46:54 +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
Bastien Nocera 3bf55a3e07 examples: Fix compile-time warning
Fix "function declaration isn’t a prototype" warning
2018-05-14 17:35:51 +02:00
Bastien Nocera 5226467fc2 build: Make NSS (and URU4000) driver optional
In case NSS isn't available.

https://bugs.freedesktop.org/show_bug.cgi?id=106278
2018-05-11 11:13:25 +02: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
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
Bastien Nocera ee32166267 0.6.0 2015-02-03 17:36:32 +01:00
Bastien Nocera 9e2f8b5e75 0.5.1 2013-08-11 17:53:21 +02: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
Bastien Nocera 02509e1073 build: udev rules must be created when building from git
https://bugs.freedesktop.org/show_bug.cgi?id=59076
2013-01-07 12:36:45 +01:00
Bastien Nocera a5ec0b30e1 0.5.0 2012-12-03 16:28:00 +01:00
Bastien Nocera 29cf86a02e build: Fix configure-time warning
Due to missing quotes
2012-12-03 16:28:00 +01:00
Bastien Nocera 7892c943e6 build: Create .tar.xz distribution by default 2012-12-03 16:28:00 +01:00
Bastien Nocera 258ac2d4da build: Build all the drivers by default 2012-12-01 15:10:13 +01:00
Bastien Nocera 9e92d4cf2c examples: Fix compile-time warnings
A few signedness problems.
2012-11-06 09:30:40 +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
Bastien Nocera 0f7ad00fc4 HACKING: Update with bugzilla link 2012-10-15 11:46:03 +02:00
Bastien Nocera 132b178304 lib: Add driver names to the udev rules 2012-08-28 20:02:17 +01:00
Bastien Nocera 3d222ddda7 lib: Fix whitespace errors 2012-08-28 19:45:08 +01:00
Bastien Nocera 080c414ce9 build: Whitespace fixes in configure.ac 2012-08-28 19:45:08 +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
Bastien Nocera d05c69698c build: Fix distcheck'ing not working
We need to be able to override the udev rules directory for
distchecking to work.
2012-08-14 15:12:20 +01:00
Bastien Nocera 2d09b10a27 build: Include udev rules in tarball 2012-08-14 14:52:58 +01:00
Bastien Nocera bc03d56186 build: Add list of drivers to include when distchecking 2012-08-14 14:51:23 +01:00
Bastien Nocera 96e7224a23 build: Fix distchecking of examples directory 2012-08-14 14:48:43 +01:00
Bastien Nocera dfff16f3e3 Don't print duplicate udev rules
https://bugs.freedesktop.org/show_bug.cgi?id=45513
2012-02-02 05:28:17 +00:00
Bastien Nocera f8aa82a554 0.4.0 2011-04-18 18:02:37 +01:00
Bastien Nocera 1451a2dde2 build: Quiet by default 2011-04-08 15:38:33 +01:00
Bastien Nocera aab031ce37 0.3.0 2010-09-08 11:11:31 +01:00
Bastien Nocera 6bfc516553 Add test program for C++ support
So that we don't regress
2010-09-08 11:03:58 +01:00
Bastien Nocera 15b8e8f376 Remove HAL fdi generation
HAL is deprecated, and the rules are broken when multiple
drivers use the same USB IDs.
2010-08-25 11:20:55 +01:00
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
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
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
Bastien NoceraandDaniel Drake 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 NoceraandDaniel Drake d816fed5c3 Disable finger_num_to_str when debugging is disabled
One less warning.
2008-11-25 16:08:58 +00:00
Bastien NoceraandDaniel Drake 749bb3e30e Export scan type through HAL
Also export the scan type through HAL.
2008-11-24 17:19:36 +00:00
Bastien NoceraandDaniel Drake 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 NoceraandDaniel Drake 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