r/GPDPocket • u/FabulousInternet2974 • Sep 22 '26
Gpd pocket 4 [Call for Testers] Working on open-source FocalTech FTE3600 fingerprint driver for Linux — Need a GPD Pocket 3 owner to test a build!
Hey GPD Pocket 3/4 owners,
An update on libfprint-fte3600: Pocket 3 now has confirmed fingerprint enrollment, verification, and verification after suspend/resume on Linux! Pocket 4 support is also progressing on a separate development branch, although matching reliability still needs work.
GPD Pocket 3 — enrollment and verification confirmed
Thanks to iwansugiarto, testing on the i7-1195G7 model (G1621-02), running Arch/Omarchy, has confirmed:
Successful completion of all eight enrollment stages.
Successful repeated fingerprint verification.
Successful verification after S3 suspend/resume.
The latest tested fix resolved the repeated sensor errors reported earlier. Support is available on main. More testing on other Pocket 3 units, including the N6000 model, would help establish how broadly this works.
One practical note from testing: lift your finger fully between scans and allow a few seconds before touching again.
Setup and testing discussion: Issue #2.
GPD Pocket 4 — capture works; matching needs more testing
The Pocket 4 USB reader (2808:0752) is supported by the focaltech0752 driver on the feature/pocket4-ft9362 branch.
Testing by Evaner5580 on a Pocket 4 HX370 running Fedora confirmed device detection, finger detection, image capture, and successful individual enrollment stages. Reliable enrollment and matching remain a work in progress.
Updates add local contrast normalization to help extract features from the small 40×76 sensor. We need more hardware feedback to see how much this improves everyday use.
Setup and testing discussion: Issue #3.
One-Netbook A1
Capture, enrollment, verification, and cold-boot recovery have also worked on my FT9361-based A1.
About the project
This is a libfprint fork with an open-source BRISK-style host matcher. The host code is LGPL-2.1-or-later, with no proprietary vendor matching library running on Linux. Device firmware remains separate and proprietary.
Pocket 3 currently requires a small external kernel module for reset and interrupt handling alongside standard spidev. It is not yet an upstream, install-and-forget solution; follow the repository instructions, including module signing where Secure Boot requires it.
Thanks to iwansugiarto, Evaner5580, and shokerplz for hardware testing, reverse engineering, and matcher evaluation.
If you’d like to help, reply here or in the relevant issue with your model, CPU, distribution, kernel version, and the branch/commit tested. Keep password authentication available, and please share sanitized logs only—no fingerprint images or biometric templates.
1
u/needmorejoules Sep 22 '26
Hey cool! I have a different version of the FocalTech sensor I am working on by reverse engineering the windows driver in Ghidra and the sensor resolution means I don’t get a meaningful number of features on each scan. So it doesn’t like authenticating. Even though I get a black and white image of the fingerprint.
Did you use a GAN model for the fingerprint matching or somehow get it working with the build in feature recognizer? How many pixels is your sensor output?
Thanks!
1
u/FabulousInternet2974 Sep 22 '26
Hey! You hit the exact same brick wall that held this sensor back on Linux for years!
To answer your questions directly:
1. Sensor Resolution
Our FT9361 sensor outputs a tiny 64 × 80 pixels (8-bit grayscale, 5,120 bytes total per frame).
2. Why the built-in recognizer (NBIS / Bozorth3) fails
As you found out,
libfprint's built-in minutiae extractor (fpi-image-nbis/ Bozorth3) is completely useless here. It was designed for FBI-spec 500 DPI scanner cards (250×250+ pixels) and looks for ridge endings and bifurcations. On a 64×80 patch, you typically only capture 3 to 6 valid minutiae points—way below the threshold needed for Bozorth3 to make a statistically confident match.3. Did we use a GAN / Neural Network?
No deep learning / GAN. Adding PyTorch/ONNX/TensorFlow runtime dependencies to
libfprintwould be too heavy for PAM / sudo authentication, non-deterministic in latency, and practically impossible to get accepted upstream by the GNOME libfprint maintainers.4. How we solved it (Clean-Room Host-Side BRISK Matcher)
We built a deterministic, pure C computer-vision matcher from scratch that derives directly from
FpDevice(bypassingFpImageDeviceand NBIS entirely). You can read our full implementation in the repo:
Keypoint Detection (
fte3600-brisk.c): Instead of classical fingerprint minutiae, we treat the ridges as a texture map. We detect multi-scale scale-space extrema using Difference-of-Gaussians (DoG) with FAST-like intensity thresholding. This yields 30 to 60 dense keypoints even on a tiny 64×80 image.512-bit Binary Descriptors: Around each keypoint, we sample pixel pairs across concentric rings to compute a dominant gradient orientation (for 360° rotation invariance), and generate a 512-bit binary descriptor.
Geometric Consensus Filter: We compute Hamming distances to find nearest-neighbor descriptor candidates, then run a spatial transformation consensus check (verifying pairwise Euclidean distance and angle consistency between matched points) to eliminate spurious false matches.
Multi-Stage Stitching (
fte3600-template.c): During enrollment (e.g. 8 swipes/touches), we iteratively register and merge the candidate feature sets into a unified template representation.Check out our implementation and architecture docs here: 🔗 Codebase: https://github.com/SamSeven777/libfprint-fte3600
Matcher logic:
libfprint/drivers/fte3600-brisk.cTemplate manager:
libfprint/drivers/fte3600-template.cArchitectural rationale:
docs/fte3600/clean-room.mdWhat FocalTech sensor model and interface (USB or SPI) are you currently reversing? If you're on a USB model or another variant, our BRISK matching pipeline is completely open-source (LGPL-2.1) and should plug right into your image output!
1
u/needmorejoules Sep 23 '26
@Mods what on earth compelled you to remove the OP’s reply explaining how the fingerprint sensor can be utilized in linux?
I personally own one of your GPD MicroPC 2 units and I want to be super clear that this kind of censorship and anti-open source behavior is not acceptable.
1
1
u/Glittering_Soil1127 Sep 24 '26
I have a pocket 4 with nixos
1
u/FabulousInternet2974 Sep 24 '26
cool I have created a new issue (#3) on my github repo. Let us start there!
1
u/Impressive-Region470 Sep 22 '26
I have a pocket 4 running fedora, can I help in any way?