<div dir="ltr">For me this is either 0x01 or 0x03, just like in the docs. But I do remember that I could never make it behave like Windows driver did, e.g. return same values when I sent the same commands in the same order. But I didn't know I had to give it some time, so that could be the problem.<div><br></div><div>And I've never seen the Win driver do reset or fuse load. I wonder what's it for...</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 17, 2018 at 4:59 PM Hans de Goede <<a href="mailto:hdegoede@redhat.com">hdegoede@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 17-01-18 14:46, Sébastien Béchet wrote:<br>
> Hello,<br>
><br>
> I have done more test and find a functionnal calibration method.<br>
><br>
> Strangely, the calibration return returns Mean_H and not the expected status. I need to read the "FP Status" register for the calibration to work in the next step.<br>
><br>
> Also, i added 0x04f3:0x01cA to the test list.<br>
><br>
> Hans, can you help us to find a recent list of ids?<br>
><br>
> All work now for me:<br>
><br>
> $ sudo ./elanfp<br>
> Device with vid 4f3 pid 903 found.<br>
> Config number is 1<br>
> CMD RESET sent<br>
> CMD Fuse Load sent<br>
> CMD VERSION sent<br>
> FP Bridge FW Version 1.53<br>
> CMD Get Image Size sent<br>
> width x height = 96x96<br>
> CMD Get Calibration Mean sent<br>
> calibration mean value: 33792 (0x8400)<br>
> CMD CALIBRATION sent<br>
> Calibration Status: 0x84<br>
<br>
So for me, this is actually 0x03 and if I don't<br>
add a break condition on this being 0x03 then<br>
the code never leaves the calibration loop for me,<br>
keep in minds that I asked Elan for docs for<br>
*my* model fingerprint reader, although all these<br>
are alike they are not 100% the same...<br>
<br>
With that all said, good job! With this one small<br>
change the program works for me.<br>
<br>
Regards,<br>
<br>
Hans<br>
<br>
<br>
> CMD STATUS sent<br>
> Status: 0x1<br>
> CMD Get Calibration Mean sent<br>
> calibration mean value: 256 (0x100)<br>
> CMD Wait For Finger sent<br>
> Received 0x55<br>
> CMD Get Image sent<br>
> Received 18432<br>
><br>
><br>
> If others confirm maybe Igor can modify the driver?<br>
><br>
> On 2018-01-17 12:12, Igor Filatov wrote:<br>
>> Looks like o1ca as well <a href="https://github.com/iafilatov/libfprint/pull/4" rel="noreferrer" target="_blank">https://github.com/iafilatov/libfprint/pull/4</a><br>
>> I wonder if we can get a list of ids if devices like these.<br>
>><br>
>> 2018-01-17 12:50 GMT+02:00 Sébastien Béchet <<a href="mailto:sebastien.bechet@osinix.com" target="_blank">sebastien.bechet@osinix.com</a>>:<br>
>>> Hello,<br>
>>><br>
>>> In attachment what I understood from the documentation.<br>
>>><br>
>>> must work for<br>
>>><br>
>>> 0x04f3,0x0903<br>
>>> 0x04f3,0x0907<br>
>>> 0x04f3,0x0C03<br>
>>> 0x04f3,0x0C16<br>
>>><br>
>>> Please try it.<br>
>>><br>
</blockquote></div>