manciukic/libfprint-tod-goodix

Description

Description not filled in by author. Very likely personal repository for testing purpose, which you should not use.

Installation Instructions

Instructions not filled in by author. Author knows what to do. Everybody else should avoid this repo.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download Fedora 38 x86_64 (0)* Fedora 38 (0 downloads)

* Total number of packages downloaded in the last seven days.


This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/manciukic/libfprint-tod-goodix

Thanks for the work. It works with my Dell XPS 15 9500 (device id 27c6:533c) on Fedora Workstation 39 and I was able to directly configure the fingerprint from the Gnome GUI instead of the fprintd-enroll command.

1 Like

Can you please add support for this model too?
Bus 003 Device 004: ID 27c6:55a2 Shenzhen Goodix Technology Co.,Ltd.
Thanks a lot.

Thanks for this. Working on my Dell XPS 13 9300. Had to remove the existing libfprint due to conflicts (--allowerasing)

Resolved:
The following commands were also needed for me, and then it worked:

sudo authselect current
sudo authselect enable-feature with-fingerprint
sudo authselect apply-changes

Iā€™ll leave the rest of the (long) post, for reference in case it helps othersā€¦

Iā€™m trying to get the fingerprint reader working on xps 15 9500, device id 27c6:533c, fresh f39 install.

When I ran the command for to install libfprint-tod-goodix dnf failed to install because there was a conflict with fprintd.

Error: Transaction test error:
  file /usr/lib/udev/hwdb.d/60-autosuspend-libfprint-2.hwdb from install of libfprint-tod-1.94.5-2.fc39.x86_64 conflicts with file from package libfprint-1.94.6-1.fc39.x86_64
  file /usr/lib64/girepository-1.0/FPrint-2.0.typelib from install of libfprint-tod-1.94.5-2.fc39.x86_64 conflicts with file from package libfprint-1.94.6-1.fc39.x86_64
  file /usr/lib64/libfprint-2.so.2.0.0 from install of libfprint-tod-1.94.5-2.fc39.x86_64 conflicts with file from package libfprint-1.94.6-1.fc39.x86_64

I manually removed fprintd, which also removed fprintd-pam.

I was then able to install libfprint-tod-goodix. The systemctl and fprintd-enroll commands worked.

But I donā€™t seem to have any way to use fingerprint authentication.

$ systemctl status fprintd output:

ā—‹ fprintd.service - Fingerprint Authentication Daemon
     Loaded: loaded (/usr/lib/systemd/system/fprintd.service; static)
    Drop-In: /usr/lib/systemd/system/service.d
             ā””ā”€10-timeout-abort.conf
     Active: inactive (dead)
       Docs: man:fprintd(1)

Apr 14 09:52:07 DESKTOP-6P1365N.lan systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
Apr 14 09:52:37 DESKTOP-6P1365N.lan systemd[1]: fprintd.service: Deactivated successfully.
Apr 14 10:04:37 DESKTOP-6P1365N.lan systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
Apr 14 10:04:37 DESKTOP-6P1365N.lan fprintd[11976]: Creating TOD wrapper for goodix-tod (Goodix Fingerprint Sensor 53>
Apr 14 10:04:37 DESKTOP-6P1365N.lan systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
Apr 14 10:05:07 DESKTOP-6P1365N.lan systemd[1]: fprintd.service: Deactivated successfully.
Apr 14 10:33:03 DESKTOP-6P1365N.lan systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
Apr 14 10:33:04 DESKTOP-6P1365N.lan fprintd[13051]: Creating TOD wrapper for goodix-tod (Goodix Fingerprint Sensor 53>
Apr 14 10:33:04 DESKTOP-6P1365N.lan systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
Apr 14 10:33:34 DESKTOP-6P1365N.lan systemd[1]: fprintd.service: Deactivated successfully.

Edit:
I ran through the process again and noticed:

  1. The status shows active (running) when first running the systemctl command (after installing goodix)
  2. After a few minutes, the status changes to inactive (dead)
  3. After running enroll the output changes:
systemctl status fprintd
ā— fprintd.service - Fingerprint Authentication Daemon
     Loaded: loaded (/usr/lib/systemd/system/fprintd.service; static)
    Drop-In: /usr/lib/systemd/system/service.d
             ā””ā”€10-timeout-abort.conf
     Active: active (running) since Sun 2024-04-14 11:01:49 JST; 44s ago
       Docs: man:fprintd(1)
   Main PID: 16105 (fprintd)
      Tasks: 6 (limit: 18777)
     Memory: 13.6M
        CPU: 2.358s
     CGroup: /system.slice/fprintd.service
             ā””ā”€16105 /usr/libexec/fprintd

Apr 14 11:01:48 DESKTOP-6P1365N.lan systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
Apr 14 11:01:48 DESKTOP-6P1365N.lan fprintd[16105]: Creating TOD wrapper for goodix-tod (Goodix Fingerprint Sensor 53xc) driver
Apr 14 11:01:49 DESKTOP-6P1365N.lan systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
Apr 14 11:01:55 DESKTOP-6P1365N.lan fprintd[16105]: Goodix Fingerprint Sensor 53xc does not support identify with empty gallery, let's skip it

Scribeā€™s workaround doesnā€™t seem to work anymore on Fedora 40. My guess is the goodix package used to include fprintd but no longer does, so when uninstalling libfprintd itā€™s gone. goodix-tod does install with it removed, but the daemon and service no longer exists.

It would be nice if it were a downloadable rpm instead; then it could be unpacked, tweaked, repackaged, and installed to get around problems like this.

Edit: my bad, silly mistake - thereā€™s a typo in Scribeā€™s post. Itā€™s libfprint that needs removing, not fprintd. Updated instructions (verified on Fedora 40):

sudo dnf copr enable manciukic/libfprint-tod-goodix

sudo dnf remove libfprint

sudo dnf install libfprint-tod-goodix

sudo systemctl restart fprintd

sudo authselect current

sudo authselect enable-feature with-fingerprint

sudo authselect apply-changes

fprintd-enroll

fprintd-enroll will ask you to authenticate, then quietly sample your right index finger. Keep tapping it and releasing when you seed a ā€˜passedā€™ message. It samples your finger 10 times, and you should tap it in the same position, not try to angle it or maximize coverage (like you would on MacOS).

I was getting this far, no further.

$ sudo systemctl restart fprintd

Failed to restart fprintd.service: Unit fprintd.service not found.

But solved it by following the instructions here:

XPS 13 9310 - Fedora Workstation 40

You probably didnā€™t have fprintd installed before. Install it with:

sudo dnf install fprintd