Skip to content

Instantly share code, notes, and snippets.

@AmulyaX
Last active May 19, 2025 21:21
Show Gist options
  • Save AmulyaX/7d050daffe3429c409effe1111bb65ae to your computer and use it in GitHub Desktop.
Save AmulyaX/7d050daffe3429c409effe1111bb65ae to your computer and use it in GitHub Desktop.
Use custom built libfprint to add fixes for specific drivers
# Clone fprintd source code
git clone https://gitlab.freedesktop.org/libfprint/libfprint.git
# Checkout to our good guy who made a patch for sensor
# 1c7a:0587 LighTuning Technology Inc. ETU905A88-E
git fetch "https://gitlab.freedesktop.org/thameruddin/libfprint.git" 'egismoc-0587'
git checkout -b 'libfprint-egismoc-0587' FETCH_HEAD
# Try building the code
cd libfprint
sudo meson builddir
sudo meson install -C builddir
# Above command will install everything to /usr/local/
sudo apt install fprintd fprintd-pam
### IMPORTANT
### Try not to install the libfprint via apt, if the above debs are not being installed without this, either install and
### purge later or create a symbolic link to our custom build libfprint.so (Feel free to ask if you need help with this)
@Doudoube
Copy link

For your information, ETU905A88-E driver is now implemented on libfprint v.1.94.8 as u can see here 👍 https://gitlab.freedesktop.org/libfprint/libfprint/-/releases

I still can't get it to work on Pop_Os, with the commands from above. I have exactly the ETU905A88-E sensor.

What i do : sudo apt remove fprintd libpam-fprintd sudo apt purge --auto-remove fprintd libfprint-2-2 git clone https://gitlab.freedesktop.org/libfprint/libfprint.git cd libfprint sudo meson setup builddir (or sudo meson builddir ?) sudo meson install -C builddir sudo apt install fprintd libpam-fprintd

and during fprintd-enroll either my finger is not detected, or it is, and afterwards during verify its not detected... any help? thank you very much

I don't know POP'OS.
I think you must install the libfprint v.1.94.8 driver and install it, it should work...

@averagenokiauser
Copy link

I am on Debian. My fingerprint reader is VFS491 (138a:003d). This is not the same reader as here but i am trying to do something like people here are. Someone already did this: https://github.com/ludwhe/libfprint/. I think he just forked some drivers for my Fingerprint reader and then just updated libfprint version? I don’t know much about this and would be really happy if someone could assist me.

@boevski
Copy link

boevski commented May 14, 2025

For your information, ETU905A88-E driver is now implemented on libfprint v.1.94.8 as u can see here 👍 https://gitlab.freedesktop.org/libfprint/libfprint/-/releases

Could somebody explain why the same device model (ETU905A88-E) is being reported by lsusb with different hex numbers (i.e. 1c7a:0583, 1c7a:0584, 1c7a:0587) and how does it matter?

As @Doudoube mentions, the driver does seem to be implemented, but the release notes only mention "egismoc: New PIDs 0x0583, 0x0586, 0x0587" while my sensor is showing 0584 and, consequently, is not being recognized by fprintd.service.

@Luis97Lopez
Copy link

I was having issues installing the compiled library to /usr/local with the original commands. For me, I had to first run: sudo apt purge --auto-remove fprintd libfprint-2-2 To remove the old library.

Then install with: sudo ninja -C builddir install

Then I also was getting an error when trying to run "sudo apt install fprintd fprintd-pam" So instead, I had to install: sudo apt install libpam-fprintd

Finally, fprintd-enroll worked, and the fingerprint option in 24.04 Gnome settings came back too.

(I have an Asus Vivobook Pro 16 OLED which has a LighTuning Technology Inc. ETU905A88-E fingerprint reader (ID 1c7a:0587) the updated libfprint library helped get it finally working!)

Worked for me with ASUS Zenbook D14 UX3402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment