Get your fingerprint reader to work in Ubuntu
Project fprint homepage: http://reactivated.net/fprint/wiki/Main_Page
Packages for fprint: http://www.madman2k.net/comments/105
The fprint project aims to plug a gap in the Linux desktop: support for consumer fingerprint reader devices.
Previously, Linux support for such devices has been scattered amongst different projects (many incomplete) and inconsistent in that application developers would have to implement support for each type of fingerprint reader separately. For more information on where we came from, see the project history page.
We're trying to change that by providing a central system to support all the fingerprint readers we can get our hands on. The software is open source and in the long term we're shooting for adoption by distributions, integration into common desktop environments, etc.
Note: These instructions are intended for Ubuntu Hardy. I have not personally tried this on Gutsy, but if it works, let me know.
First off, remember that fprint is not entirely stable, and may not work all the time. A list of supported devices is here, and the list of unsupported devices is here.
1. First thing to do is add the [third-party] fprint repository to your sources file:
echo -e "# Fingerprint reader support (fprint)\ndeb http://ppa.launchpad.net/madman2k/ubuntu hardy main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
2. Next, update your sources and install fprint:
sudo apt-get update
sudo apt-get install fprint-demo libfprint-dev libfprint0 libpam-fprint
3. Now you can enroll your fingers using either the terminal or a graphical user interface.
Terminal:
pam_fprint_enroll
GUI:
fprint_demo
4. Last thing to do is configure PAM so that the fingerprint reader can be useful. Open up your PAM authentication file and edit it:
sudo gedit /etc/pam.d/common-auth
5. Edit it to contain:
auth sufficient pam_fprint.so
auth required pam_unix.so nullok_secure
6. Enjoy your fingerprint reader support!
Steps 4 and 5 tell Ubuntu to check your fingerprint, and if that fails, then ask your password. This rule has some exceptions, one that I have encountered is on the login screen. I have to scan my fingerprint before typing my password. One thing I did notice is that when you use sudo in the terminal, it asks for your fingerprint, which I thought was pretty cool. One disadvantage is that anything using gksu does not seem to work properly, specifically because it does not tell you to scan your finger when needed.
Troubleshooting:
The one problem I ran into when using fprint was that I could not run fprint_demo without sudo. It failed with the error message below:
uru4000:error [dev_init] interface claim failed
fp:error [fp_dev_open] device initialisation failed, driver=uru4000
I decided to post my problem here on the forums.
Here is the solution. You have to add yourself to the plugdev group and then change the permissions of the usb folder to allow access to the plugdev group. You can verify you are in the plugdev group by using groups:
sudo usermod -a -G plugdev $USER
groups | grep plugdev # Make sure there is output from this
sudo chgrp -R plugdev /dev/bus/usb/
Then try running fprint_demo, and hopefully it will work:
fprint_demo
This content was found on the Ubuntu forums, please see here for updates
Comments (26)

Comments by IntenseDebate
pezmanlou · 884 weeks ago
For those interested, this is my fingerprint reader:
045e:00bd Microsoft Corp. Fingerprint Reader
Sudev Barar 0p · 883 weeks ago
I am using HP tx1000 with Authentec aes1610
Pierre · 883 weeks ago
Nice howto, the problem for me is that when I reboot, the permissions on /dev/bus/usb is set to root:root again ? Any suggestions ?
Thanks
Pi-r
Manish · 882 weeks ago
ChefBodini · 882 weeks ago
Tom A. · 881 weeks ago
I tried this on my HP TX 1320us, and it installed like a charm. My problem is that now using fprint_demo i can enroll a finger, but have not yet managed to get anything other then "Status: Finger does not match" when I use the verify/identify option. Anyone knows why that is (am i doing something wrong).
Lastly, once i get this thing working, how to i use it to sign into Ubuntu?
thanks
RJGII · 879 weeks ago
As mentioned above, after trying to authenticate in certain areas, my system just spins for a bit, and nothing loads.
Also, when logging in, I have to type my username and password, swipe my finger, then enter my password again before being allowed to log in.
Anyone else running into any of these issues?
I'll post back if I figure any of it out.
~RJGII
jj · 879 weeks ago
Found device claimed by UPEK TouchStrip driver
fp:error [fp_dev_open] device initialisation failed, driver=upekts
Could not open device.
Any ideas?
Thanks,
jj
n00b · 876 weeks ago
thanks
Ray · 870 weeks ago
Cheers
Ray
BuggyDE · 865 weeks ago
M H · 863 weeks ago
Couldn't find package fprint-demo
anyone seen this?
greyhat · 861 weeks ago
got this error when fetching the packages with apt:
------------
nuno@carla-laptop:/$ sudo apt-get install fprint-demo libfprint-dev libfprint0 libpam-fprint
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package fprint-demo
nuno@carla-laptop:/$
------------
and yes i did verify that the repo is in the source.list.
any ideas? help!
Ofir · 860 weeks ago
To add it:
System --> Administration --> Synaptic Package Manager
Settings --> Repositories --> Updates --> Add unsupported updates
nasrat · 857 weeks ago
Segmentation fault [/code]
any help ?
thanks
godzilla · 857 weeks ago
Gumm · 855 weeks ago
Uses the upekts driver for the UPTEK TouchStrip
Had to add the pam fprint options before any other options in the config file as suggested by ChefBodini above. The only problem is that the GTK pop-up windows that normally used to prompt for a password, now simply don't appear. But scanning the fingerprint, does log me into the application.
Nice work guys :)
Joel · 853 weeks ago
Thank you for this how-to, worked like a charm. I tried to use thinkfinger without success, this worked flawlessly.
One question though. If I try to log in and i use the wrong finger, the screen defaults to the password. Is there a way to remove the password option?
I would imagine it would be commenting out the original code in /etc/pam.d/common-auth?
Only confirming the concept here.
Thanks for any input.
José Raul Arana · 844 weeks ago
Thank you very much!! it has worked perfectly. I'm using ubuntu 8.10 Intrepid Ibex with a Dell vostro 1310 with upek fingerprint reader. I had to enter every command, inclusive the ones detailed on the troubleshooting.
The only thing that i have done different was the editing of the common-auth file.
I had to put the auth sufficient pam_fprint.so line before any other line to make it work perfect...
Thank you very much excellente work, much appreciated...
Daniel · 844 weeks ago
I works in a Fujitsu s7110!!!! However, does not open any screen in the login process. Any suggestion?
Nic · 841 weeks ago
Felix · 839 weeks ago
any other software ???
dizy · 837 weeks ago
JohnY · 829 weeks ago
My one complaint (well niggle really), and it really is a small thing, is that as others have mentioned it doesn't tell you when it's waiting for you to swipe (unless you have terminal open), but I get around this by just swiping my finger every time I'm asked for my password which works every time, in fact it's become second nature to me now :-)
Keep up the good work and I'm sure this will be become a standard package in most if not all distributions, it's way ahead of (and far more reliable / stable than) other similar projects.