- 27 Aug, 2018 2 commits
-
-
Bastien Nocera authored
This updates NBIS to its latest 5.0.0 version, dated 04/03/2015, from a 1.x version, dated 2007. Original sources are available at: https://www.nist.gov/itl/iad/image-group/products-and-services/image-group-open-source-server-nigos#Releases And full change log at: https://www.nist.gov/sites/default/files/documents/2016/12/14/changelog.txt
-
Bastien Nocera authored
NBIS is pretty complicated to update, seeing as we've made quite a few changes to get it to compile as a library. With those scripts, we can easily trim headers to remove functions we don't use, rename global variables, and do any sort of fixups that are necessary right now. In the future, removing unused NBIS functions might be as easy as updating that script, re-running it, and pushing the changes. Note that remove-function.lua is a very crude parser that only supports NBIS' style of declaration, with the return type on the same line as the function name. I wouldn't recommend trying to use it in another project. Callcatcher (https://github.com/caolanm/callcatcher) was also used to remove additional unused functions.
-
- 24 Aug, 2018 1 commit
-
-
Bastien Nocera authored
It's gone in NBIS 5.0.0, and will need to be replaced after the update.
-
- 10 Aug, 2018 10 commits
-
-
Bastien Nocera authored
elan: Send stop cmd and recalibrate after each capture See merge request libfprint/libfprint!11
-
This seems to fix the lock-up issue with 0903
-
Bastien Nocera authored
Update Elan driver See merge request libfprint/libfprint!10
-
Bastien Nocera authored
-
Based on experience. Values more than 24 seem to work just after enrollment, but it becomes very hard to verify in a day or so.
-
There has been a report that a 0x0c03 was installed straight (other readers so far have produced images that are 90 degrees rotated). There is no way for the dirver to know how a device is installed, so for now just make an exception.
-
-
Frame height is a loosely experience-backed guesstimation. 50 seems to be a good middle ground between swipe speed and quality.
-
-
Sensor reset code has been removed because it is not needed during normal operation. Calibration and frame processing logic has been improved according to recommendations from Elantech.
-
- 09 Aug, 2018 2 commits
-
-
-
Make each command a separate struct to get finer control over which commands are called on which devices. Update ssm's accordingly. Add sensor_reset and fuse_load commands. Support 0x0903, 0x0c03, 0x0c16, 0x0c1a, 0x0c26
-
- 20 Jul, 2018 2 commits
-
-
Bastien Nocera authored
build: Fix build with newer meson See merge request libfprint/libfprint!9
-
Bastien Nocera authored
The gtk-doc meson helper regressed in that it didn't expect the libfprint.types file to not exist, as earlier versions did. Remove the --rebuild-types call so that it is not generated, and meson carries on compiling the rest of the library. See https://gitlab.gnome.org/GNOME/gtk-doc/issues/48 See https://github.com/mesonbuild/meson/issues/3892 See https://bugzilla.redhat.com/show_bug.cgi?id=1604585
-
- 18 Jul, 2018 1 commit
-
-
Bastien Nocera authored
lib: Include more standard headers for drivers to use See merge request libfprint/libfprint!8
-
- 17 Jul, 2018 4 commits
-
-
Bastien Nocera authored
Such as string.h and stdlib.h, to be able to compile on older toolchains like that of Fedora 27.
-
Bastien Nocera authored
-
Bastien Nocera authored
Another assert downgrade See merge request libfprint/libfprint!7
-
Bastien Nocera authored
It failed to finish the build otherwise: https://github.com/mesonbuild/meson/issues/3892
-
- 16 Jul, 2018 2 commits
-
-
Bastien Nocera authored
Similarly to b1ac865a, downgrade fp_err() to be non-fatal. A number of drivers would spit out an error when encountering this call, but not crash, carry on and most of the time recover. Make sure we don't assert in those cases.
-
Bastien Nocera authored
Same as b1ac865a but for the drivers API.
-
- 03 Jul, 2018 2 commits
-
-
Bastien Nocera authored
lib: Downgrade BUG* assertions to work-around crashes Closes #77 See merge request libfprint/libfprint!6
-
Bastien Nocera authored
BUG() and BUG_ON() didn't use to assert, but only print an error if debugging was enabled. This was hiding a lot of state bugs in drivers, and transforming those into assertions causes crashes. Downgrade the assertion to only print a warning, and hope that those eventually get fixed in the drivers so we can re-enable them. Closes: #77
-
- 26 Jun, 2018 2 commits
-
-
Bastien Nocera authored
poll: Fix fp_get_pollfds retval type See merge request libfprint/libfprint!5
-
Bastien Nocera authored
fp_get_pollfds() is supposed to return a negative value on failure, but size_t is an unsigned integer. Use ssize_t instead.
-
- 20 Jun, 2018 1 commit
-
-
Bastien Nocera authored
upekts: Fix enrollment never finishing on some upekts devices See merge request libfprint/libfprint!3
-
- 19 Jun, 2018 1 commit
-
-
Bastien Nocera authored
Add support for more device status codes, brought back from the now-removed UPEKE2 driver. See https://gitlab.freedesktop.org/libfprint/libfprint/blob/3bf55a3e0766ca90f5befc1ed161b1c83005a962/libfprint/drivers/upeke2.c#L1013
-
- 18 Jun, 2018 2 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
- 13 Jun, 2018 2 commits
-
-
Bastien Nocera authored
elan: Add USB ID for TNP Nano USB Fingerprint Reader (04f3:0c26) See merge request libfprint/libfprint!1
-
Corentin Noël authored
The device works without any additional changes to the driver. https://www.amazon.co.uk/gp/product/B075955HY7/
-
- 12 Jun, 2018 5 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
The udevdir variable in udev.pc might not have a trailing slash.
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
- 08 Jun, 2018 1 commit
-
-
Bastien Nocera authored
We need to call setlocale() so we run in UTF-8 mode, and can print that sweet sweet em dash.
-