Skip to content

How to Set Up a Fingerprint Sensor When Linux Mint Doesn't Detect It

The Microarray MAFP fingerprint reader (ID 3274:8012) is not detected out of the box on Linux Mint LMDE or Debian because stable repositories ship an older libfprint without the driver. Compile the latest libfprint from source and configure fprintd and PAM.

On this page
  1. Prerequisites
  2. Step 1: Install Required Build Dependencies
  3. Step 2: Clone and Compile libfprint
  4. Step 3: Restart System Services
  5. Step 4: Configure PAM Authentication
  6. Step 5: Enroll and Test Your Fingerprint
  7. Troubleshooting

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:

Terminal window
lsusb

Look for a line similar to:

Bus 005 Device 003: ID 3274:8012 MicroarrayTechnology MAFP General Device

If 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:

Terminal window
sudo apt update
sudo 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-fprintd

Step 2: Clone and Compile libfprint

  1. Clone the official libfprint repository:

    Terminal window
    git clone https://gitlab.freedesktop.org/libfprint/libfprint.git
    cd libfprint
  2. Configure the build using Meson:

    Note: We disable documentation generation (-Ddoc=false) to bypass unnecessary dependencies like gtk-doc.

    Terminal window
    meson setup build -Ddoc=false
  3. Compile and install the newly built library:

    Terminal window
    ninja -C build
    sudo ninja -C build install
    sudo ldconfig

Step 3: Restart System Services

Restart the fprintd daemon so it loads the updated library containing the driver:

Terminal window
sudo systemctl restart fprintd

Step 4: Configure PAM Authentication

To allow fingerprint authentication for sudo and system login prompts:

  1. Run the PAM configuration tool:

    Terminal window
    sudo pam-auth-update
  2. Use the Spacebar to ensure Fingerprint authentication is selected [*].

  3. Press Tab to highlight OK and press Enter.

Step 5: Enroll and Test Your Fingerprint

  1. Enroll your finger:

    Terminal window
    fprintd-enroll

    Swipe or press your finger on the sensor repeatedly when prompted until enrollment completes.

  2. Verify enrollment:

    Terminal window
    fprintd-verify

Troubleshooting

  • “No devices available” error: Make sure you ran sudo ldconfig after installation and restarted the daemon with sudo 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.