USB ID
10a5:9800
Reported in
Lenovo ThinkPad E14 Gen 5, Lenovo ThinkPad E15 Gen 4, Lenovo ThinkBook 14 G4 IAP
Source
devices/10a5:9800/README.md

FPC Match-on-Host / fpcmoh (USB 10a5:9800)

Status: Working via the out-of-tree fpcmoh packaging.

Fingerprint Cards (FPC) sensor.

Hardware

Seen on ThinkPad E14 Gen5, ThinkPad E15 Gen 4 and ThinkBook 14 G4 IAP. The sensor reports a 112x88 image; firmware 27.26.23.30 (E14 Gen5), 27.26.23.18 (ThinkBook 14 G4 IAP) and 16.26.23.22 (E15 Gen 4, as shipped) have been seen.

Sensor firmware

Units on 16.x firmware exist (lsusb shows L:0001 FW:16.26.23.xx). What that means depends on the route:

Getting the update through fwupd is currently awkward:

Lenovo's readme also tells you to build fwupd from source and ninja install it. That leaves a libfwupd.so.3 in /usr/local/lib/x86_64-linux-gnu that later shadows the distro library and breaks the packaged fwupd.service (version 'LIBFWUPD_2.0.x' not found). If you did that in the past, move the /usr/local fwupd files aside and run sudo ldconfig.

What was broken

Upstream libfprint does not support this FPC sensor, so it is unrecognised.

What the fix does

Adds the fpcmoh (FPC match-on-host) driver to libfprint plus the udev rules needed for the device, enabling enroll and verify.

The upstream attempt to land this driver, libfprint MR !396 ("fpcmoh: Support FPC moh (match on host) devices", PID 0x9800), was closed without merging, so the out-of-tree packaging below remains the working route.

The driver links against libfpcbep.so, a proprietary library from FPC that Lenovo ships in r1slm01w.zip (sha256 c7290f2a70d48f7bdd09bee985534d3511ec00d091887b07f81cf1e08f74c145). It is not mirrored here.

Build and install

The cleanest source is xuwd1's AUR package libfprint-fpcmoh-git (see CREDITS). Arch:

# AUR helper, e.g.
yay -S libfprint-fpcmoh-git
sudo pkill -9 -x fprintd
fprintd-list "$USER"
sudo fprintd-enroll "$USER"

On other distros, build libfprint with the fpcmoh driver from that source and install the accompanying udev rules. furcom's repo (archived, read-only) packaged this for Fedora/dnf.

Ubuntu (TOD module)

On Ubuntu there is no need to build anything. FPC's driver is packaged as a libfprint TOD module, libfprint-2-tod1-fpc, in ppa:libfprint-tod1-group/ppa. It loads into Ubuntu's stock libfprint-2-tod1, so nothing is rebuilt or replaced:

sudo add-apt-repository ppa:libfprint-tod1-group/ppa
sudo apt update
sudo apt install libfprint-2-tod1-fpc
sudo pam-auth-update --enable fprintd
fprintd-enroll && fprintd-verify

The PPA has builds for focal (20.04), jammy (22.04) and noble (24.04). There is no build for 26.04 yet. Inclusion in the Ubuntu archive for 26.04 and later is requested in LP: #2024145; if you are affected, mark it "affects me" there.

Debian / Ubuntu (patch against libfprint v1.94.10)

patches/0001-fpcmoh-support-10a5-9800-v1.94.10.patch is MR !396 rebased onto libfprint v1.94.10, the version Debian forky ships. Follow docs/BUILD.md with these deltas:

  1. Get the blob and give it a soname. Without one, the linker records the blob's absolute build-time path in libfprint-2.so:

sh wget https://download.lenovo.com/pccbbs/mobiles/r1slm01w.zip unzip r1slm01w.zip mkdir -p ~/fpcbep cp FPC_driver_linux_27.26.23.39/install_fpc/libfpcbep.so ~/fpcbep/ patchelf --set-soname libfpcbep.so ~/fpcbep/libfpcbep.so

  1. Check out v1.94.10, apply the patch, and point meson at the blob with the fpcbep_dir option the patch adds:

sh git checkout v1.94.10 git apply /path/to/0001-fpcmoh-support-10a5-9800-v1.94.10.patch meson setup builddir --prefix=/usr/local --libdir=lib/x86_64-linux-gnu \ -Dfpcbep_dir="$HOME/fpcbep" -Dudev_hwdb=disabled -Dudev_rules=disabled \ -Ddoc=false -Dgtk-examples=false -Dintrospection=false -Dinstalled-tests=false meson compile -C builddir

  1. Install the library, the blob and Lenovo's udev rule:

sh sudo meson install -C "$PWD/builddir" sudo install -m 0644 ~/fpcbep/libfpcbep.so /usr/local/lib/x86_64-linux-gnu/ sudo install -m 0644 FPC_driver_linux_libfprint/install_libfprint/lib/udev/rules.d/60-libfprint-2-device-fpc.rules /etc/udev/rules.d/ sudo ldconfig

On Debian multiarch, /usr/local/lib/x86_64-linux-gnu comes before /usr/lib/x86_64-linux-gnu in /etc/ld.so.conf.d/x86_64-linux-gnu.conf. The packaged fprintd therefore loads this build while libfprint-2-2 stays installed, and a later apt upgrade does not overwrite it. To revert, delete the installed files and run sudo ldconfig. Check which library is picked up with ldconfig -p | grep libfprint-2.so.2.

fprintd-enroll asks for your password through polkit (auth_self_keep). On desktops without a visible polkit agent (for example a bare Hyprland or sway session), the prompt can time out and enrolling then fails with EnrollStart failed: Timeout was reached. Running a polkit agent, or sudo fprintd-enroll "$USER", avoids this.

PAM setup

Enable fprintd in your PAM stack: distro helper where there is one, otherwise auth sufficient pam_fprintd.so. Never required. Full steps per distro are in docs/BUILD.md.

Tested on