wordpress y2014 m07 d31 h11 single s-y2008 s-m04 s-d12 s-h07 s-category-debian s-category-hp-compaq-6515b s-category-linux s-category-tipstrickshowto s-author-irwan">
Skip to content

Using HP Compaq 6515b’s Fingerprint Sensor on Linux

I’m suddenly discovered that my laptop‘s fingerprint scanner is now working very well on Linux. First, here is the details;

Laptop Model: HP Compaq 6515b
Fingerprint Sensor Model: AuthenTec AES2501
Operating System: Debian Testing (Lenny)
Kernel Version: 2.6.24-1-amd64
Tools of the Trade: aes2501-wy, libfprint0, libpam-fprint, fprint-demo

Step1: Install related packages
——————————————-
The packages that need to be installed are aes2501-wy, libfprint0, libpam-fprint and fprint-demo. At present all of them (except aes2501-wy) are still in Debian experimental branch, you’ve been warned! Oh yes, I must thank Daniel Drake for the fprint project.

Essential URL’s,
aes2501 Homepage: http://home.gna.org/aes2501/index_en.html
libfprint Wiki: http://www.reactivated.net/fprint/wiki/Libfprint
PAM fprint Wiki: http://www.reactivated.net/fprint/wiki/Pam_fprint

Step2: Testing the aes2501 utility
———————————————
First, make sure you’re really using AuthenTec-based fingerprint senssor. Use lsusb to determine,

mij@unforgiven:~$ lsusb 
Bus 003 Device 003: ID 08ff:2580 AuthenTec, Inc.

Now, let’s testing the aes2501 utility,

mij@unforgiven:~$ sudo aes2501
argc=1 Initializing, please standby...
aesSetup()...
aesStartScan()...
READY (touch the sensor to stop)
Scanning...
Assembling...

You will receive an output like this after touching the sensor,
Output of fingerprint

Step 3: Integration With Applications
————————————————–
First of all, we need to enroll particular finger (I’m using right index finger),

unforgiven:~# pam_fprint_enroll --enroll-finger 7
This program will enroll your finger, unconditionally overwriting any selected print that was enrolled previously. If you want to continue, press enter, otherwise hit Ctrl+C

Found device claimed by AuthenTec AES2501 driver
Opened device. It's now time to enroll your finger.

You will need to successfully scan your Right Index Finger 1 times to complete the process.

Scan your finger now.
Enroll complete!
Enrollment completed!
  • E.g 1: Integration with su utility
    Edit /etc/pam.d/su and add below entry,

    auth       sufficient pam_fprint.so

    Let’s see how it works,

    mij@unforgiven:~$ su -
    Scan right index finger on AuthenTec AES2501
    
    unforgiven:~# 
    

    You can notice that I just need to swipe my finger instead of typing a password.

  • E.g 2: Integration with authentication process
    Edit /etc/pam.d/common-auth and add below entry,

    auth    sufficient      pam_fprint.so

    Let’s see how it works,

    Debian GNU/Linux lenny/sid unforgiven tty1
    
    unforgiven login: root
    Scan right index finger on AuthenTec AES2501
    
    Last login: Fri Apr 11 22:37:51 MYT 2008 on tty1
    Linux unforgiven 2.6.24-1-amd64 #1 SMP Thu Mar 27 16:52:38 UTC 2008 x86_64
    
    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    unforgiven:~#

    You can notice that I just need to swipe my finger instead of typing a password.

Yay! Now I can join Fenris with his thinkfinger on Thinpad. Of course, my examples here are quite simple. You can always manipulate and exploit the fprint capability more than this :)

Comment(s) via Facebook

{ 6 } Comments

  1. Danny | April 14, 2008 at 12:28 am | Permalink
    Using Mozilla Firefox Mozilla Firefox 2.0.0.13 on Windows Windows XP

    O man, freakin cool!!!

    Using Mozilla Firefox Mozilla Firefox 2.0.0.13 on Windows Windows XP
  2. Bruno | September 25, 2008 at 5:45 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 3.0.1 on Fedora Linux Fedora Linux

    What if I want to use either sensor or password? What do I need to add to /etc/pam.d/system-auth (Fedora) ?

    Using Mozilla Firefox Mozilla Firefox 3.0.1 on Fedora Linux Fedora Linux
  3. irwan | September 26, 2008 at 9:21 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 3.0.2 on Windows Windows XP

    Bruno,
    I’m not very sure, but try playing around with the Linux PAM.

    Using Mozilla Firefox Mozilla Firefox 3.0.2 on Windows Windows XP
  4. Bails | November 2, 2008 at 2:46 am | Permalink
    Using Debian IceWeasel Debian IceWeasel 3.0.3 on Debian GNU/Linux Debian GNU/Linux

    Very cool, thanks for sharing the info

    Using Debian IceWeasel Debian IceWeasel 3.0.3 on Debian GNU/Linux Debian GNU/Linux
  5. Jose Muanis | January 10, 2009 at 7:20 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 3.0.5 on Ubuntu Linux Ubuntu Linux

    Nice. Got it working on HP Compaq 6515b Ubuntu Linux 8.10.
    tks.

    Using Mozilla Firefox Mozilla Firefox 3.0.5 on Ubuntu Linux Ubuntu Linux
  6. marcel hartmann | February 4, 2009 at 10:55 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 3.0.5 on Fedora Linux Fedora Linux

    Got it worling on Fedora10 with yum install fprint

    and adding the pam file lines. If I have a Fingerprint which not matches the correct ones, then he askes for the password of the user :-)

    Fine, now trying to get gtk working now. Normally gnome-about-me should add a button for adding a fingerprint image for each user, but this is missing until now, googling around a little bit more than before… :-)

    Regards,
    Marcel

    Using Mozilla Firefox Mozilla Firefox 3.0.5 on Fedora Linux Fedora Linux

{ 1 } Trackback

  1. Using WordPress WordPress 2.7

    [...] http://blog.slyon.de/?p=165 http://blog.irwan.name/?p=471 [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *