Hi everyone. My name is Carlos from México. I recently got to know the 
libfprint project and I'm interested in using the library.



I made a port of libfprint for Windows O.S. using MSYS2 and works fine. I have 
tested the examples provided in the library v1.90.6 for the enroll and verify 
processes in Linux (Ubuntu 18.04 LTS) and Windows using the device: Digital 
Persona U are U 4500.



When I testing the examples I found a possible error (really I don't known if 
really is an error or I'm not using correctly the library). When the process 
for Enroll or Verify is executing and ask for the FINGER ON, if I unplug the 
USB device then the user callback will never be called. Internally the device 
is DEACTIVATE so the state change to DEACTIVATE but the action remains as 
FPI_DEVICE_ACTION_ENROLL or FPI_DEVICE_ACTION_VERIFY according to the case. 
This is a problem because I'm never notified and it causes the app to hang.



If I plug the device again nothing happens, just a message saying it can't be 
bind.

If I prepare the examples for GCancellable, create a signal handler for SIGINT 
and execute g_cancellable_cancel inside the signal handler, nothing happens, it 
only indicates that the device is already DEACTIVATE



If I try to close the device I have an error FP_DEVICE_ERROR_BUSY.



So someone can help me?



Thanks.

_______________________________________________
fprint mailing list
fprint@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/fprint

Reply via email to