Re: fprint (finger print sensor framework) port ready for testing

2008-04-17 Thread Outback Dingo
any luck on this ?

On Wed, Apr 16, 2008 at 2:43 AM, Simon Barner [EMAIL PROTECTED] wrote:

 Outback Dingo wrote:
  pam_fprint works (see below) but when i try to run the fprint demo i get
 
  STATUS: No Devices Found

 Are you sure you have r/w access to the sensor's USB device?
 
  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 UPEK TouchStrip driver
  Opened device. It's now time to enroll your finger.
 
  You will need to successfully scan your Right Index Finger 3 times to
 complete
  the process.
 
  Scan your finger now.
  upekts:error [read_msg] non-zero bytes in cmd response
  upekts:error [read_msg28] expected response, got -1 seq=40

 Something seems to go wrong. I have never seenn this error message.

 Which sensor are you using? Can you send me the output of `usbdevs -vd'
 in a private mail please?

 --
 Best regards / Viele Grüße, [EMAIL PROTECTED]
  Simon Barner[EMAIL PROTECTED]

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fprint (finger print sensor framework) port ready for testing

2008-04-16 Thread Outback Dingo
Yupp I even set the permissions 777 and added the user i tested to group
operator still no joy
ive used the upek port no problems even with GDM. the root user works
great, but regular users cant even register

ls -al /dev/ugen*
crw-rw-rw-  1 root  operator0,  84 Apr 15 14:14 /dev/ugen0
crw-rw-rw-  1 root  operator0,  85 Apr 15 14:14 /dev/ugen0.1
crw-rw-rw-  1 root  operator0,  86 Apr 15 14:14 /dev/ugen0.2
crw-rw-rw-  1 root  operator0,  87 Apr 15 14:14 /dev/ugen0.3
crw-rw-rw-  1 root  operator0,  88 Apr 15 14:14 /dev/ugen0.4
crwxrwxrwx  1 root  operator0,  89 Apr 15 14:14 /dev/ugen1
crwxrwxrwx  1 root  operator0,  90 Apr 15 14:14 /dev/ugen1.1
crwxrwxrwx  1 root  operator0,  91 Apr 16 01:34 /dev/ugen1.2
crwxrwxrwx  1 root  operator0,  92 Apr 15 14:14 /dev/ugen1.3

usbdevs -vd
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
  uhub0
 port 1 powered
 port 2 addr 2: low speed, power 98 mA, config 1, USB Receiver(0xc521),
Logitech(0x046d), rev 57.00
   ums0
   uhid0
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
  uhub1
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
  uhub2
 port 1 addr 2: full speed, self powered, config 1, BCM2045B(0x2110),
Broadcom Corp(0x0a5c), rev 1.00
   ugen0
 port 2 addr 3: full speed, power 100 mA, config 1, Biometric
Coprocessor(0x2016), STMicroelectronics(0x0483), rev 0.01
   ugen1
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
  uhub3
 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x),
Intel(0x), rev 1.00
  uhub4
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered




On Wed, Apr 16, 2008 at 2:43 AM, Simon Barner [EMAIL PROTECTED] wrote:

 Outback Dingo wrote:
  pam_fprint works (see below) but when i try to run the fprint demo i get
 
  STATUS: No Devices Found

 Are you sure you have r/w access to the sensor's USB device?
 
  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 UPEK TouchStrip driver
  Opened device. It's now time to enroll your finger.
 
  You will need to successfully scan your Right Index Finger 3 times to
 complete
  the process.
 
  Scan your finger now.
  upekts:error [read_msg] non-zero bytes in cmd response
  upekts:error [read_msg28] expected response, got -1 seq=40

 Something seems to go wrong. I have never seenn this error message.

 Which sensor are you using? Can you send me the output of `usbdevs -vd'
 in a private mail please?

 --
 Best regards / Viele Grüße, [EMAIL PROTECTED]
  Simon Barner[EMAIL PROTECTED]

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fprint (finger print sensor framework) port ready for testing

