<div dir="auto"><div>> <span style="font-family:sans-serif;font-size:13.696px">Maybe driver authors use device with [Focus > stacking](</span><a href="https://en.wikipedia.org/wiki/Focus_stacking" style="text-decoration-line:none;color:rgb(66,133,244);font-family:sans-serif;font-size:13.696px">https://en.wikipedia.org/wiki/Focus_stacking</a><span style="font-family:sans-serif;font-size:13.696px">) ?</span><br style="font-family:sans-serif;font-size:13.696px"><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">> Can it help to have more minutiae?</span></div><div dir="auto"><font face="sans-serif"><span style="font-size:13.696px"><br></span></font></div><div dir="auto"><font face="sans-serif"><span style="font-size:13.696px">With these devices the scanned area is so small that not many minutiae can be found there. I got like 5 o so with my finger and that's what I can visually confirm looking at the scanned images. It's not about image quality. I think original drivers could be using a different algorithm.</span></font></div><div dir="auto"><font face="sans-serif"><span style="font-size:13.696px"><br></span></font></div><div dir="auto"><font face="sans-serif"><span style="font-size:13.696px">Looks like your device doesn't react normally to 402a (not unexpected). It's the third init command in elan.h. Try removing it. Actually, you can try removing all commands not found in you traces. Just don't remove the arrays with commands for now, leave empty if needed.</span></font></div><div dir="auto"><font face="sans-serif"><span style="font-size:13.696px"><br></span></font></div><div dir="auto"><font face="sans-serif"><span style="font-size:13.696px">It doesn't seem to complicated to adapt the driver based on your traces but don't think I'll have any time for it soon…</span></font></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On 9 Nov 2017 18:32, "Sébastien Béchet" <<a href="mailto:sebastien.bechet@osinix.com">sebastien.bechet@osinix.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As you ask, i tried [these changes](<a href="https://github.com/sbechet/libfprint/commit/dd5275f8dcdc24e8d94a3b936516c4242d8bf008" rel="noreferrer" target="_blank">https://github.com/sb<wbr>echet/libfprint/commit/dd5275f<wbr>8dcdc24e8d94a3b936516c4242d8bf<wbr>008</a>) for a first try with `--enable-debug-log` in configure.<br>
<br>
```<br>
$ fprintd-list sbechet<br>
found 1 devices<br>
Device at /net/reactivated/Fprint/Device<wbr>/0<br>
Using device /net/reactivated/Fprint/Device<wbr>/0<br>
User sbechet has no fingers enrolled for ElanTech Fingerprint Sensor.<br>
```<br>
<br>
`journalctl -f` said:<br>
<br>
<br>
```<br>
nov. 09 17:23:09 mycomputer dbus-daemon[283]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.233' (uid=1000 pid=2305 comm="fprintd-list sbechet ")<br>
nov. 09 17:23:09 mycomputer fprintd[2306]: fp:debug [fp_init]<br>
[...]<br>
nov. 09 17:23:09 mycomputer fprintd[2306]: fp:debug [register_driver] registered driver elan<br>
nov. 09 17:23:09 mycomputer fprintd[2306]: fp:debug [find_supporting_driver] driver elan supports USB device 04f3:0903<br>
nov. 09 17:23:09 mycomputer fprintd[2306]: fp:debug [find_supporting_driver] selected driver elan supports USB device 04f3:0903<br>
```<br>
<br>
Then I try enrollement:<br>
<br>
```<br>
$ fprintd-enroll<br>
Using device /net/reactivated/Fprint/Device<wbr>/0<br>
Enrolling right-index-finger finger.<br>
Enroll result: enroll-disconnected<br>
```<br>
<br>
journalctl:<br>
<br>
```<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: user 'sbechet' claiming the device: 0<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: async:debug [fp_async_dev_open]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: now monitoring fd 15<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: device 0 claim status 0<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [dev_init]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: async:debug [fpi_drvcb_open_complete] status 0<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: start enrollment device 0 finger 7<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: async:debug [fp_async_enroll_start] starting enrollment<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: fp:debug [generic_acquire_start] action 1<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [dev_activate]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_dev_reset]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: drv:debug [__ssm_call_handler] 0x55f20425fb70 entering state 0<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_run_cmds]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_run_next_cmd]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_cb]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_read]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_cb]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_done]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_run_next_cmd]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_cb]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_read]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_cb]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_done]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_run_next_cmd]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_cb]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_read]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_cb]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [elan_cmd_cb] unexpected transfer length<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: drv:debug [fpi_ssm_mark_aborted] error -71 from state 0<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: drv:debug [fpi_ssm_mark_completed] 0x55f20425fb70 completed with status -71<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [init_complete]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: fp:debug [fpi_imgdev_session_error] error -71<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: async:error [fpi_drvcb_enroll_stage_comple<wbr>ted] BUG at async.c:161<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: async:debug [fpi_drvcb_enroll_stage_comple<wbr>ted] result -71<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: enroll_stage_cb: result -71<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: elan:debug [dev_deinit]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: async:debug [fpi_drvcb_close_complete]<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: no longer monitoring fd 15<br>
nov. 09 17:27:35 mycomputer fprintd[2379]: released device 0<br>
```<div class="elided-text"><br>
<br>
<br>
______________________________<wbr>_________________<br>
fprint mailing list<br>
<a href="mailto:fprint@lists.freedesktop.org" target="_blank">fprint@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/fprint" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/fprint</a><br>
</div></blockquote></div><br></div></div></div>