Hello,
Long time since my reader worked with libfprint.
The attached patch workaround this.
I am getting:
upekts:error [__handle_incoming_msg] non-zero bytes in cmd response fb ff
While the expected is values are 0, 0. But these are not used afterwards.
Any clue what these bytes are for?
I got the following device:
Bus 004 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Regards,
Alon Bar-Lev.
---
diff --git a/libfprint/drivers/upekts.c b/libfprint/drivers/upekts.c
index df64830..242e37a 100644
--- a/libfprint/drivers/upekts.c
+++ b/libfprint/drivers/upekts.c
@@ -322,8 +322,8 @@ static int __handle_incoming_msg(struct read_msg_data
*udata,
return -1;
}
if (innerbuf[3] || innerbuf[4]) {
- fp_err("non-zero bytes in cmd response");
- return -1;
+ fp_err("non-zero bytes in cmd response %02x %02x",
innerbuf[3], innerbuf[4]);
+ /*return -1;*/
}
innerlen = innerbuf[1] | (innerbuf[2] << 8);
_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint