指纹识别:HP 6515b的朋友可以用了

笔记本/便携移动设备,手机平板等软硬件
Lave
帖子: 35
注册时间: 2007-11-29 19:33

指纹识别:HP 6515b的朋友可以用了

#1

帖子 Lave » 2008-01-19 9:27

当然,可能其他机器也可以。现在支持的设备:
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"
cat /etc/group,如果组plugdev的成员中有你的用户名,就表示这步通过了。(我是重启使配置生效的)
三、修改/etc/pam.d/common-auth文件,使成为:

代码: 全选

auth    sufficient      pam_fprint.so
auth	required	pam_unix.so nullok_secure
表示先读取指纹,失败再要求输入密码。可以修改成其他策略,如只读取指纹。

劝朋友们先玩玩fprint_demo,比较直观;)
HP Compaq 6515b+Linux+Ubuntu+Sawfish+Emacs+Firefox...
布衣
帖子: 54
注册时间: 2008-02-22 16:20

指纹识别通过,特来感谢楼主并报到!

#2

帖子 布衣 » 2008-03-13 12:11

新换了Asus F8Sv的笔记本,看了楼主的文章,到fprint项目主页查看后惊喜地发现被libfprint支持的设备里包括Asus F3Sv,USB Vendor ID为08ff,USB Product ID为1600,连忙到系统-首选项-硬件信息里查看F8Sv的fingerprint设备,嘿嘿,USB Vendor ID和USB Product ID都吻合,看来F8Sv应该是能用的。

二话不说,下载了for ubuntu的deb包后安装,一切顺利。运行fprint_demo,出现楼主提到的问题二,修改/etc/udev/rules.d/40-permissions.rules并重新启动后解决。

fprint_demo可以跑了,pam_fprint_enroll当然也没有问题了,习惯使用右手食指,所以

代码: 全选

pam_fprint_enroll -f 7
最后修改/etc/pam.d/common-auth激活指纹认证,大功告成!
xionghaijian
帖子: 5
注册时间: 2008-01-04 21:31

#3

帖子 xionghaijian » 2008-03-20 22:14

我现在已经成功安装了,但现在只能认证root用户,普通用户在执行pam_fprint_enroll -f 7会提示如下错误。

user@ubuntu:~$ pam_fprint_enroll -f 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!

fp:error [fp_print_data_save] couldn't create storage directory
Data save failed, code -1
user@ubuntu:~$

从错误提示来看,应该是普通用户没有权限来运行应用程序。

能帮帮我吗?谢谢!
xionghaijian
帖子: 5
注册时间: 2008-01-04 21:31

#4

帖子 xionghaijian » 2008-03-30 21:23

怎么石沉大海了?
xionghaijian
帖子: 5
注册时间: 2008-01-04 21:31

终于解决了

#5

帖子 xionghaijian » 2008-03-30 21:42

http://gentoo-wiki.com/HARDWARE_Lenovo_Thinkpad_X61s

Note: pam_fprint_enroll failed on my user account because permissions in ~/.fprint directory was set to root:root . Solution is simple: chown -R user:user ~/.fprint

默认~./fprint目录的属主是root,所以在运行pam_fprint_enroll -f 7时,记录指印信息的文件能够写入!

user@ubuntu:~$ pam_fprint_enroll -f 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!
noword2k
帖子: 16
注册时间: 2008-03-22 10:20

#6

帖子 noword2k » 2008-04-03 23:00

谢谢楼上各位。
我在HP 2510P上安装成功。
可是在开机登录,输入用户名后,没有任何提示。
一开始以为所pam_fprint.so不支持图形界面,可如果在挂起后恢复时,却有提示刷指纹的对话框出现。
有什么方法能让提示框正常显示吗?
mobiux
帖子: 4
注册时间: 2006-12-10 14:42

#7

帖子 mobiux » 2008-05-25 16:41

如何修改/etc/pam.d/common-auth文件,使得只验证指纹,我的意思是验证一次指纹失败后,会继续要求验证指纹,而不是要求输入密码?
mobiux
帖子: 4
注册时间: 2006-12-10 14:42

#8

帖子 mobiux » 2008-05-25 17:54

找到暂时解决方法:

代码: 全选

auth    sufficient      pam_fprint.so
auth   required   pam_unix.so nullok_secure
改成

代码: 全选

 auth   required      pam_fprint.so
#auth   required   pam_unix.so nullok_secure
thomsi
帖子: 67
注册时间: 2007-08-17 14:04

Re: 指纹识别:HP 6515b的朋友可以用了

#9

帖子 thomsi » 2008-11-19 7:00

好东西,回家也在我的 ACER上试试,一直没找到UBUNTU上的指纹识别驱动方法,希望可以!谢谢!
头像
yifei99
帖子: 99
注册时间: 2008-08-11 16:55

Re: 指纹识别:HP 6515b的朋友可以用了

#10

帖子 yifei99 » 2008-11-26 17:21

哦?如果华硕可以支持的话,那么海尔本本的指纹识别也应该不成问题吧?研究一下有空。哈。
inactive
帖子: 21
注册时间: 2008-02-08 0:40

Re: 指纹识别:HP 6515b的朋友可以用了

#11

帖子 inactive » 2008-12-07 17:08

网页失效了?


:em20

楼主的软件还有地方下载么?
inactive
帖子: 21
注册时间: 2008-02-08 0:40

Re: 指纹识别:HP 6515b的朋友可以用了

#12

帖子 inactive » 2008-12-07 21:17

用上了,原来8.10的新利得软件包就有

谢谢楼主的分享
头像
arvan
帖子: 190
注册时间: 2005-08-02 18:04
来自: Lanzhou
联系:

Re: 指纹识别:HP 6515b的朋友可以用了

#13

帖子 arvan » 2008-12-07 21:26

刚刚换成HP540。。。很想看看Ubuntu下的指纹识别。
Jonathan Swift - "May you live every day of your life."
头像
piervan
帖子: 24
注册时间: 2008-02-23 16:35
来自: 杭州

Re: 指纹识别:HP 6515b的朋友可以用了

#14

帖子 piervan » 2008-12-08 18:59

hp6515b搞定! :em09
Ubuntu 8.04
AMD Turion 64×2 Mobile TL-60 2.0G
RAM DDRII 2048MB 667MHz
ATI Radeon X1250
TOSHIBA MK1646GSX ATA 160G
MATSHITA DVD-RAM
badboymx7
帖子: 4
注册时间: 2009-02-02 11:40

Re: 指纹识别:HP 6515b的朋友可以用了

#15

帖子 badboymx7 » 2009-02-02 13:45

:em20 我用的是hp dv2727 经实验证实:可以在启动时用指纹登录 但进入系统后fprint-demo并不稳定 经常导致首选项和系统管理无法使用(因为需要管理员权限) 而且终端的指纹识别也时好时坏 偶尔会出现“段错误“ 挺让人郁闷的 最后小弟删之 问题利马解决了 :em06 我在也不用fprint了 等它稳定了再说把
回复