i've grabbed the code from svn and run it on my hp laptop. i see some
differences in the protocol between my windows usb log and the output
of bin/proto.
i modified proto.c to use validity_cycle3 instead of validity_cycle4.
near the
end of the cycle, the commands are similar to my windows capture, but
the
responses are different in the two logfiles below:
- i can see that the response to the GetParam(0x11) at windows:0b9a
returns 0x08, while the
response at linux:00ae returns 0x00.
- also, the response to GetPrint(0x1388) at windows:0b9c returns 0x00,
followed by successful
polls of GetFingerState(), ultimately resulting in a fingerprint
after the poll returns 0x02.
however, the GetPrint(0x1388) at linux:00b0 returns 0x0c, followed by
an endless stream
of failed GetFingerState() calls returning 0x00.
does anyone know why this is? has anyone successfully retrieved a
fingerprint using
GetFingerState() on linux yet?
thanks
ray
here are the two logs:
windows:
------------------------------------------------------------------------------------------------
97 0B 00 00 04 00 14 00
97 0B 00 00 04 00 00 00 00 00
98 0B 00 00 04 00 14 00
98 0B 00 00 04 00 00 00 00 00
99 0B 00 00 0E 00
99 0B 00 00 0E 00 00 00
9A 0B 00 00 04 00 11 00
9A 0B 00 00 04 00 00 00 08 00
9B 0B 00 00 05 00 62 00 32 00
9B 0B 00 00 05 00 00 00 32 00
9C 0B 00 00 03 00 88 13 01 00 00 00 01 01
9C 0B 00 00 03 00 00 00
9D 0B 00 00 16 00
9D 0B 00 00 16 00 00 00 FF FF 01
9E 0B 00 00 16 00
9E 0B 00 00 16 00 00 00 FF FF 01
...more polling...
7D 0C 00 00 16 00
7D 0C 00 00 16 00 00 00 FF FF 02
01 FE 5E 00 2E EC 99 A7 A2 8A 8A 85 72 7C 73 6A
7A 7D 7E 7A 7C 8A 80 88 86 84 88 8B 83 99 84 7E
80 7C 83 7C 7F 7D 7E 99 89 8B 8E 6E 80 84 84 79
84 87 86 8E 82 84 84 83 73 7D 79 66 66 6E 6F 76
Linux:
------------------------------------------------------------------------------------------------
UP : AB 00 00 00 04 00 14 00
DOWN: AB 00 00 00 04 00 00 00 00 00
UP : AC 00 00 00 04 00 14 00
DOWN: AC 00 00 00 04 00 00 00 00 00
UP : AD 00 00 00 0E 00
DOWN: AD 00 00 00 0E 00 00 00
UP : AE 00 00 00 04 00 11 00
DOWN: AE 00 00 00 04 00 00 00 00 00
UP : AF 00 00 00 05 00 62 00 32 00
DOWN: AF 00 00 00 05 00 00 00 32 00
UP : B0 00 00 00 03 00 88 13 01 00 00 00 01 01
DOWN: B0 00 00 00 03 00 0C 00
UP : B1 00 00 00 16 00
DOWN: B1 00 00 00 16 00 00 00 FF FF 00
UP : B1 00 00 00 16 00
DOWN: B1 00 00 00 16 00 00 00 FF FF 00
UP : B1 00 00 00 16 00
DOWN: B1 00 00 00 16 00 00 00 FF FF 00