<!-- Canonical page: https://reversedwithai.com/p/mafp8004-fingerprint-libfprint-claude -->
Canonical page: https://reversedwithai.com/p/mafp8004-fingerprint-libfprint-claude

# Made a MicroArray MAFP 3274:8004 fingerprint sensor work on Linux by probing its firmware with Claude Code

> A laptop fingerprint reader that now logs you in on Linux.

Claude read the upstream driver, wrote USB probes and found six missing commands, which produced a libfprint patch with working login.

## Key facts

- Target: MicroArray MAFP General Device 3274:8004 fingerprint sensor
- Category: Firmware and hardware
- Platform: USB, Linux libfprint
- Models: Claude
- Tools: Claude Code, libfprint, PyUSB
- Outcome: Works
- License: LGPL-2.1
- Checks: Source available: yes; Repro steps: yes; Real hardware: yes; Verified by others: not reported
- Author: [lainff](https://github.com/lainff)
- Added: 2026-10-15
- Updated: 2026-10-15
- Sources reviewed: 2026-10-15 (editor)

## What was done

lainff got the MicroArray MAFP 3274:8004 fingerprint sensor working on Linux. The upstream libfprint driver attached to it but failed silently. The README says the reverse engineering, patch and probe scripts were produced with Claude in Claude Code, and every finding was confirmed on the sensor.

### How it was done

Claude read the upstream driver, formed hypotheses, wrote pyusb probe scripts and interpreted the device's answers. The sensor runs a reduced firmware with six missing commands and some odd behaviour: one command must be called explicitly, and another destroys feature buffers. Several confident explanations proved wrong and are kept in the notes.

### Results

The patch against libfprint master gives enrol, verify and fingerprint login through fprintd and PAM, tested on Debian 13 with KDE Plasma. The repo includes a protocol table and the probes. It is LGPL 2.1 or later.

## What the commit history shows

1 of 1 commits in the public repository credit an AI, over 1 day between 2026-08-29 and 2026-08-29. Credited: Claude Opus 5 (1).

Measured by this site from public git history.

## Questions about MicroArray MAFP General Device 3274:8004 fingerprint sensor

### What is the MicroArray MAFP General Device 3274:8004 fingerprint sensor project?

Claude read the upstream driver, wrote USB probes and found six missing commands, which produced a libfprint patch with working login. It is listed under Firmware and hardware for USB, Linux libfprint.

### Which AI model was used on MicroArray MAFP General Device 3274:8004 fingerprint sensor?

The entry names Claude. The tools named alongside are Claude Code, libfprint and PyUSB.

### Did the AI reverse engineering of MicroArray MAFP General Device 3274:8004 fingerprint sensor work?

Its author reports that it works. Checks recorded: source available yes, repro steps yes, real hardware yes.

### Is the source code for MicroArray MAFP General Device 3274:8004 fingerprint sensor available?

Yes. The code, patches or tooling are public: https://github.com/lainff/mafp8004-fingerprint-driver. Licence: LGPL-2.1. The sources give enough steps to reproduce it.

## Sources

- [Repository](https://github.com/lainff/mafp8004-fingerprint-driver)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: lainff (2026). Made a MicroArray MAFP 3274:8004 fingerprint sensor work on Linux by probing its firmware with Claude Code. Reversed with AI. https://reversedwithai.com/p/mafp8004-fingerprint-libfprint-claude
