http://www.reactivated.net/fprint/wiki/ ... ed_devices
项目地址:
http://www.reactivated.net/fprint/wiki/Main_Page
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.
由三部分组成,libfprint是主要部分,必须;pam_fprint,利用libfprint进行验证,从而允许你登录的程序,必须;frpint_demo,是个gtk程序,测试libfprint用,比较直观,可选。每个部分的编译安装,我都是
./configure --prefix=/usr && make && sudo make install
完成的,正常使用。
装32位版本的朋友可以从这个网址直接下载deb包,省去很多麻烦。
http://www.madman2k.net/comments/105
下面是我遇到的问题及解决办法:
一、configure不通过,缺少头文件。安装libusb-dev,libglib2.0-dev,libmagick9-dev。
二、运行pam_fprint_enroll出现错误:error [dev_init] could not claim interface 0。把/etc/udev/rules.d/40-permissions.rules中行:
代码: 全选
SUBSYSTEM=="usb_device", MODE="0664"
代码: 全选
SUBSYSTEM=="usb_device", MODE="0664", GROUP="plugdev"
三、修改/etc/pam.d/common-auth文件,使成为:
代码: 全选
auth sufficient pam_fprint.so
auth required pam_unix.so nullok_secure
劝朋友们先玩玩fprint_demo,比较直观;)