Where is the code for an individual or multiple drivers?
Andy Doddington
andy at doddington.net
Tue Mar 26 08:21:47 UTC 2024
Hi,
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.
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 ;-)
With apologies for being dense...
Kind Regards,
Andy Doddington
fprint at lists.freedesktop.org wrote:
Send fprint mailing list submissions to
fprint at lists.freedesktop.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.freedesktop.org/mailman/listinfo/fprint
or, via email, send a message with subject or body 'help' to
fprint-request at lists.freedesktop.org
You can reach the person managing the list at
fprint-owner at lists.freedesktop.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of fprint digest..."
Today's Topics:
1. Re: How to write an fprint driver? Plus examples if possible?
(Benjamin Berg)
----------------------------------------------------------------------
Message: 1
Date: Mon, 25 Mar 2024 09:33:14 +0100
From: Benjamin Berg <benjamin at sipsolutions.net>
To: Andy Doddington <andy at doddington.net>,
"fprint at lists.freedesktop.org" <fprint at lists.freedesktop.org>
Subject: Re: How to write an fprint driver? Plus examples if possible?
Message-ID:
<0d420e06adc9d8b6ef78235b8be469f7601cfc87.camel at sipsolutions.net>
Content-Type: text/plain; charset="utf-8"
On Sat, 2024-03-23 at 18:42 +0000, Andy Doddington wrote:
>
>
>
>
> >
> >
> >
> >
> > Dear All,
> > I note from the documentation
> > at?https://fprint.freedesktop.org/libfprint-dev/intro.html?that:
> > "This documentation is not aimed at developers wishing to develop
> > and?, contribute fingerprint device drivers to libfprint".
Haha, I didn't know that string existed. That is not true anymore ?
I mean, look at?https://fprint.freedesktop.org/libfprint-dev/?there is
an entire section on "Writing Drivers", not sure why you got stuck on
the Introduction which is probably still there from libfprint 0.x times
;-)
I think these days most of the internal API surface is documentation.
Likely not perfect, but it should be a quite good overall. So, take a
look at it, but also be willing to accept that there might be some
mistakes or gaps in the documentation. In the same way as the sentence
you quoted is definitely not true anymore.?:-)
> > Given that, could you please direct me to the documentation that
> > *is* meant to server this purpose - ideally with some example code?
> > I have just bought a laptop that does not provide a Linux-
> > compatible fingerprint reader, even though it has one that is used
> > by Windows 11 (sigh...).?
Please refer to the existing drivers. There is no point in creating an
example. Take a look at a few different and go from there. To start,
figure out if you have a match-on-host or match-on-chip device and try
to find a similar driver from there.
Benjamin
> >
> > Clearly, this is not a promise on my part, but it might be worth a
> > try - just for the fun of it.
> >
> > Kind Regards,
> >
> >
> > ? ? ? ? ?Andy Doddington
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fprint/attachments/20240325/454f6bf2/attachment-0001.htm>
------------------------------
Subject: Digest Footer
_______________________________________________
fprint mailing list
fprint at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/fprint
------------------------------
End of fprint Digest, Vol 119, Issue 5
**************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fprint/attachments/20240326/018fd444/attachment-0001.htm>
More information about the fprint
mailing list