You are not logged in.
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
Hum... I found something on the fprint mailing list:
http://lists.reactivated.net/pipermail/ … 00994.html
Offline
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
Offline
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
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
I'll post the results after build + tests...
Last edited by Kirurgs (2008-12-30 22:49:29)
Offline
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
Thanx nullboy
Offline
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
Offline
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
Which patches?
Offline
I can't seem to find a possibility to attach anything to posts
Kernel patch is some posts above and there is the patch for thinkfinger, fortunately not long
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
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
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
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
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
This should be fixed in 2.6.28.1
Git commit (dated December 31): http://git.kernel.org/?p=linux/kernel/g … 03f6140b07I'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
Offline
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
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
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
will this ever be moved downstream to the arch pkgbuilds?
Offline
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
Patching the kernel is not an easy task. You should learn first with less critical packages...
Offline
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
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
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
Please read whole topic, answer is there.
Offline
It seems upgrading to kernel26 2.6.28.1-1 has solved this on my machine
Dell XPS M1330
2.5 ghz intel dual core, 4 gb ram, 500 gb hdd, nvidia 8400, 13.3"
Arch Linux 64
Offline