2008-04-15 Thread Tom Evans
On Mon, 2008-04-14 at 20:07 +0200, Simon Barner wrote:
 Hi,
 
 I did a port [2] of the fprint finger print sensor framework [1]
 and would like to receive some feedback before I commit it.
 
 It comes with a PAM module for finger print based authentication, a
 graphical (fprint_demo) and a console (pam_fprint_enroll) application
 for finger print enrollment.
 
 I did my tests with the UPEK sensor found in Lenovo's T61.
 
 Simon
 
 (M'fup2 ports@)
 
 [1] http://www.reactivated.net/fprint/wiki/Main_Page
 [2] http://home.leo.org/~barner/freebsd/fprint.tar.gz
 

This is fantastic! People have always been asking me 'so does the
fingerprint sensor work?' when they find out I run FreeBSD on my laptop
- and now I can tell them it does! Just tested with fprint_demo, but
successfully enrolled and verified my fingerprints no problem, using an
HP nc6320 and the aes2501 sensor.

Cheers

Tom


signature.asc
Description: This is a digitally signed message part


Re: fprint (finger print sensor framework) port ready for testing

2008-04-15 Thread Dirk-Willem van Gulik


On Apr 14, 2008, at 8:07 PM, Simon Barner wrote:


I did a port [2] of the fprint finger print sensor framework [1]
and would like to receive some feedback before I commit it.

It comes with a PAM module for finger print based authentication, a
graphical (fprint_demo) and a console (pam_fprint_enroll) application
for finger print enrollment.

I did my tests with the UPEK sensor found in Lenovo's T61.


Well done ! Works with the VAIO fps just fine.

Dw
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fprint (finger print sensor framework) port ready for testing

2008-04-15 Thread Vladimir Grebenschikov
On Mon, 2008-04-14 at 20:07 +0200, Simon Barner wrote:
 Hi,
 
 I did a port [2] of the fprint finger print sensor framework [1]
 and would like to receive some feedback before I commit it.
 
 It comes with a PAM module for finger print based authentication, a
 graphical (fprint_demo) and a console (pam_fprint_enroll) application
 for finger print enrollment.
 
 I did my tests with the UPEK sensor found in Lenovo's T61.

Cool, it works for me, even pam module.

As I understand, pam module requires user name first.
So there no way to make gdm/kdm/*dm just scan image, find apropriate
user and login him ?

Have you seen/reviewed security/bioapi and security/bsp_upektfmess
(later works only on RELENG_6 now) ?

Looks like fprint ports are introduce one new bioapi ?

 Simon
 
 (M'fup2 ports@)
 
 [1] http://www.reactivated.net/fprint/wiki/Main_Page
 [2] http://home.leo.org/~barner/freebsd/fprint.tar.gz
 
-- 
Vladimir B. Grebenschikov
[EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fprint (finger print sensor framework) port ready for testing

2008-04-15 Thread Outback Dingo
pam_fprint works (see below) but when i try to run the fprint demo i get

STATUS: No Devices Found

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 UPEK TouchStrip driver
Opened device. It's now time to enroll your finger.

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

Scan your finger now.
upekts:error [read_msg] non-zero bytes in cmd response
upekts:error [read_msg28] expected response, got -1 seq=40
Enroll stage passed. Yay!

Scan your finger now.
Enroll stage passed. Yay!

Scan your finger now.
Enroll complete!
Enrollment completed!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fprint (finger print sensor framework) port ready for testing

2008-04-15 Thread Simon Barner
Vladimir Grebenschikov wrote:
 As I understand, pam module requires user name first.
 So there no way to make gdm/kdm/*dm just scan image, find apropriate
 user and login him ?

As far as I can tell, it currently is not supported, but somebody seems
to work on it:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg00471.html
 
 ???Have you seen/reviewed security/bioapi and security/bsp_upektfmess
 (later works only on RELENG_6 now) ?

Yes. In the mean time, there even is a binary of the UPEK driver for
FreeBSD 7 i386, but the pam module did not work for me.
 
 Looks like fprint ports are introduce one new bioapi ?

Yes, but at it seems, the developers deliberated well about it:

http://www.reactivated.net/fprint/wiki/FAQ#Why_no_BioAPI.3F

-- 
Best regards / Viele Grüße, [EMAIL PROTECTED]
 Simon Barner[EMAIL PROTECTED]


pgp2Sn07MHDTL.pgp
Description: PGP signature


Re: fprint (finger print sensor framework) port ready for testing

2008-04-15 Thread Simon Barner
Outback Dingo wrote:
 pam_fprint works (see below) but when i try to run the fprint demo i get
 
 STATUS: No Devices Found

Are you sure you have r/w access to the sensor's USB device?
 
 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 UPEK TouchStrip driver
 Opened device. It's now time to enroll your finger.
 
 You will need to successfully scan your Right Index Finger 3 times to complete
 the process.
 
 Scan your finger now.
 upekts:error [read_msg] non-zero bytes in cmd response
 upekts:error [read_msg28] expected response, got -1 seq=40

Something seems to go wrong. I have never seenn this error message.

Which sensor are you using? Can you send me the output of `usbdevs -vd'
in a private mail please?

-- 
Best regards / Viele Grüße, [EMAIL PROTECTED]
 Simon Barner[EMAIL PROTECTED]


pgpwYuaXnNhDB.pgp
Description: PGP signature


Re: fprint (finger print sensor framework) port ready for testing

2008-04-15 Thread Fredrik Lindberg

Simon Barner wrote:

Vladimir Grebenschikov wrote:

???Have you seen/reviewed security/bioapi and security/bsp_upektfmess
(later works only on RELENG_6 now) ?


Yes. In the mean time, there even is a binary of the UPEK driver for
FreeBSD 7 i386, but the pam module did not work for me.


A new binary has been re-rolled which takes care of the Undefined
symbol errors in the first one.  It works with PAM as well.
The updated port can be found in ports/122768

However, if fprint suites your needs I would recommend using it instead.
Another possibility would be to create BioAPI modules based on the
reversed engineered code from fprint.

Fredrik Lindberg
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fprint (finger print sensor framework) port ready for testing

2008-04-15 Thread Simon Barner
Fredrik Lindberg wrote:
 Simon Barner wrote:
 Vladimir Grebenschikov wrote:
 ???Have you seen/reviewed security/bioapi and security/bsp_upektfmess
 (later works only on RELENG_6 now) ?
 Yes. In the mean time, there even is a binary of the UPEK driver for
 FreeBSD 7 i386, but the pam module did not work for me.
 
 A new binary has been re-rolled which takes care of the Undefined
 symbol errors in the first one.  It works with PAM as well.
 The updated port can be found in ports/122768

Ok, good to know, I'll take care of your PR.
 
 However, if fprint suites your needs I would recommend using it instead.
 Another possibility would be to create BioAPI modules based on the
 reversed engineered code from fprint.

The latter option might be interesting. However, the fprint developers
plan more advanced authentication (and also identification) in the future
(see link in my mail to Vladimir Grebenschikov earlier in this thread).

-- 
Best regards / Viele Grüße, [EMAIL PROTECTED]
 Simon Barner[EMAIL PROTECTED]


pgp5G8RWJgpBQ.pgp
Description: PGP signature


fprint (finger print sensor framework) port ready for testing

2008-04-14 Thread Simon Barner
Hi,

I did a port [2] of the fprint finger print sensor framework [1]
and would like to receive some feedback before I commit it.

It comes with a PAM module for finger print based authentication, a
graphical (fprint_demo) and a console (pam_fprint_enroll) application
for finger print enrollment.

I did my tests with the UPEK sensor found in Lenovo's T61.

Simon

(M'fup2 ports@)

[1] http://www.reactivated.net/fprint/wiki/Main_Page
[2] http://home.leo.org/~barner/freebsd/fprint.tar.gz

-- 
Best regards / Viele Grüße, [EMAIL PROTECTED]
 Simon Barner[EMAIL PROTECTED]


pgp99PhevKfsT.pgp
Description: PGP signature


Re: fprint (finger print sensor framework) port ready for testing

2008-04-14 Thread Henrik Brix Andersen
Hi,

On Mon, Apr 14, 2008 at 08:07:40PM +0200, Simon Barner wrote:
 I did a port [2] of the fprint finger print sensor framework [1]
 and would like to receive some feedback before I commit it.
 
 It comes with a PAM module for finger print based authentication, a
 graphical (fprint_demo) and a console (pam_fprint_enroll) application
 for finger print enrollment.

I have reviewed your ports - they look good to me :)

 I did my tests with the UPEK sensor found in Lenovo's T61.

I have tested the software using the UPEK TouchStrip found in my
ThinkPad X60s, works like a charm. Now I just need to switch to an X
display manager with PAM support ;)

Thanks for working on this!

Brix
-- 
Henrik Brix Andersen [EMAIL PROTECTED]


pgpziRPG0b5Zq.pgp
Description: PGP signature


Re: fprint (finger print sensor framework) port ready for testing

2008-04-14 Thread Simon Barner
Sam Leffler wrote:
 Does it still use the i386 binary module?  I need a 64-bit module.

No, there no binary modules at all (fully build from source).
I did not test it in 64-bit environment, so your experience report
would be interesting.

(Cc:'d ports@)

-- 
Best regards / Viele Grüße, [EMAIL PROTECTED]
 Simon Barner[EMAIL PROTECTED]


pgpuuNan8OKOf.pgp
Description: PGP signature