Fingerprint support on Ubuntu 21.10 for the Frame.work laptop
This short article condenses information that is available on the Framework forum and my own research.
Source: https://community.frame.work/t/fingerprint-scanner-compatibility-with-linux-ubuntu-fedora-etc/1501
However, collecting information from topics is problematic when you just want to solve a problem asap. So I just gathered my experience and consolidated different guides.
Open the terminal and start off with the installation of the dependencies:
sudo apt install gtk-doc-tools libfprint-2-dev libgirepository1.0-dev libgusb-dev libpam-wrapper libpam0g-dev libpamtest0-dev libpolkit-gobject-1-dev libxml2-utils python3-pip python3-pypamtest git gettext valgrind ninja-build libsystemd-dev
Then build utils:
sudo pip install meson
pip install ninja gobject python-dbusmock
If you are missing
pip
, install it withsudo apt install python3-pip
Now we need to build two packages: libfprint and fprintd.
We need specific versions of these packages because there are problems with the latest versions at the moment (at least for me).
You can try out for yourself if the latest version of the libraries work for you — give me a heads up in the comments if it does.
Build and install libfprintd:
cd && git clone https://gitlab.freedesktop.org/libfprint/libfprint.git cd libfprint && git fetch origin && git checkout v1.92.1meson builddir
ninja -C builddir install
Build and install fprintd:
cd && git clone https://gitlab.freedesktop.org/libfprint/fprintd.git cd fprintd && git fetch origin && git checkout v1.92.0meson builddir
ninja -C builddir install
If all steps are succesful, you can then see the configuration available in Gnome Settings -> Users -> Fingerprint.