You are not logged in.

#1 2008-12-27 22:07:27

big_gie
Member
Registered: 2005-01-19
Posts: 637

2.6.28 and finger print (fprint)

I compiled 2.6.28 but my fingerprint reader (Bus 005 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader) does not work anymore. Here's the error using sudo:

> sudo ls
Scan right index finger on UPEK TouchStrip
upekts:error [__read_msg] msg read failed, code -2
upekts:error [do_init] expected command, got -1 seq=0
Fingerprint verification error -71
Password:

At least I can enter manually the password...

Anybody has the same problem?

Offline

#2 2008-12-27 22:08:05

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: 2.6.28 and finger print (fprint)

Hum... I found something on the fprint mailing list:
http://lists.reactivated.net/pipermail/ … 00994.html

Offline

#3 2008-12-27 23:30:19

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: 2.6.28 and finger print (fprint)

It's not just fprint that has an error, I have T61 with thinkfinger installed, it's the same no go!
First time after rebot it kinda asks for "enter password or swipe your finger", but it doesn't work in case I swipe and it never ever asks this again... Error message in case of tf-tool --verify-user xxx is "Could not claim USB device".
I reverted back to 2.6.27.10, which works brilliant smile

Offline

#4 2008-12-29 20:35:29

nullboy
Member
Registered: 2008-12-29
Posts: 2

Re: 2.6.28 and finger print (fprint)

Hello, I'm not using Archlinux myself but I can confirm a problem with thinkfinger-0.3 and kernel 2.6.28. Thinkfinger works fine for me under 2.6.27.7 and 2.6.27.10 but 2.6.28 seems to have changed the way the device is accessed. Thinkfinger just throws a fairly vague error:

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

Initializing... done.
Could not acquire fingerprint (USB error).

I can provide straces of thinkfinger working and not working if that would help get a patch going. Thanks guys!

Offline

#5 2008-12-30 22:49:03

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: 2.6.28 and finger print (fprint)

Well, there is a patch available in kernel bugzilla... I will test this as soon as I build my 2.6.28 kernel all over again. Maybe tonight smile
I'll post the results after build + tests...

Last edited by Kirurgs (2008-12-30 22:49:29)

Offline

#6 2008-12-31 01:52:27

nullboy
Member
Registered: 2008-12-29
Posts: 2

Re: 2.6.28 and finger print (fprint)

Hey everyone,
I tested the patch for the 2.6.28 kernel and I can confirm it fixes the problem and thinkfinger now works. Information below:

Whole thread:
http://bugzilla.kernel.org/show_bug.cgi?id=12301

Link to the patch:
http://bugzilla.kernel.org/attachment.c … ction=view

Offline

#7 2008-12-31 01:58:25

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: 2.6.28 and finger print (fprint)

Thanx nullboy wink

Offline

#8 2008-12-31 16:48:36

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: 2.6.28 and finger print (fprint)

Unfortunately this fix doesn't work for me, thinkfinger is still stuck...
T61, 0483:2016 SGS Thomson Microelectronics Fingerprint Reader

This seems to be related "usb 1-2: usbfs: process 2946 (login) did not claim interface 0 before use"
No luck with 2.6.28 this year...

Now, it's time to get dull smile

Offline

#9 2009-01-05 22:03:50

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: 2.6.28 and finger print (fprint)

Ok, I got this working by applying special patch for thinkfinger as well, so for thinkfinger to work - kernel patch + thinkfinger patch...
Made my own PKGBUILD and it worked...
However after hibernate, fingerprint reader doesn't work but after suspend (which I use 99% of time) it works like a charm.

Offline

#10 2009-01-05 22:09:37

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: 2.6.28 and finger print (fprint)

Which patches?

Offline

#11 2009-01-05 22:48:43

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: 2.6.28 and finger print (fprint)

I can't seem to find a possibility to attach anything to posts sad
Kernel patch is some posts above and there is the patch for thinkfinger, fortunately not long smile
PLEASE, be aware that this is not for fprint (as topic suggests), this patch is for THINKFINGER!

Index: libthinkfinger/libthinkfinger.c
===================================================================
--- libthinkfinger/libthinkfinger.c    (revision 118)
+++ libthinkfinger/libthinkfinger.c    (working copy)
@@ -265,18 +265,7 @@
     int retval = -1;
     char dummy[] = "\x10";
 
-    /* SET_CONFIGURATION 1 -- should not be relevant */
     retval = usb_control_msg (handle,     // usb_dev_handle *dev
-                   0x00000000,     // int requesttype
-                   0x00000009,     // int request
-                   0x001,     // int value
-                   0x000,     // int index
-                   dummy,     // char *bytes
-                   0x00000000,     // int size
-                   USB_TIMEOUT); // int timeout
-    if (retval < 0)
-        goto out;
-    retval = usb_control_msg (handle,     // usb_dev_handle *dev
                    0x00000040,     // int requesttype
                    0x0000000c,     // int request
                    0x100,     // int value
@@ -285,7 +274,6 @@
                    0x00000001,     // int size
                    USB_TIMEOUT); // int timeout
 
-out:
     return retval;
 }

Last edited by Kirurgs (2009-01-05 22:51:35)

Offline

#12 2009-01-11 20:23:25

ekrek4
Member
Registered: 2008-08-25
Posts: 24

Re: 2.6.28 and finger print (fprint)

Kirurgs wrote:

It's not just fprint that has an error, I have T61 with thinkfinger installed, it's the same no go!
First time after rebot it kinda asks for "enter password or swipe your finger", but it doesn't work in case I swipe and it never ever asks this again... Error message in case of tf-tool --verify-user xxx is "Could not claim USB device".
I reverted back to 2.6.27.10, which works brilliant smile

I'd like to know how to configure files in /etc/pam.d to be aked: "enter password or swipe your finger".
I want to choose between entering password and swiping.
Now most my /etc/pam.d/* files looks:

auth sufficient pam_fprint.so
auth required pam_unix.so nullok_secure try_first_pass
session required pam_unix.so
account required pam_unix.so

and I see question: "Scan right index finger on AuthenTec AES1610"
if this scanning fails I enter the password.

Offline

#13 2009-01-11 22:04:51

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: 2.6.28 and finger print (fprint)

I'm using thinkfinger, as I already wrote... Thinkfinger asks for swipe that way, fprint does it differrent...
Thinkfinger was developed specifically for thinkpads like my T61 (Lenovo ThinkPad), most likely it will not work for You, as You seem to have some AuthenTec reader or so...

Offline

#14 2009-01-15 04:03:58

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: 2.6.28 and finger print (fprint)

This should be fixed in 2.6.28.1
Git commit (dated December 31): http://git.kernel.org/?p=linux/kernel/g … 03f6140b07

I'm rebuilding my kernel right now to see if it works...

Offline

#15 2009-01-15 04:51:15

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: 2.6.28 and finger print (fprint)

big_gie wrote:

This should be fixed in 2.6.28.1
Git commit (dated December 31): http://git.kernel.org/?p=linux/kernel/g … 03f6140b07

I'm rebuilding my kernel right now to see if it works...

The patch does not apply to neither vanilla 2.6.28 nor -ARCH 2.6.28 (from http://projects.archlinux.org/git/?p=li … a=summary).
But patch from http://bugzilla.kernel.org/attachment.c … ction=view (comment #6) works!

Thanx wink

Offline

#16 2009-01-15 08:42:13

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: 2.6.28 and finger print (fprint)

By "The patch does not apply..." You mean patch I posted? If so, please read second line of that post, the patch is for ThinkFinger, so it will never work on the kernel anyway big_smile
That patch is needed for ThinkPads to use their fingerprint reader, for ThinkPads there is a need for kernel patch and ThinkFinger patch altogether!

Offline

#17 2009-01-15 14:53:39

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: 2.6.28 and finger print (fprint)

No I meant the patch from the git-web site I posted: http://git.kernel.org/?p=linux/kernel/g … 03f6140b07

This file: http://bugzilla.kernel.org/attachment.c … ction=view patches the kernel, not thinkfinger. It does apply cleanely, and it correct the problem on my machine.

Offline

#18 2009-01-16 17:30:25

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

Re: 2.6.28 and finger print (fprint)

will this ever be moved downstream to the arch pkgbuilds?

Offline

#19 2009-01-16 18:30:54

archdarch11
Member
From: Minneapolis, MN
Registered: 2008-09-20
Posts: 11

Re: 2.6.28 and finger print (fprint)

Does any one have a good link/howTo, so I can learn how to apply patches? I'm an idiot.
thanks


Dell XPS M1330
2.5 ghz intel dual core, 4 gb ram, 500 gb hdd, nvidia 8400, 13.3"
Arch Linux 64

Offline

#20 2009-01-16 19:15:15

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: 2.6.28 and finger print (fprint)

Patching the kernel is not an easy task. You should learn first with less critical packages...

Offline

#21 2009-01-16 22:07:15

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: 2.6.28 and finger print (fprint)

To me it seems to be an easy task, just read what patch command does, example:
patch -Np1 -i ${srcdir}/${_patchname}
Understanding how patching actually works is not that easy, but really tough part starts when patch doesn't apply correctly and you have to correct it...

Offline

#22 2009-01-17 16:52:01

jwcxz
Member
Registered: 2008-09-23
Posts: 239
Website

Re: 2.6.28 and finger print (fprint)

I'm having the same problem, but it seems to be intermittent.  Occasionally, the device works, but most of the time, it fails with the same error as the one in the first post.

Edit: It's actually identical to this situation:
http://lists.reactivated.net/pipermail/ … 01002.html

Last edited by jwcxz (2009-01-17 16:53:17)


-- jwc
http://jwcxz.com/ | blog
dotman - manage your dotfiles across multiple environments
icsy - an alarm for powernappers

Offline

#23 2009-01-19 02:13:05

Rnicholson
Member
Registered: 2008-02-11
Posts: 7

Re: 2.6.28 and finger print (fprint)

I have the same problem since update to 2.6.28-ARCH. (I'm on a Lenovo T61p)

$ sudo tf-tool --acquire

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

Initializing...Could not claim USB device.

Offline

#24 2009-01-19 08:24:12

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: 2.6.28 and finger print (fprint)

Please read whole topic, answer is there.

Offline

#25 2009-01-20 15:33:15

archdarch11
Member
From: Minneapolis, MN
Registered: 2008-09-20
Posts: 11

Re: 2.6.28 and finger print (fprint)

It seems upgrading to kernel26 2.6.28.1-1 has solved this on my machine smile


Dell XPS M1330
2.5 ghz intel dual core, 4 gb ram, 500 gb hdd, nvidia 8400, 13.3"
Arch Linux 64

Offline

Board footer

Powered by FluxBB