1. 12 Nov, 2007 1 commit
  2. 04 Nov, 2007 5 commits
    • Daniel Drake's avatar
      uru4000: add Digital Persona U.are.U 4000 support · 8e7afef7
      Daniel Drake authored
      My UareU4000 device isn't working properly -- only seeing an all-white
      image and no finger-on detection, however I think this code should work
      for working devices.
      8e7afef7
    • Daniel Drake's avatar
      Fix img_capture_continuous build · f498fcd1
      Daniel Drake authored
      Also enable it in the default development build
      f498fcd1
    • Daniel Drake's avatar
      uru4000: retry scanner powerup 3 times · f733ddcc
      Daniel Drake authored
      When we include the await_finger_off procedure (i.e. set mode 12), the
      current power-up code is unreliable - no 56aa interrupt arrives sometimes.
      Comparing the F0 data and hwstat at this point between a working and a
      non-working run yields no differences.
      
      Work around this issue by retrying power-on 3 times.
      f733ddcc
    • Daniel Drake's avatar
      uru4000: handle images without headers · cbe1111e
      Daniel Drake authored
      While testing the new code on my MS keyboard, I found some strange
      conditions where occasionally, the device will stop providing images
      headers until it is replugged.
      
      Detect and work around this when it happens.
      cbe1111e
    • Daniel Drake's avatar
      API documentation · 2e6c3b94
      Daniel Drake authored
      2e6c3b94
  3. 02 Nov, 2007 1 commit
  4. 31 Oct, 2007 4 commits
    • Daniel Drake's avatar
      uru4000: interrupt handling fixes · fc77786e
      Daniel Drake authored
      This should improve driver stability somewhat. Powerup problems seem to
      happen when we receive 3 unrelated interrupts while waiting for the
      power-on interrupt, so let's assume that the device can only buffer 3
      interrupts, and when the buffer is full, it discards new ones.
      
      When we detect a possible buffer overflow, ask the caller to retry the
      operation.
      
      Also, saw the interrupt of death a few times, so add in a warning when
      this happens. Haven't seen it since handling interrupt overflows though.
      fc77786e
    • Daniel Drake's avatar
      upekts: initialise and deinitialise device during verify/capture · 07a81b07
      Daniel Drake authored
      Otherwise it heats up, and verify retries fail because we didn't end the
      session.
      07a81b07
    • Daniel Drake's avatar
      Build system tweaks · fc0a97a8
      Daniel Drake authored
      Install fprint.h header
      Include headers in distribution
      distcheck fixes
      Include and install pkgconfig file
      fc0a97a8
    • Daniel Drake's avatar
      Print discovery · 447b1f01
      Daniel Drake authored
      Add concept of "discovered prints" and flesh out the API. A discovered print
      was found based on file name but has not been checked for file integrity,
      and of course there is no guarantee that it is usable when you try to
      use it later (might have been deleted, etc).
      
      The .fprint directory structure was changed - instead of using mnemonics
      like "rind" we use their numeric value in the fp_finger enum as the filename.
      447b1f01
  5. 30 Oct, 2007 3 commits
  6. 29 Oct, 2007 1 commit
  7. 28 Oct, 2007 3 commits
    • Daniel Drake's avatar
      Improve print_data structure and on-disk format · 294f9ad4
      Daniel Drake authored
      Drivers now have an ID number. These will be assigned by me and documented
      on the wiki. 0 cannot be used.
      
      Drivers now define a devtype for each device they initialise. This is to
      cope with the situation where a driver can support varying devices where
      their print data is incompatible (i.e. image scaling is totally changed).
      This doesn't apply to any existing supported devices.
      
      Print data no longer includes driver name, and includes driver ID instead.
      
      Paths to saved print data now include driver ID and devtype, and no longer
      include driver name.
      
      APIs exposed for converting a print_data into a blob which can then
      be loaded back again later. Useful for systems who don't want to use
      my simple storage system (which is only aimed at a single user).
      
      File format is now defined and will be documented on the wiki. The header
      is larger as we can no longer rely on directory paths in all scenarios.
      
      Print data compat check now checks devtype and driver ID.
      294f9ad4
    • Daniel Drake's avatar
      NBIS cleanup · 4e5cfdf9
      Daniel Drake authored
      Part 1 of many. Remove some unused/pointless code, and made some code
      static.
      4e5cfdf9
    • Daniel Drake's avatar
      Add bozorth3 from NBIS; implement verify for image devices · 6b8d17ef
      Daniel Drake authored
      uru4000 works splendiferously (YAY!)
      aes4000 is going to need some work though :(
      6b8d17ef
  8. 27 Oct, 2007 7 commits
  9. 26 Oct, 2007 3 commits
  10. 25 Oct, 2007 2 commits
  11. 23 Oct, 2007 1 commit
    • Daniel Drake's avatar
      Basic image driver foundations · 2709c6dc
      Daniel Drake authored
      The basic model is that image drivers declare a fp_img_driver structure
      rather than a fp_driver struct. fp_img_driver will contain primitive imaging
      operations such as 'scan finger and return image'. The imgdev layer will
      generically implement the primitive fp_driver operations, and the imgdev
      layer will fix up the enroll/verify/etc pointers at driver registration
      time.
      
      Removed const from all fp_driver declarations, as these are now modified
      dynamically in the case of imaging drivers.
      2709c6dc
  12. 16 Oct, 2007 4 commits
  13. 15 Oct, 2007 4 commits
  14. 13 Oct, 2007 1 commit
    • Daniel Drake's avatar
      Enrollment: improved error reporting · 39271b4f
      Daniel Drake authored
      Convert enrollment function to return a signed integer, which is negative
      on error or corresponds into fp_enroll_result otherwise.
      Now we can treat a 'FAIL' condition differently from an actual error: fail
      means that enrollment didn't complete because the data was nonsense or
      whatever (e.g. scanned a different finger for each stage?).
      
      Updated upekts accordingly.
      39271b4f