Skip to content

Instantly share code, notes, and snippets.

@AmulyaX
Last active October 16, 2025 20:28
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
# Install deps
sudo apt install meson ninja-build build-essential git pkg-config libglib2.0-dev libgusb-dev libnss3-dev libpam-dev libudev-dev libusb-1.0-0-dev
# 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
meson setup builddir
ninja -C builddir
sudo ninja -C builddir install
sudo ldconfig
# Above command will install everything to /usr/local/
sudo apt install fprintd libpam-fprintd
### 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)
Refer to following comments for more help:
https://gist.github.com/AmulyaX/7d050daffe3429c409effe1111bb65ae?permalink_comment_id=5776944#gistcomment-5776944
https://gist.github.com/AmulyaX/7d050daffe3429c409effe1111bb65ae?permalink_comment_id=5212157#gistcomment-5212157
@merijnvervoorn
Copy link

For my ASUS Zenbook 14 (UX3402V) with reader LighTuning Technology Inc. ETU905A88-E (Find this with lsusb) running Ubuntu the following managed the job:

sudo apt install meson ninja-build build-essential git pkg-config libglib2.0-dev libgusb-dev libnss3-dev libpam-dev libudev-dev libusb-1.0-0-dev

Download latest release and extract: https://gitlab.freedesktop.org/libfprint/libfprint/-/releases

Using terminal cd into the extracted folder.

meson setup builddir
ninja -C builddir
sudo ninja -C builddir install
sudo ldconfig

To use the fingerprint scanner:

sudo apt install fprintd libpam-fprintd

fprintd-enroll 

->Now it should say "Using device /net/reactivated/Fprint/Device/4 \ Enrolling right-index-finger finger."
->Place your finger on the scanner and take it off, replace and continue until "Enroll result: enroll-completed"

sudo pam-auth-update

-> scroll down to "Fingerprint authentication" and make sure to check that (with space), hit enter.

Now it should work

@AmulyaX
Copy link
Author

AmulyaX commented Oct 13, 2025

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!)

For my ASUS Zenbook 14 (UX3402V) with reader LighTuning Technology Inc. ETU905A88-E (Find this with lsusb) running Ubuntu the following managed the job:

sudo apt install meson ninja-build build-essential git pkg-config libglib2.0-dev libgusb-dev libnss3-dev libpam-dev libudev-dev libusb-1.0-0-dev

Download latest release and extract: https://gitlab.freedesktop.org/libfprint/libfprint/-/releases

Using terminal cd into the extracted folder.

meson setup builddir
ninja -C builddir
sudo ninja -C builddir install
sudo ldconfig

To use the fingerprint scanner:

sudo apt install fprintd libpam-fprintd

fprintd-enroll 

->Now it should say "Using device /net/reactivated/Fprint/Device/4 \ Enrolling right-index-finger finger." ->Place your finger on the scanner and take it off, replace and continue until "Enroll result: enroll-completed"

sudo pam-auth-update

-> scroll down to "Fingerprint authentication" and make sure to check that (with space), hit enter.

Now it should work

Thanks guys for keeping the troubleshooting up-to-date, I sold my old laptop sometime ago, so I cannot confirm what works and what doesn't but having faith on you, I have updated the original gist and tagged your comments. Thanks again, long live open source.

@vmax71
Copy link

vmax71 commented Oct 16, 2025

Hello everyone I have a debian 13 over Acer Swift SF14-61T. I followed the tips and I installed fprintd and libfprintd (https://github.com/TenSeventy7/libfprint-egismoc-sdcp). Issues:

  1. when I try to install libpam-fprintd, the system wants install fprintd and libfprintd from debian repository, overwrite the previous one.
  2. fprintd-enroll: Failed to get Fprintd manager: Error calling StartServiceByName for net.reactivated.Fprint: Failed to activate service 'net.reactivated.Fprint': timed out (service_start_timeout=25000ms)
    Anybody could help me please?
    Thank you!

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