<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div>
<div id="compose-body-wrapper" dir="auto">
<div dir="auto">Hi,</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks for that. The documentation that you refer to looks like it was generated directly from code (Doxygen?) with very little explanation of the context or lifecycle etc. You refer to the actual driver code as providing useful example(s),
but where is this code? I've looked at what I believe is the Git repo (https://github.com/keyme/libfprint), but can't locate the drivers.</div>
<div dir="auto"><br>
</div>
<div dir="auto">It's a shame that fprint looks like so many other topics (e.g. printf). Reminds me of the time when I needed to get details of the Hilton in Paris ;-)</div>
<div dir="auto"><br>
</div>
<div dir="auto">With apologies for being dense...</div>
<div dir="auto"><br>
</div>
<div dir="auto" id="tmjah_g_1299">
<div>Kind Regards,</div>
<div><br>
</div>
<div> Andy Doddington</div>
<div> </div>
</div>
<br>
</div>
<div class="replyHeader" dir="auto">fprint@lists.freedesktop.org wrote:</div>
<br>
<br>
<div>
<blockquote cite="mid:mailman.13.1711368002.17706.fprint@lists.freedesktop.org" type="cite" style="margin:0 0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left:
#800000 2px solid; } --></style><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Send fprint mailing list submissions to<br>
fprint@lists.freedesktop.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/fprint" target="_BLANK">
https://lists.freedesktop.org/mailman/listinfo/fprint</a><br>
or, via email, send a message with subject or body 'help' to<br>
fprint-request@lists.freedesktop.org<br>
<br>
You can reach the person managing the list at<br>
fprint-owner@lists.freedesktop.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of fprint digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: How to write an fprint driver? Plus examples if possible?<br>
(Benjamin Berg)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 25 Mar 2024 09:33:14 +0100<br>
From: Benjamin Berg <benjamin@sipsolutions.net><br>
To: Andy Doddington <andy@doddington.net>,<br>
"fprint@lists.freedesktop.org" <fprint@lists.freedesktop.org><br>
Subject: Re: How to write an fprint driver? Plus examples if possible?<br>
Message-ID:<br>
<0d420e06adc9d8b6ef78235b8be469f7601cfc87.camel@sipsolutions.net><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
On Sat, 2024-03-23 at 18:42 +0000, Andy Doddington wrote:<br>
> <br>
> <br>
> <br>
> <br>
> > <br>
> > <br>
> > <br>
> > <br>
> > Dear All,<br>
> > I note from the documentation<br>
> > at?https://fprint.freedesktop.org/libfprint-dev/intro.html?that:<br>
> > "This documentation is not aimed at developers wishing to develop<br>
> > and?, contribute fingerprint device drivers to libfprint".<br>
<br>
Haha, I didn't know that string existed. That is not true anymore ?<br>
<br>
I mean, look at?https://fprint.freedesktop.org/libfprint-dev/?there is<br>
an entire section on "Writing Drivers", not sure why you got stuck on<br>
the Introduction which is probably still there from libfprint 0.x times<br>
;-)<br>
<br>
I think these days most of the internal API surface is documentation.<br>
Likely not perfect, but it should be a quite good overall. So, take a<br>
look at it, but also be willing to accept that there might be some<br>
mistakes or gaps in the documentation. In the same way as the sentence<br>
you quoted is definitely not true anymore.?:-)<br>
<br>
> > Given that, could you please direct me to the documentation that<br>
> > *is* meant to server this purpose - ideally with some example code?<br>
> > I have just bought a laptop that does not provide a Linux-<br>
> > compatible fingerprint reader, even though it has one that is used<br>
> > by Windows 11 (sigh...).?<br>
<br>
Please refer to the existing drivers. There is no point in creating an<br>
example. Take a look at a few different and go from there. To start,<br>
figure out if you have a match-on-host or match-on-chip device and try<br>
to find a similar driver from there.<br>
<br>
Benjamin<br>
<br>
> > <br>
> > Clearly, this is not a promise on my part, but it might be worth a<br>
> > try - just for the fun of it.<br>
> > <br>
> > Kind Regards,<br>
> > <br>
> > <br>
> > ? ? ? ? ?Andy Doddington<br>
> > <br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.freedesktop.org/archives/fprint/attachments/20240325/454f6bf2/attachment-0001.htm" target="_BLANK">https://lists.freedesktop.org/archives/fprint/attachments/20240325/454f6bf2/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
fprint mailing list<br>
fprint@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/fprint" target="_BLANK">https://lists.freedesktop.org/mailman/listinfo/fprint</a><br>
<br>
<br>
------------------------------<br>
<br>
End of fprint Digest, Vol 119, Issue 5<br>
**************************************<br>
</div>
</span></font></blockquote>
</div>
</div>
</body>
</html>