ELAN Fingerprint Reader Working on HP EliteBook X G2i (04f3:0ca8) #6453
meirdick
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Following on from #5191 — same story, different laptop. The HP EliteBook X G2i 14" ("Next Gen AI PC" line) has an Elan
04f3:0ca8(ELAN:ARM-M4) reader that isn't in libfprint'selanmoc2driver table yet.Instead of binary-patching the installed
.so(which needs re-patching after every libfprint update), I built theelanmoc2branch from source with0ca8added toelanmoc2_id_table, packaged as a normal pacman package thatprovides/conflictslibfprint— so it survivespacman -Syu/omarchy updatewithout any pacman hook needed.Steps:
git clone https://gitlab.freedesktop.org/Depau/libfprint.git -b elanmoc2{.vid = ELANMOC2_VEND_ID, .pid = 0x0ca8, .driver_data = ELANMOC2_ALL_DEV},tolibfprint/drivers/elanmoc2/elanmoc2.c'selanmoc2_id_tablelibfprint-elanmoc2-gitone, pointed at the local patched source) viamakepkgpacman -Uthe result (conflicts with/replaces stocklibfprint)pacman -S fprintd usbutils, thenfprintd-enroll/fprintd-verifyas usualConfirmed working: device detected as "ELAN Match-on-Chip 2", enroll completes, verify matches. PAM wiring for sudo/polkit/lock screen is just the standard
pam_fprintd.sosetupomarchy setup security fingerprintwould normally do — its own hardware-detection script just doesn't recognize this Elan product string yet, so the wizard itself needs to be skipped and the steps run manually.I've also filed this device ID upstream with the elanmoc2 maintainer.
Happy to share the exact PKGBUILD if anyone else has this laptop.
All reactions