Bug 500460
Summary: | libfprint fails to read commands from SGS Thomson reader (ThinkPad T43) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Will Woods <wwoods> | ||||
Component: | libfprint | Assignee: | Pierre-YvesChibon <pingou> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 11 | CC: | awilliam, belegdol, bnocera, giallu, jlaska, justinburland, matt.britt, pingou, staubach | ||||
Target Milestone: | --- | Keywords: | CommonBugs | ||||
Target Release: | --- | Flags: | jlaska:
fedora_requires_release_note?
|
||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | https://fedoraproject.org/wiki/Common_F11_bugs#libfprint-nonzero | ||||||
Fixed In Version: | 0.1.0-7.pre2.fc11.1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-06-24 19:42:20 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 446451 | ||||||
Attachments: |
|
Description
Will Woods
2009-05-12 19:37:26 UTC
Created attachment 343650 [details]
libfprint-no-err-on-nonzero-cmd-bytes.patch
Patch applied to fix the problem
this was previously discussed upstream (and a similar patch proposed) but the thread seems to have just died: http://osdir.com/ml/linux.fprint/2008-07/msg00008.html Google finds several people reporting slightly different things in those bytes: upekts:error [read_msg] non-zero bytes in cmd response upekts:error [read_msg28] expected response, got -1 seq=20 upekts:error [read_msg] non-zero bytes in cmd response upekts:error [read_msg28] expected response, got -1 seq=30 here's one such - http://osdir.com/ml/linux.fprint/2008-04/msg00011.html here's another - http://forums.opensuse.org/hardware/412754-usb-fingerprint-mouse-problem.html Not quite. Stock libfprint does not report the content of those two mysterious bytes at all; the message is just "non-zero bytes in cmd response". The "expected response, got ..." error message shows the return value of the function (which is -1 - i.e. failure - because of the non-zero bytes). The patch in comment #1 changes the message to "non-zero bytes in cmd response: %02x %02x", which shows the two bytes. So we don't actually know yet if those other users are getting different values in those two bytes. But it's irrelevant, since the point of this patch is to ignore those values *regardless* of their value. yeah, I realized that after making my post :\ sorry about that. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I'm getting swarmed with these as soon as gnome-about-me attempts to enroll a fingerprint: ** Message: enroll_stage_cb: result -1 ** Message: start enrollment device 0 finger 7 upekts:error [__handle_incoming_msg] non-zero bytes in cmd response upekts:error [initsm_read_msg_response_cb] expected response, got 0 seq=0 in state 9 https://koji.fedoraproject.org/koji/taskinfo?taskID=1402305 A scratch build with patch from comment #1 included. I can confirm that the patch fixes the problem: [root@localhost liveuser]# /usr/libexec/fprintd -t Launching FprintObject ** Message: D-Bus service launched with name: net.reactivated.Fprint ** Message: entering main loop ** Message: user 'liveuser' claiming the device: 0 ** Message: now monitoring fd 7 ** Message: device 0 claim status 0 ** Message: start enrollment device 0 finger 7 upekts:warning [__handle_incoming_msg] non-zero bytes in cmd response: e3 fb ** Message: enroll_stage_cb: result 3 ** Message: enroll_stage_cb: result 3 ** Message: enroll_stage_cb: result 1 ** Message: no longer monitoring fd 7 ** Message: released device 0 The attached patch also solves my problem on a Toshiba Tecra M5. libfprint-0.1.0-7.pre2.fc11.1 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/libfprint-0.1.0-7.pre2.fc11.1 Confirming patch works on another Thinkpad T43 (SGS Thomson reader). installing libfprint-0.1.0-7.pre2.fc11.1.i586.rpm solved my issue on a IBM x41 libfprint-0.1.0-7.pre2.fc11.1 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. uhm, I had to install it from updates-testing, there something strange going on with bodhi or the mirrors :( libfprint-0.1.0-7.pre2.fc11.1 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |