Results 1 to 3 of 3

Thread: How to use AuthenTec, Inc. AES2501 Fingerprint Sensor in bash script

  1. #1
    Join Date
    Mar 2014
    Beans
    8

    Exclamation How to use AuthenTec, Inc. AES2501 Fingerprint Sensor in bash script

    Could you please help me how to use USB fingerprint reader in bash script to make possible accept or reject user?

    For example

    Ubuntu is asking (console):

    "Please scan your finger."

    And then (based on result) we can have:

    "You was recognized as Mariusz. Hello Mariusz" (and accepted.sh will be executed then)

    or

    "I cannot to find you in my database. Sorry" (and rejected.sh will be executed then)

    My fingerprint is:

    Bus 002 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor

    Could you please try to help me? I was asking / tried a lot of times in many places but I cannot to find any support in this topic.

    I need it to run my home security system (
    http://rasp485berry.wordpress.com/ )

    Thank you very much for any help.

    Best regards
    Mariusz Ciszewski.

  2. #2
    Join Date
    Mar 2014
    Beans
    8

    Re: How to use AuthenTec, Inc. AES2501 Fingerprint Sensor in bash script

    Sollution:

    1. First fingerprint scan:

    Code:
    root@msi:/home/mariusz# fprintd-enroll
    Using device /net/reactivated/Fprint/Device/0
    Enrolling right index finger.
    Enroll result: enroll-stage-passed
    Enroll result: enroll-stage-passed
    Enroll result: enroll-stage-passed
    Enroll result: enroll-stage-passed
    Enroll result: enroll-completed

    2. Verification:

    Code:
    root@msi:/home/mariusz# fprintd-verify
    Using device /net/reactivated/Fprint/Device/0
    Listing enrolled fingers:
     - #0: right-index-finger
    Verify result: verify-match (done)

    3. Time interval effect exist

    You can check it playing with this script:

    Code:
    #!/bin/sh
    
    
    res=`timeout 5 fprintd-verify | grep result`
    
    
    if [ "$res" = "" ]
     then
     echo "`date +%Y.%m.%d-%T` - rescan to fast, please wait a few seconds..."
     fi
    
    
    if [ "$res" = "Verify result: verify-match (done)" ]
     then
     echo "`date +%Y.%m.%d-%T` - acces confirmed"
     fi
    
    
    if [ "$res" = "Verify result: verify-not-match (done)" ]
     then
     echo "`date +%Y.%m.%d-%T` - acces dennied"
     fi

  3. #3
    Join Date
    Mar 2014
    Beans
    8

    Re: How to use AuthenTec, Inc. AES2501 Fingerprint Sensor in bash script

    But this sollution is valid for one user only (and one finger only).

    If I need to use it for more than only one user it is not possible.

    So I'm still searching for sollution for many users.

    Please let me know if there are any other ideas.
    Last edited by mariusz-ciszewski; March 18th, 2014 at 05:40 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •