FPR with thinkfinger won't work on OpenSuse 10.2, T60p

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Troels
ThinkPadder
ThinkPadder
Posts: 1017
Joined: Wed Oct 12, 2005 2:55 pm
Location: Aalborg, Denmark

FPR with thinkfinger won't work on OpenSuse 10.2, T60p

#1 Post by Troels » Mon Aug 27, 2007 3:26 pm

Hello,

I have a fine running install of OpenSuse 10.2 on a T60p 2623-DDU.
I have tried to get the fingerprint reader working, but i just can't. The FPR works upon bootup and in windows, so i know it isn't faulty.

I have followed this guide: http://en.opensuse.org/User:Fseidel/ver ... nger_howto

And installed the latest thinkfinger from sourceforge ( http://thinkfinger.sourceforge.net ), latest version 0.3. Did a ./configure and a make install. It installed fine.

However, when i, as root, do a tf-tool --acquire it lets me swipe my finger three times as expected, and it does detect that i swipe my finger, and rarely there's any mismatch. All fine.
After the third swipe it says

Code: Select all

Storing data (/tmp/test.bir)...
After 20 seconds or so i'm greeted with this:

Code: Select all

Warning: usb_bulk_read expected to read 0x40 (read 0x28 bytes).
The hex byte size read is pretty random, but it is never 0x40 - always lower.

Can anyone help me on some troubleshooting? :(

sidelnik
Posts: 5
Joined: Mon Aug 27, 2007 2:31 pm
Location: Urbana, IL

#2 Post by sidelnik » Tue Aug 28, 2007 4:24 pm

I have the same exact problem on my T61p. You have to give a few trys and eventually it will work. I didn't have much time to debug the code, but it looks like either the Thinkfinger code and/or the libusb drivers are buggy. Once you're able to actually create a name.bir file, everything should work fine again.

Troels
ThinkPadder
ThinkPadder
Posts: 1017
Joined: Wed Oct 12, 2005 2:55 pm
Location: Aalborg, Denmark

#3 Post by Troels » Tue Aug 28, 2007 4:43 pm

Thanks for taking the time to register here and your reply :)
I will make sure i have the latest version of libusb, although i haven't seen it updated for a couple of months now.
I'll try again.

mlo
Posts: 1
Joined: Fri Nov 09, 2007 2:34 pm
Location: Achim, Germany

got it running

#4 Post by mlo » Fri Nov 09, 2007 5:48 pm

I had the same problem recently.

Now I got it up again by installing libusb++-0.1-4c2 in addition to libusb-0.1-4 on my Debian sid system.

reaper
Posts: 2
Joined: Mon Feb 25, 2008 11:40 am
Location: Brno, Czech Republic

#5 Post by reaper » Mon Feb 25, 2008 12:36 pm

i have this problem too :-(

R61 - 7732-S4G

tylerwylie
Junior Member
Junior Member
Posts: 475
Joined: Wed Dec 19, 2007 5:40 pm
Location: Champaign, IL
Contact:

#6 Post by tylerwylie » Mon Feb 25, 2008 2:58 pm

sidelnik wrote:I have the same exact problem on my T61p. You have to give a few trys and eventually it will work. I didn't have much time to debug the code, but it looks like either the Thinkfinger code and/or the libusb drivers are buggy. Once you're able to actually create a name.bir file, everything should work fine again.
Hey, you're like, right next to me.

/waves from Champaign.
Samuel Adams wrote:The natural liberty of man is to be free from any superior power on Earth, and not to be under the will or legislative authority of man, but only to have the law of nature for his rule.

Troels
ThinkPadder
ThinkPadder
Posts: 1017
Joined: Wed Oct 12, 2005 2:55 pm
Location: Aalborg, Denmark

#7 Post by Troels » Mon Feb 25, 2008 8:36 pm

It turned out for me too - patience was the key.

But regardless of it being 10.2 or 10.3 opensuse, there's a large bug which prevents finger print readers from being used for login.
Even if you don't use it, it will crash if the fingerprint reader is initialized correctly upon startup when modules are loaded.
The best way is just to uninstall everything related to the FPR (thinkfinger, pam-thinkfinger).
I know this sucks, but lately i'm getting really FED UP with KDE dev./supporters replies to different issues - which they do not think is an issue.

The motto seems to be that if it hurts poking your eye with your finger, then stop doing it.
This is the same reason why you can't disable scrolling in the KDE taskbar, which can be a nightmare with touchpads since it is easy to scroll by accident.

rssb
Junior Member
Junior Member
Posts: 476
Joined: Tue Dec 14, 2004 4:35 pm
Location: Richmond,VA

#8 Post by rssb » Thu Feb 28, 2008 1:32 pm

In Suse 10.3 the login on the main screen works, with the inbuilt thinkfinger program.
It stores the files in /etc/pam_thinkfinger , and su command at a terminal lets me swipe fingerprint.


i tried to compile as listed in wiki, everything went sucessful, however common-auth seems to be not picking up the complied bioapi pam modules and there is no fingerprint prompt at the main login screen.

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#9 Post by lightweight » Mon Mar 03, 2008 2:20 am

Does OpenSuse have a newer kernel you can try? If so, maybe try it and building the modules from source again.

2 cents, I installed thinkfinger on 2.6.18 and 2.6.21 - .24 fine on Debian and x61s, though tecognition/PAM seems more buggy for root than sudo for some reason. Fingerprint always prompts and works for XDM login. My only issues were sshd and PAM conflicted and unloading uhci_hcd to save power disables the FPR.
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

reaper
Posts: 2
Joined: Mon Feb 25, 2008 11:40 am
Location: Brno, Czech Republic

#10 Post by reaper » Mon Mar 03, 2008 9:50 am

anyone work out problem with

Code: Select all

Storing data (/tmp/test.bir)...Warning: usb_bulk_read expected to read 0x40 (read 0x38 bytes)

Troels
ThinkPadder
ThinkPadder
Posts: 1017
Joined: Wed Oct 12, 2005 2:55 pm
Location: Aalborg, Denmark

#11 Post by Troels » Mon Mar 03, 2008 12:40 pm

rssb,
Interesting! So you are never thrown back from X to the terminal/console mode when using the FPR?
What programs/modules are installed to make the FPR work for you?
I'm thinking there may be two instances or two modules counter-acting each other perhaps...

Lightweight,
Hmm, not currently - latest is 2.6.22-18 if memory serves me right.


Reaper,
Just be patient. I know it is very irritating, but keep repeating the process many times and it will suddenly work.
Why the software suffers from this error i'm not sure why it does it.

rssb
Junior Member
Junior Member
Posts: 476
Joined: Tue Dec 14, 2004 4:35 pm
Location: Richmond,VA

#12 Post by rssb » Mon Apr 07, 2008 3:41 pm

Right now I am using the native package which comes with Suse 10.3 and it doesnot throw me back to a shell or console. I am in the full X environment (i am using KDE)

I will pm you the exact modules in use

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests