Hi Konata, The commands your reader uses look similar to the ones from an Elan reader 0x04f3:0x0907 that I wrote a driver for some time ago.
https://lists.freedesktop.org/archives/fprint/2017-October/000892.html https://github.com/iafilatov/libfprint/blob/elan/libfprint/drivers/elan.h https://github.com/iafilatov/libfprint/blob/elan/libfprint/drivers/elan.c It's possible that your reader uses the same or a similar protocol. The ins and outs are the same and it also has 2-byte "pixels" in raw data. Try adding your pid to id_table and see if it works. You'll also need to tweak ELAN_RAW_FRAME_* and ELAN_FRAME_* (see elan_save_frame for why there are 2 sets of dimensions). Also note that the driver tries to use the device as a swipe sensor because the images are too small. If everything else works, you can try tweaking ELAN_MIN(MAX)_FRAMES - if it's 1 and 1, it _should_ behave as a touch sensor. Good luck! On Wed, Nov 8, 2017 at 10:16 AM Konata Izumi <konachan....@gmail.com> wrote: > > Hello! > > I have a laptop with a Elan fingerprint reader: > > vid 0x04f3 pid 0x0c03 > > I wrote a standalone app for reading fingerprints from reader, > but i don't know what can i do to add a reader driver support to the fprintd > library. > > Please, help me add this driver to library. > > Code in attach. > _______________________________________________ > fprint mailing list > fprint@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/fprint _______________________________________________ fprint mailing list fprint@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/fprint