Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#20721 - [thinkfinger] fast entering password using keyboard fails

Attached to Project: Arch Linux
Opened by archnewbie (archnewbie) - Thursday, 02 September 2010, 13:56 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 13 November 2012, 12:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No


If i "sudo any command" it takes as reported annoying 5secs until i cannot enter any password.

If the "Password or swipe finger:" appears and i quickly enter the right password it takes again about 5secs to work and then "Password: " is showed up again. At this time i cannot use the fingerprint reader to authenticate but the entered password would not be rejected and everything goes quick.

If someone wants to say that this 5secs are needed: its not true.
I also use this thinkfinger reader on other "non linux" systems and it works well without any noticed waiting time
This task depends upon

Closed by  Tom Gundersen (tomegun)
Tuesday, 13 November 2012, 12:46 GMT
Reason for closing:  Upstream
Additional comments about closing:  Please take this upstream.
Comment by archnewbie (archnewbie) - Monday, 27 September 2010, 11:55 GMT
Here is a log what happens sometimes if i enter the password to quickly.
Comment by Kim (dedanna1029) - Friday, 22 October 2010, 18:39 GMT
I am having something similar happening. When I use yaourt (and this is the only time it happens), I have to type in root password four times before it's accepted when it gets to the "install the package" point, whereas prior to earlier this month, I didn't have to.

Referring thread:

This is not to do with a thinkfinger; however, it denotes a password issue in general.

Comment by Greg (dolby) - Friday, 04 March 2011, 04:32 GMT
Has this been reported to the thinkfinger developer?
Comment by Andrea Zucchelli (zukka) - Thursday, 23 June 2011, 17:22 GMT
Here's the solution:
I couldn't build the entire package, the pam part is broken (something about compiler flags).
I just replaced libthinkfinger whith the patched one and everything is ok, much faster.
I'd like to see this patch integrated in the package..

Index: libthinkfinger/libthinkfinger.c
--- libthinkfinger/libthinkfinger.c (revision 118)
+++ libthinkfinger/libthinkfinger.c (working copy)
@@ -35,7 +35,7 @@

#define USB_VENDOR_ID 0x0483
#define USB_PRODUCT_ID 0x2016
-#define USB_TIMEOUT 5000
+#define USB_TIMEOUT 5
#define USB_WR_EP 0x02
#define USB_RD_EP 0x81
#define DEFAULT_BULK_SIZE 0x40