[fprint] uru4000, number of enroll stages

Timo Teras timo.teras at iki.fi
Tue Jun 24 11:34:13 PDT 2014


On Tue, 24 Jun 2014 19:39:26 +0200
Martin Hejnfelt <martin at duffman.dk> wrote:

> I'm using a Digital Persona U.are.U 4500 and using the current
> libfprint from git. I can see in the git log that there were some
> changes in the nr_enroll_stages, that was changed to 5 for all
> devices. This seems to not make the U.are.U 4500 happy, as it goes
> into some sort of disco mode, upon the second enroll stage. First
> enrollment stage goes fine, second one it starts blinking with the
> red diodes and libfprint continously hammers the log with this:
> 
> Now if I change the nr_enroll_stages in imgdev.c to 1, it all goes
> good and the device works "properly" although I guess matching rate
> could then be improved if this could be worked out?
> 
> Any clues here?

Would the following fix it?

--- a/libfprint/drivers/uru4000.c
+++ b/libfprint/drivers/uru4000.c
@@ -773,11 +773,7 @@ static void imaging_run_state(struct fpi_ssm *ssm)
                if (!urudev->profile->encryption)
                        fpimg->flags |= FP_IMG_V_FLIPPED | FP_IMG_H_FLIPPED;
                fpi_imgdev_image_captured(dev, fpimg);
-
-               if (urudev->activate_state == IMGDEV_STATE_CAPTURE)
-                       fpi_ssm_jump_to_state(ssm, IMAGING_CAPTURE);
-               else
-                       fpi_ssm_mark_completed(ssm);
+               fpi_ssm_mark_completed(ssm);
                break;
        }
 }


More information about the fprint mailing list