If you have a laptop or USB nano reader equipped with a Microarray Technology MAFP fingerprint sensor (ID 3274:8012), you may find that it isn’t detected out of the box on Linux Mint LMDE or Debian-based distributions.
This happens because the default stable repositories often ship with older versions of libfprint that lack driver support for this specific chipset.
This step-by-step guide walks through compiling the latest development version of libfprint from source and configuring Linux authentication using standard system utilities.
Prerequisites
Before starting, open a terminal and verify that your system detects the reader on the USB bus:
lsusbLook for a line similar to:
Bus 005 Device 003: ID 3274:8012 MicroarrayTechnology MAFP General DeviceIf the hardware is listed, you can proceed with the installation steps below.
Step 1: Install Required Build Dependencies
To compile libfprint from source, install the necessary compilers, development headers, and tools:
sudo apt updatesudo apt install -y \ build-essential \ git \ meson \ ninja-build \ libglib2.0-dev \ libgusb-dev \ libnss3-dev \ libudev-dev \ libgirepository1.0-dev \ libcairo2-dev \ libssl-dev \ libgudev-1.0-dev \ fprintd \ libpam-fprintdStep 2: Clone and Compile libfprint
-
Clone the official
libfprintrepository:Terminal window git clone https://gitlab.freedesktop.org/libfprint/libfprint.gitcd libfprint -
Configure the build using Meson:
Note: We disable documentation generation (
-Ddoc=false) to bypass unnecessary dependencies likegtk-doc.Terminal window meson setup build -Ddoc=false -
Compile and install the newly built library:
Terminal window ninja -C buildsudo ninja -C build installsudo ldconfig
Step 3: Restart System Services
Restart the fprintd daemon so it loads the updated library containing the driver:
sudo systemctl restart fprintdStep 4: Configure PAM Authentication
To allow fingerprint authentication for sudo and system login prompts:
-
Run the PAM configuration tool:
Terminal window sudo pam-auth-update -
Use the Spacebar to ensure Fingerprint authentication is selected
[*]. -
Press Tab to highlight OK and press Enter.
Step 5: Enroll and Test Your Fingerprint
-
Enroll your finger:
Terminal window fprintd-enrollSwipe or press your finger on the sensor repeatedly when prompted until enrollment completes.
-
Verify enrollment:
Terminal window fprintd-verify
Troubleshooting
- “No devices available” error:
Make sure you ran
sudo ldconfigafter installation and restarted the daemon withsudo systemctl restart fprintd. - Login keyring prompt: Logging in via fingerprint does not automatically unlock your GNOME/Cinnamon keyring (which requires your plain-text user password). You may still be prompted for your password once upon reaching the desktop.