Discussion:
[Thinkfinger-devel] Updates, request for testing (again) and USB debugging support
Timo Hoenig
2007-03-29 15:41:55 UTC
Permalink
Hello everyone,

I've just committed quite a few radical lines to SVN. They should
change the compatibility of ThinkFinger to the better.

If you did *not* get ThinkFinger working reliably in the past it is now
time to give it a try. For your convenience, I have created a tar ball
of the current SVN revision [1].

If ThinkFinger still doesn't work for you, please make use of the new
USB debug option.

Just run './configure' as before and add the switch
'--enable-usb-debug' . When using 'tf-tool' or the PAM module you'll
get flooded by detailed USB logs which are of interest when analyzing
why things do not work as they were supposed to.

Everyone else who was a satisfied ThinkFinger customer in the past,
please check whether the recent changes did not break anything for
you :-) I never imagined how much pain such a little USB device as this
one can cause...

Thanks for the attention and have a nice day,

Timo

[1] ThinkFinger SVN Revision 102
http://nouse.net/thinkfinger-r102.tar.bz2
Chris Johnson
2007-03-29 15:50:48 UTC
Permalink
Current svn is tested and working on my R52 running Ubuntu edgy.

Thanks!

-Chris
Post by Timo Hoenig
Hello everyone,
I've just committed quite a few radical lines to SVN. They should
change the compatibility of ThinkFinger to the better.
If you did *not* get ThinkFinger working reliably in the past it is now
time to give it a try. For your convenience, I have created a tar ball
of the current SVN revision [1].
If ThinkFinger still doesn't work for you, please make use of the new
USB debug option.
Just run './configure' as before and add the switch
'--enable-usb-debug' . When using 'tf-tool' or the PAM module you'll
get flooded by detailed USB logs which are of interest when analyzing
why things do not work as they were supposed to.
Everyone else who was a satisfied ThinkFinger customer in the past,
please check whether the recent changes did not break anything for
you :-) I never imagined how much pain such a little USB device as this
one can cause...
Thanks for the attention and have a nice day,
Timo
[1] ThinkFinger SVN Revision 102
http://nouse.net/thinkfinger-r102.tar.bz2
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Thinkfinger-devel mailing list
https://lists.sourceforge.net/lists/listinfo/thinkfinger-devel
Timo Hoenig
2007-03-29 16:03:13 UTC
Permalink
Hi Chris,
Post by Chris Johnson
Current svn is tested and working on my R52 running Ubuntu edgy.
Thanks for the information, Chris. So far I could test T60, X60, T43p
and the external IBM/Lenovo USB keyboard with fingerprint reader.

Timo
Anton
2007-03-29 17:40:57 UTC
Permalink
Post by Timo Hoenig
I've just committed quite a few radical lines to SVN. They should
change the compatibility of ThinkFinger to the better.
[1] ThinkFinger SVN Revision 102
Works fine on my T42, Bus 003 Device 002: ID 0483:2016 SGS Thomson
Microelectronics Fingerprint Reader.

The only small problem I've found with --verify-user parameter:

#tf-tool --verify-user user --verbose

ThinkFinger 0.2.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <***@suse.de>

Running in verbose mode.

* Mode: verify
* Biometric identification record file: '/etc/pam_thinkfinger/user.bir'

Initializing... done.
tf-tool: TF_STATE_COMM_FAILED (254)
Could not acquire fingerprint (communication with fingerprint reader failed).

Regards,
Anton
Timo Hoenig
2007-03-29 17:49:09 UTC
Permalink
Post by Anton
Works fine on my T42, Bus 003 Device 002: ID 0483:2016 SGS Thomson
Microelectronics Fingerprint Reader.
#tf-tool --verify-user user --verbose
ThinkFinger 0.2.3 (http://thinkfinger.sourceforge.net/)
Running in verbose mode.
* Mode: verify
* Biometric identification record file: '/etc/pam_thinkfinger/user.bir'
Initializing... done.
tf-tool: TF_STATE_COMM_FAILED (254)
Could not acquire fingerprint (communication with fingerprint reader failed).
Does this happen on a regular basis? Would you mind to compile with USB
debug support and send the log?

Thanks,

Timo
Anton
2007-03-30 11:09:03 UTC
Permalink
Hi Timo,
Post by Timo Hoenig
Does this happen on a regular basis? Would you mind to compile with USB
debug support and send the log?
yes, it's regular without any single success.
Here is the log with the latest svn:

# tf-tool --verify-user user --verbose

ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <***@suse.de>

Running in verbose mode.

* Mode: verify
* Biometric identification record file: '/etc/pam_thinkfinger/user.bir'

Initializing...
usb_bulk_read (0x40/0x40):
4369616f0300050162302e32c263801000000000000000000000c0d401002000000003000000fada0000001000000000000000000800d6660000640100000000

usb_bulk_write (0x11/0x11): 4369616f0400080100e8030000ff07db24

usb_bulk_read (0x40/0x40):
4369616f05000101559f030000ff07db24000000000000000000c0d401002000000003000000fada0000001000000000000000000800d6660000640100000000

usb_bulk_write (0x10/0x10): 4369616f00000728040000000604c0d6

usb_bulk_read (0x40/0x40):
4369616f00003728340000000614110201041202010403000000690003001000030000000000010000000000000010000080f8006801000000000100020051c3

usb_bulk_write (0x10/0x10): 4369616f001007280400000007040fb6

usb_bulk_read (0x40/0x40):
4369616f00100f280c00000007147f308975effc543828390000690003001000030000000000010000000000000010000080f8006801000000000100020051c3

usb_bulk_write (0x28/0x28):
4369616f00201f281c000000080483002c222397c9a715a08aab3cd0bfdbf3926fae3b1e44c49a45

usb_bulk_read (0x40/0x40):
4369616f00200f280c00000008147f308975effc54389a4d8aab3cd0bfdbf3926fae3b1e44c49a4500000000000010000080f8006801000000000100020051c3

usb_bulk_write (0x14/0x14): 4369616f00300b28080000000c04030000006d7e

usb_bulk_read (0x40/0x40):
4369616f00306b28680000000c14600000000300000000000000010000000100000001000000010000000200000000000000f401000064010b00000000000200

usb_bulk_read (0x34/0x34):
0200000000000100640002000130010000000100000000000000010001000200f40196000b00f40100000000000000000000da67

usb_bulk_write (0x78/0x78):
4369616f00406f286c0000000b0403000000600000000300000000000000010000000100000001000000010000000200000000000000f40100006401000000000000020002000000000000000000030001000100000001000000000000000a000a006400f40132000000001000000000000000000800d666

usb_bulk_read (0x40/0x40):
4369616f004007280400fbff0b1445a301000100000001000000000000000a000a006400f40132000000001000000000000000000800d6660000640100000000

usb_bulk_write (0xa/0xa): 4369616f070001001c62

usb_bulk_read (0x40/0x40):
4369616f010000303762fbff0b1445a301000100000001000000000000000a000a006400f40132000000001000000000000000000800d6660000640100000000
done.

usb_bulk_read (0x40/0x40):
4369616f0300050162302e32c26345a301000100000001000000000000000a000a006400f40132000000001000000000000000000800d6660000640100000000

usb_bulk_write (0x11/0x11): 4369616f0400080100e8030000ff07db24

usb_bulk_read (0x40/0x40):
4369616f05000101559f030000ff07db24000100000001000000000000000a000a006400f40132000000001000000000000000000800d6660000640100000000

usb_bulk_write (0x10/0x10): 4369616f00000728040000000604c0d6

usb_bulk_read (0x40/0x40):
4369616f00003728340000000614110201041202010403000000690003001000030000000000010000000000000010000080f8006801000000000100020051c3

usb_bulk_write (0x10/0x10): 4369616f001007280400000007040fb6

usb_bulk_read (0x40/0x40):
4369616f00100f280c0000000714c6f54a4b477f6d63743e0000690003001000030000000000010000000000000010000080f8006801000000000100020051c3

usb_bulk_write (0x28/0x28):
4369616f00201f281c000000080483002c222397c9a715a08aab3cd0bfdbf3926fae3b1e44c49a45

usb_bulk_read (0x40/0x40):
4369616f00200f280c0000000814c6f54a4b477f6d63c64a8aab3cd0bfdbf3926fae3b1e44c49a4500000000000010000080f8006801000000000100020051c3

usb_bulk_write (0x14/0x14): 4369616f00300b28080000000c04030000006d7e

usb_bulk_read (0x40/0x40):
4369616f00306b28680000000c14600000000300000000000000010000000100000001000000010000000200000000000000f401000064010b00000000000200

usb_bulk_read (0x34/0x34):
0200000000000100640002000130010000000100000000000000010001000200f40196000b00f40100000000000000000000da67

usb_bulk_write (0x78/0x78):
4369616f00406f286c0000000b0403000000600000000300000000000000010000000100000001000000010000000200000000000000f40100006401000000000000020002000000000000000000030001000100000001000000000000000a000a006400f40132000000001000000000000000000800d666

usb_bulk_read (0x40/0x40):
4369616f004007280400fbff0b1445a301000100000001000000000000000a000a006400f40132000000001000000000000000000800d6660000640100000000

usb_bulk_write (0x28/0x28):
4369616f00501f281c0000000302000000000000000000000000c0d401002000000003000000fada

usb_bulk_read (0x40/0x40):
4369616f00500728040014fc0312801000000000000000000000c0d401002000000003000000fada0000001000000000000000000800d6660000640100000000
tf-tool: TF_STATE_COMM_FAILED (0xfe)
Could not verify fingerprint (communication with fingerprint reader failed).

usb_bulk_write (0xa/0xa): 4369616f070001001c62

usb_bulk_read (0x40/0x40):
4369616f01000030376214fc0312801000000000000000000000c0d401002000000003000000fada0000001000000000000000000800d6660000640100000000
Anton
2007-03-30 11:26:48 UTC
Permalink
Are you sure that /etc/pam_thinkfinger/user.bir is a valid bir file?
What's its size?
you are right! It's 0 size and I also have user.bir.old.
I have regenerated that user and it stared to work again.
I have no idea why that happened.

So, now I have the follow files:
-rw------- 1 root root 170 2007-03-30 19:22 user.bir
-rw------- 1 root root 178 2007-02-17 10:16 user.bir.old
-rw------- 1 root root 174 2007-02-19 04:07 root.bir

As you can see it all has different size. Is it ok?..
Timo Hoenig
2007-03-30 11:30:04 UTC
Permalink
Post by Anton
you are right! It's 0 size and I also have user.bir.old.
I have regenerated that user and it stared to work again.
I have no idea why that happened.
-rw------- 1 root root 170 2007-03-30 19:22 user.bir
-rw------- 1 root root 178 2007-02-17 10:16 user.bir.old
-rw------- 1 root root 174 2007-02-19 04:07 root.bir
As you can see it all has different size. Is it ok?..
Yes, that's perfectly fine.

However, I'll add some sanity checks for bir files which don't look
sane.

Thanks,

Timo
Timo Hoenig
2007-03-30 11:11:48 UTC
Permalink
Hi Anton,
Post by Anton
yes, it's regular without any single success.
Are you sure that /etc/pam_thinkfinger/user.bir is a valid bir file?
What's its size?

Timo
Anton
2007-03-30 13:57:16 UTC
Permalink
Post by Timo Hoenig
I've just committed quite a few radical lines to SVN. They should
change the compatibility of ThinkFinger to the better.
This is so true. kcheckpass (KDE) didn't work with previous version.
I even opened the bug:
https://bugs.kde.org/show_bug.cgi?id=142136

However it seems it was a bug of thinkfinger. I guess it was related
problem with heat (deinit?).
It's started to work fine with version 0.3.

So, you can try to unlock your KDE session. Press Enter first (it will
stop responding) and swap a finger. Now, there is another problem with
KDM. It will just crash if you try to login.
But this a story not for this mailing list ;) I'll try to find there
is the problem.

Anton

Loading...