[fprint] RFC: [PATCH] BSAPI bridge driver for libfprint
Chow Loong Jin
hyperair at ubuntu.com
Wed Jun 29 01:20:27 PDT 2011
Hi all,
Seeing as there are a number of UPEK devices that weren't supported by
libfprint, I wrote a "bsapi" driver that uses dlopen to load libbsapi.so from
the proprietary UPEK SDK if it is present, allowing libfprint-using applications
to access unsupported UPEK devices.
I have only been able to test this with the 147e:1002 sensor that is embedded in
my Thinkpad Edge E220S, but based on the UPEK SDK documentation, as well as
fingerprint-gui which uses libbsapi directly, I think it should work for all
other UPEK sensors supported by this library.
The driver keeps conveniently out of the way if libbsapi.so is not available by
returning an error value in the discover() function.
Currently there are a number of caveats in the implementation:-
1. There's no way of telling asking libbsapi how many stages of enrolling are
actually needed, so the driver just pretends there's only one stage.
2. libbsapi has imaging support, but I haven't gotten around to figuring out
how to implement the driver as a fp_img_driver yet. I'll probably look into
it soon.
3. identify_{start,stop}() haven't been implemented. I'll get around to this
soon as well.
4. There is a TODO note near the usb_id table -- only one usbid has been listed
there so far, but ideally all the IDs supported by this driver should be
listed there. I'm not sure where I can get a list though.
The patch including this driver is attached. Comments welcome!
--
Kind regards,
Loong Jin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-virtual-BSAPI-bridge-driver.patch
Type: text/x-diff
Size: 18993 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/fprint/attachments/20110629/60d9ba62/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/fprint/attachments/20110629/60d9ba62/attachment.pgp>
More information about the fprint
mailing list