Closed dainslef closed 2 years ago
This builds but I haven't tested it yet.
{
services.fprintd.package = with pkgs;
fprintd-tod.overrideAttrs ({ patches ? [], postPatch ? "", ... }: {
patches = patches ++ [
(fetchpatch {
name = "use-more-idiomatic-correct-embedded-shell-scripting";
url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/f4256533d1ffdc203c3f8c6ee42e8dcde470a93f.patch";
sha256 = "sha256-4uPrYEgJyXU4zx2V3gwKKLaD6ty0wylSriHlvKvOhek=";
})
(fetchpatch {
name = "remove-pointless-copying-of-files-into-build-directory";
url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/2c34cef5ef2004d8479475db5523c572eb409a6b.patch";
sha256 = "sha256-2pZBbMF1xjoDKn/jCAIldbeR2JNEVduXB8bqUrj2Ih4=";
})
(fetchpatch {
name = "build-Do-not-use-positional-arguments-in-i18n.merge_file";
url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/50943b1bd4f18d103c35233f0446ce7a31d1817e.patch";
sha256 = "sha256-ANkAq6fr0VRjkS0ckvf/ddVB2mH4b2uJRTI4H8vPPes=";
})
];
postPatch = ''
${postPatch}
# part of "remove-pointless-copying-of-files-into-build-directory" but git-apply doesn't handle renaming
mv src/device.xml src/net.reactivated.Fprint.Device.xml
mv src/manager.xml src/net.reactivated.Fprint.Manager.xml
'';
});
}
Doesn't work yet. Now it segfaults in libusb. Likely due to this: https://bugs.archlinux.org/task/74240 https://github.com/libusb/libusb/issues/1038 https://github.com/libusb/libusb/commit/7cc06ea5c7c3b36801421a6be17b51b92c1bc05a
This finally builds and doesn't segfault but still doesn't work.
{
services.fprintd.package = with pkgs;
(fprintd-tod.override {
libfprint-tod = libfprint-tod.override {
libfprint = libfprint.override {
gusb = gusb.override {
libusb1 = libusb1.overrideAttrs ({ patches ? [], ... }: {
patches = patches ++ [
(fetchpatch {
name = "core-Unset-device-ctx-if-it-has-been-destroyed";
url = "https://github.com/libusb/libusb/commit/c3639bc23eaaed7fa94d377af42f00ddc5083de2.patch";
sha256 = "sha256-gBtV5b3U+bM44KFykrXA34EdI8XxgoHXdK+UbjBjAAo=";
})
(fetchpatch {
name = "io-Track-device-in-usbi-transfer";
url = "https://github.com/libusb/libusb/commit/7cc06ea5c7c3b36801421a6be17b51b92c1bc05a.patch";
sha256 = "sha256-sI+5bk50ZZuchMYnlI5K7qFT+rGdgM6f3N0vfUTYxvE=";
})
];
});
};
};
};
}).overrideAttrs ({ patches ? [], postPatch ? "", ... }: {
patches = patches ++ [
(fetchpatch {
name = "use-more-idiomatic-correct-embedded-shell-scripting";
url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/f4256533d1ffdc203c3f8c6ee42e8dcde470a93f.patch";
sha256 = "sha256-4uPrYEgJyXU4zx2V3gwKKLaD6ty0wylSriHlvKvOhek=";
})
(fetchpatch {
name = "remove-pointless-copying-of-files-into-build-directory";
url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/2c34cef5ef2004d8479475db5523c572eb409a6b.patch";
sha256 = "sha256-2pZBbMF1xjoDKn/jCAIldbeR2JNEVduXB8bqUrj2Ih4=";
})
(fetchpatch {
name = "build-Do-not-use-positional-arguments-in-i18n.merge_file";
url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/50943b1bd4f18d103c35233f0446ce7a31d1817e.patch";
sha256 = "sha256-ANkAq6fr0VRjkS0ckvf/ddVB2mH4b2uJRTI4H8vPPes=";
})
];
postPatch = ''
${postPatch}
# part of "remove-pointless-copying-of-files-into-build-directory" but git-apply doesn't handle renaming
mv src/device.xml src/net.reactivated.Fprint.Device.xml
mv src/manager.xml src/net.reactivated.Fprint.Manager.xml
'';
});
}
There is a mysterious libgxfp_start_session failed
in the log, which Google knows absolutely nothing about.
Jun 07 20:58:16 laptop systemd[1]: Starting Fingerprint Authentication Daemon...
Jun 07 20:58:16 laptop fprintd[3094]: About to load configuration file '/nix/store/hbhkpn8rr3lghpq02l69nh6pfflalk94-fprintd-tod-1.90.9/etc/fprintd.conf'
Jun 07 20:58:16 laptop fprintd[3094]: Launching FprintObject
Jun 07 20:58:16 laptop fprintd[3094]: Opening driver /nix/store/qmbh0q4a089ayiidll1icj0g7gn3wmp2-libfprint-2-tod1-goodix-0.0.6/lib/libfprint-2/tod-1/libfprint-tod-goodix-53xc-0.0.6.so
Jun 07 20:58:16 laptop fprintd[3094]: Found TOD entry point symbol 0x7fab9fe63920, GType is 10857360
Jun 07 20:58:16 laptop fprintd[3094]: Loading driver goodix-tod (Goodix Fingerprint Sensor 53xc)
Jun 07 20:58:16 laptop fprintd[3094]: No driver found for USB device 1D6B:0003
Jun 07 20:58:16 laptop fprintd[3094]: No driver found for USB device 1050:0407
Jun 07 20:58:16 laptop fprintd[3094]: No driver found for USB device 0C45:6A0F
Jun 07 20:58:16 laptop fprintd[3094]: Goodix libfpfint-tod driver version 0.0.6
Jun 07 20:58:17 laptop fprintd[3094]: Device reported probe completion
Jun 07 20:58:17 laptop fprintd[3094]: No driver found for USB device 8087:0026
Jun 07 20:58:17 laptop fprintd[3094]: No driver found for USB device 1D6B:0002
Jun 07 20:58:17 laptop fprintd[3094]: No driver found for USB device 1D6B:0003
Jun 07 20:58:17 laptop fprintd[3094]: No driver found for USB device 1D6B:0002
Jun 07 20:58:17 laptop fprintd[3094]: Completing action FPI_DEVICE_ACTION_PROBE in idle!
Jun 07 20:58:17 laptop fprintd[3094]: entering main loop
Jun 07 20:58:17 laptop systemd[1]: Started Fingerprint Authentication Daemon.
Jun 07 20:58:17 laptop fprintd[3094]: D-Bus service launched with name: net.reactivated.Fprint
Jun 07 20:58:20 laptop fprintd[3094]: Requesting device 'Goodix Fingerprint Sensor 53xc' authorization for method ListEnrolledFingers from :1.52
Jun 07 20:58:20 laptop fprintd[3094]: Getting authorization to perform Polkit action net.reactivated.fprint.device.setusername
Jun 07 20:58:20 laptop fprintd[3094]: Getting authorization to perform Polkit action net.reactivated.fprint.device.verify
Jun 07 20:58:20 laptop fprintd[3094]: Authorization granted to Goodix Fingerprint Sensor 53xc to call method 'ListEnrolledFingers' for device :1.52!
Jun 07 20:58:20 laptop fprintd[3094]: file_storage_discover_prints() for user 'henri' in '/var/lib/fprint/henri/goodix-tod/0'
Jun 07 20:58:20 laptop fprintd[3094]: Requesting device 'Goodix Fingerprint Sensor 53xc' authorization for method Claim from :1.52
Jun 07 20:58:20 laptop fprintd[3094]: Getting authorization to perform Polkit action net.reactivated.fprint.device.setusername
Jun 07 20:58:20 laptop fprintd[3094]: Getting authorization to perform Polkit action net.reactivated.fprint.device.verify
Jun 07 20:58:20 laptop fprintd[3094]: Authorization granted to Goodix Fingerprint Sensor 53xc to call method 'Claim' for device :1.52!
Jun 07 20:58:20 laptop fprintd[3094]: user 'henri' claiming the device: 0
Jun 07 20:58:20 laptop fprintd[3094]: 19088285: ../fprint-tod-goodix.c:536
Jun 07 20:58:20 laptop fprintd[3094]: libgxfp_start_session failed
Jun 07 20:58:20 laptop fprintd[3094]: Device reported open completion
Jun 07 20:58:20 laptop fprintd[3094]: Completing action FPI_DEVICE_ACTION_OPEN in idle!
Jun 07 20:58:33 laptop fprintd[3094]: Requesting device 'Goodix Fingerprint Sensor 53xc' authorization for method ListEnrolledFingers from :1.55
Jun 07 20:58:33 laptop fprintd[3094]: Getting authorization to perform Polkit action net.reactivated.fprint.device.setusername
Jun 07 20:58:33 laptop fprintd[3094]: Getting authorization to perform Polkit action net.reactivated.fprint.device.verify
Jun 07 20:58:33 laptop fprintd[3094]: Authorization granted to Goodix Fingerprint Sensor 53xc to call method 'ListEnrolledFingers' for device :1.55!
Jun 07 20:58:33 laptop fprintd[3094]: file_storage_discover_prints() for user 'henri' in '/var/lib/fprint/henri/goodix-tod/0'
Jun 07 20:58:33 laptop fprintd[3094]: Requesting device 'Goodix Fingerprint Sensor 53xc' authorization for method Claim from :1.55
Jun 07 20:58:33 laptop fprintd[3094]: Getting authorization to perform Polkit action net.reactivated.fprint.device.setusername
Jun 07 20:58:33 laptop fprintd[3094]: Getting authorization to perform Polkit action net.reactivated.fprint.device.verify
Jun 07 20:58:33 laptop fprintd[3094]: Authorization granted to Goodix Fingerprint Sensor 53xc to call method 'Claim' for device :1.55!
Jun 07 20:58:33 laptop fprintd[3094]: user 'henri' claiming the device: 0
Jun 07 20:59:03 laptop systemd[1]: fprintd.service: Deactivated successfully.
Jun 07 20:59:03 laptop systemd[1]: fprintd.service: Consumed 1.575s CPU time, no IP traffic.
Looks like we have to upgrade some versions: https://forum.manjaro.org/t/goodix-fingerprint-sensor-53xc-finally-working-again/110690 I'll wait with that for some days (maybe weeks) until my libusb update (https://github.com/NixOS/nixpkgs/pull/176672) percolated through the channels.
@hmenke any update on this? It looks like https://github.com/NixOS/nixpkgs/pull/176672 merged 16 days ago but I'm still getting this same failure as above. I'm running nixos-unstable.
I'm on NixOS 22.05 and the update hasn't arrived there yet. I'll look into it again in the next days.
The libusb update is scheduled for the next staging iteration on 22.05: https://github.com/NixOS/nixpkgs/pull/179251 Just a few more days.
PR is open and welcomes your review: https://github.com/NixOS/nixpkgs/pull/180145
In the meanwhile, this works for me on Dell XPS 13 9310.
{
services.fprintd = let
libfprint-tod = pkgs.libfprint.overrideAttrs (_: rec {
pname = "libfprint-tod";
version = "1.94.3+tod1";
src = pkgs.fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "3v1n0";
repo = "libfprint";
rev = "v${version}";
sha256 = "sha256-rtkZ1q5A8MxaDjrdVCqLUUuA6v1ob07v95/U9wV+ydk=";
};
});
in {
enable = true;
package = pkgs.fprintd.override { libfprint = libfprint-tod; };
tod = {
enable = true;
driver = pkgs.libfprint-2-tod1-goodix.override { libfprint-tod = libfprint-tod; };
};
};
systemd.services."fprintd".environment."G_MESSAGES_DEBUG" = "all"; # for good measure
}
@hmenke I was able to get it installed using your workaround!
But when I try to enroll, as soon as I touch the fingerprint sensor, I get enroll-unknown-error
:
dude on xps-nixos in ~ $ sudo fprintd-enroll
Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-unknown-error
Here's journalctl -u fprintd
:
Jul 05 10:12:22 xps-nixos fprintd[4357]: About to load configuration file '/nix/store/5n7l5i5r770kdvvcn2vy068n0klzb2xm-fprintd-1.94.2/etc/fprintd.conf'
Jul 05 10:12:22 xps-nixos fprintd[4357]: Launching FprintObject
Jul 05 10:12:22 xps-nixos fprintd[4357]: Opening driver /nix/store/rs5vphr1qdig7ijxxlz19ab6wnajclak-libfprint-2-tod1-goodix-0.0.6/lib/libfprint-2/tod-1/libfprint-tod->
Jul 05 10:12:22 xps-nixos fprintd[4357]: Found TOD entry point symbol 0x7fca549d9920, GType is 38144592
Jul 05 10:12:22 xps-nixos fprintd[4357]: Loading driver goodix-tod (Goodix Fingerprint Sensor 53xc)
Jul 05 10:12:22 xps-nixos fprintd[4357]: Initializing features for driver goodix-tod
Jul 05 10:12:22 xps-nixos fprintd[4357]: Preparing devices for resume
Jul 05 10:12:22 xps-nixos fprintd[4357]: No driver found for USB device 1D6B:0003
Jul 05 10:12:22 xps-nixos fprintd[4357]: No driver found for USB device 0C45:672A
Jul 05 10:12:22 xps-nixos fprintd[4357]: No driver found for USB device 8087:0026
Jul 05 10:12:22 xps-nixos fprintd[4357]: No driver found for USB device 1D6B:0002
Jul 05 10:12:22 xps-nixos fprintd[4357]: No driver found for USB device 1D6B:0003
Jul 05 10:12:22 xps-nixos fprintd[4357]: No driver found for USB device 1D6B:0002
Jul 05 10:12:22 xps-nixos fprintd[4357]: Goodix libfpfint-tod driver version 0.0.6
Jul 05 10:12:22 xps-nixos fprintd[4357]: Device reported probe completion
Jul 05 10:12:22 xps-nixos fprintd[4357]: Got delay inhibitor for sleep.
Jul 05 10:12:22 xps-nixos fprintd[4357]: Completing action FPI_DEVICE_ACTION_PROBE in idle!
Jul 05 10:12:22 xps-nixos fprintd[4357]: Updated temperature model after 0.81 seconds, ratio 0.27 -> 0.27, active 0 -> 0, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD
Jul 05 10:12:22 xps-nixos fprintd[4357]: Device Goodix Fingerprint Sensor 53xc scan type changed to 'press'
Jul 05 10:12:22 xps-nixos fprintd[4357]: Device Goodix Fingerprint Sensor 53xc enroll stages changed to 13
Jul 05 10:12:22 xps-nixos fprintd[4357]: Finger present 0
Jul 05 10:12:22 xps-nixos fprintd[4357]: Finger needed 0
Jul 05 10:12:22 xps-nixos fprintd[4357]: entering main loop
Jul 05 10:12:22 xps-nixos systemd[1]: Started Fingerprint Authentication Daemon.
Jul 05 10:12:22 xps-nixos fprintd[4357]: D-Bus service launched with name: net.reactivated.Fprint
Jul 05 10:12:22 xps-nixos fprintd[4357]: Requesting authorization from :1.108 to call method 'Claim' for device 'Goodix Fingerprint Sensor 53xc'
Jul 05 10:12:22 xps-nixos fprintd[4357]: Getting authorization to perform Polkit action net.reactivated.fprint.device.verify
Jul 05 10:12:22 xps-nixos fprintd[4357]: Authorization granted to :1.108 to call method 'Claim' for device 'Goodix Fingerprint Sensor 53xc'!
Jul 05 10:12:22 xps-nixos fprintd[4357]: user 'root' claiming the device: 0
Jul 05 10:12:22 xps-nixos fprintd[4357]: 684020696: ../fprint-tod-goodix.c:536
Jul 05 10:12:23 xps-nixos fprintd[4357]: Device reported open completion
Jul 05 10:12:23 xps-nixos fprintd[4357]: Completing action FPI_DEVICE_ACTION_OPEN in idle!
Jul 05 10:12:23 xps-nixos fprintd[4357]: Updated temperature model after 0.71 seconds, ratio 0.27 -> 0.27, active 0 -> 0, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD
Jul 05 10:12:23 xps-nixos fprintd[4357]: claimed device 0
Jul 05 10:12:23 xps-nixos fprintd[4357]: Requesting authorization from :1.108 to call method 'EnrollStart' for device 'Goodix Fingerprint Sensor 53xc'
Jul 05 10:12:23 xps-nixos fprintd[4357]: Getting authorization to perform Polkit action net.reactivated.fprint.device.enroll
Jul 05 10:12:23 xps-nixos fprintd[4357]: Authorization granted to :1.108 to call method 'EnrollStart' for device 'Goodix Fingerprint Sensor 53xc'!
Jul 05 10:12:23 xps-nixos fprintd[4357]: file_storage_print_data_load(): loaded '/var/lib/fprint/root/goodix-tod/0/7' Unknown error -2
Jul 05 10:12:23 xps-nixos fprintd[4357]: start enrollment device 0 finger 7
Jul 05 10:12:23 xps-nixos fprintd[4357]: file_storage_discover_prints() for user 'goodix' in '/var/lib/fprint/goodix/goodix-tod/0'
Jul 05 10:12:23 xps-nixos fprintd[4357]: scan_dev_storedir(): opendir("/var/lib/fprint/goodix/goodix-tod/0") failed: Error opening directory “/var/lib/fprint/goodix/g>
Jul 05 10:12:23 xps-nixos fprintd[4357]: Failed to clear storage before first enrollment: Device has no storage.
Jul 05 10:12:23 xps-nixos fprintd[4357]: file_storage_discover_prints() for user 'goodix' in '/var/lib/fprint/goodix/goodix-tod/0'
Jul 05 10:12:23 xps-nixos fprintd[4357]: scan_dev_storedir(): opendir("/var/lib/fprint/goodix/goodix-tod/0") failed: Error opening directory “/var/lib/fprint/goodix/g>
Jul 05 10:12:23 xps-nixos fprintd[4357]: Updated temperature model after 0.00 seconds, ratio 0.27 -> 0.27, active 1 -> 1, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD
Jul 05 10:12:23 xps-nixos fprintd[4357]: 684720893: ../fprint-tod-goodix.c:800
Jul 05 10:12:23 xps-nixos fprintd[4357]: [goodix-tod] IDENTIFY_START_NUM_STATES entering state 0
Jul 05 10:12:23 xps-nixos fprintd[4357]: [goodix-tod] IDENTIFY_START_NUM_STATES entering state 1
Jul 05 10:12:23 xps-nixos fprintd[4357]: Updated temperature model after 0.29 seconds, ratio 0.27 -> 0.27, active 1 -> 1, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_WARM
Jul 05 10:12:25 xps-nixos fprintd[4357]: Identify result: 0, index: -1
Jul 05 10:12:25 xps-nixos fprintd[4357]: [goodix-tod] SSM IDENTIFY_START_NUM_STATES failed in state 1 with error: An unspecified error occurred!
Jul 05 10:12:25 xps-nixos fprintd[4357]: [goodix-tod] IDENTIFY_START_NUM_STATES completed with error: An unspecified error occurred!
Jul 05 10:12:25 xps-nixos fprintd[4357]: Identify complete!
Jul 05 10:12:25 xps-nixos fprintd[4357]: Device reported identify completion
Jul 05 10:12:25 xps-nixos fprintd[4357]: Completing action FPI_DEVICE_ACTION_IDENTIFY in idle!
Jul 05 10:12:25 xps-nixos fprintd[4357]: Updated temperature model after 1.23 seconds, ratio 0.27 -> 0.27, active 0 -> 0, FP_TEMPERATURE_WARM -> FP_TEMPERATURE_WARM
Jul 05 10:12:25 xps-nixos fprintd[4357]: Device reported an error during identify for enroll: An unspecified error occurred!
Jul 05 10:12:25 xps-nixos fprintd[4357]: Requesting authorization from :1.108 to call method 'EnrollStop' for device 'Goodix Fingerprint Sensor 53xc'
Jul 05 10:12:25 xps-nixos fprintd[4357]: Authorization granted to :1.108 to call method 'EnrollStop' for device 'Goodix Fingerprint Sensor 53xc'!
Jul 05 10:12:25 xps-nixos fprintd[4357]: Requesting authorization from :1.108 to call method 'Release' for device 'Goodix Fingerprint Sensor 53xc'
Jul 05 10:12:25 xps-nixos fprintd[4357]: Authorization granted to :1.108 to call method 'Release' for device 'Goodix Fingerprint Sensor 53xc'!
Jul 05 10:12:25 xps-nixos fprintd[4357]: 686240943: ../fprint-tod-goodix.c:578
Jul 05 10:12:25 xps-nixos fprintd[4357]: Device reported close completion
Jul 05 10:12:25 xps-nixos fprintd[4357]: Completing action FPI_DEVICE_ACTION_CLOSE in idle!
Jul 05 10:12:25 xps-nixos fprintd[4357]: Updated temperature model after 0.51 seconds, ratio 0.27 -> 0.27, active 0 -> 0, FP_TEMPERATURE_WARM -> FP_TEMPERATURE_WARM
Jul 05 10:12:25 xps-nixos fprintd[4357]: released device 0
Great...
Device reported an error during identify for enroll: An unspecified error occurred!
Upstream refuses to fix this: https://gitlab.freedesktop.org/libfprint/libfprint/-/issues/484
The good news is that with the updated libusb1
my previous attempt seems to work again on NixOS 22.05.
{
services.fprintd = {
enable = true;
package = with pkgs; fprintd-tod.overrideAttrs ({ patches ? [], postPatch ? "", ... }: {
patches = patches ++ [
(fetchpatch {
name = "use-more-idiomatic-correct-embedded-shell-scripting";
url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/f4256533d1ffdc203c3f8c6ee42e8dcde470a93f.patch";
sha256 = "sha256-4uPrYEgJyXU4zx2V3gwKKLaD6ty0wylSriHlvKvOhek=";
})
(fetchpatch {
name = "remove-pointless-copying-of-files-into-build-directory";
url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/2c34cef5ef2004d8479475db5523c572eb409a6b.patch";
sha256 = "sha256-2pZBbMF1xjoDKn/jCAIldbeR2JNEVduXB8bqUrj2Ih4=";
})
(fetchpatch {
name = "build-Do-not-use-positional-arguments-in-i18n.merge_file";
url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/50943b1bd4f18d103c35233f0446ce7a31d1817e.patch";
sha256 = "sha256-ANkAq6fr0VRjkS0ckvf/ddVB2mH4b2uJRTI4H8vPPes=";
})
];
postPatch = ''
${postPatch}
# part of "remove-pointless-copying-of-files-into-build-directory" but git-apply doesn't handle renaming
mv src/device.xml src/net.reactivated.Fprint.Device.xml
mv src/manager.xml src/net.reactivated.Fprint.Manager.xml
'';
});
tod = {
enable = true;
driver = pkgs.libfprint-2-tod1-goodix;
};
};
systemd.services."fprintd".environment."G_MESSAGES_DEBUG" = "all"; # for good measure
thanks @hmenke the latest config you shared is working for me!
I think this issue can be closed with the fix fprintd-tod: fix build #180253 by @hmenke. Thanks a lot, @hmenke.
Please leave this open until the fix is merged.
The backport https://github.com/NixOS/nixpkgs/pull/181240 has also been merged. So the fixed derivation is soon going to appear in the channels.
@hmenke I tried building on unstable and got following error:
error: builder for '/nix/store/jn0snijxhy7d1mqib1m6zpyniycz70fg-fprintd-tod-1.90.9.drv' failed with exit code 1;
last 10 log lines:
> WARNING: You should add the boolean check kwarg to the run_command call.
> It currently defaults to false,
> but it will default to true in future releases of meson.
> See also: https://github.com/mesonbuild/meson/issues/9300
> Configuring config.h using configuration
> Program bash found: YES (/nix/store/3j18grljsyy4nxc078g00sy4cx6cf16g-bash-5.1-p16/bin/bash)
>
> src/meson.build:18:0: ERROR: gnome.gdbus_codegen keyword argument 'sources' was of type array[CustomTarget] but should have been array[str | File]
>
> A full log can be found at /build/source/build/meson-logs/meson-log.txt
For full logs, run 'nix log /nix/store/jn0snijxhy7d1mqib1m6zpyniycz70fg-fprintd-tod-1.90.9.drv'.
Maybe I jumped the gun? I've lost track of which PR I'm supposed to care about. :smile:
Have been trying to make this work with: libfprint-2-tod1-goodix-550a
It is building correctly, no errors, but on enrolling:
~ ❯ sudo fprintd-enroll ⏎ [sudo] password for qlexqndru: Using device /net/reactivated/Fprint/Device/0 Enrolling right-index-finger finger. Enroll result: enroll-unknown-error
I am using the latest 1.94.7
Anyone else in my shoes? Or any ideas?
Any help is appreciated, thank you!
journalctl
Jul 12 13:02:38 0xQ fprintd[23895]: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) Jul 12 13:02:38 0xQ fprintd[23895]: About to load configuration file '/nix/store/fwqf97ljyiv2pq6c0ibfchmilbmfzqi7-fprintd-1.94.3/etc/fprintd.conf' Jul 12 13:02:38 0xQ fprintd[23895]: Launching FprintObject Jul 12 13:02:38 0xQ fprintd[23895]: Opening driver /nix/store/clmh3fz32d296pvgcjjkbsmk0njnlqva-libfprint-2-tod1-goodix-550a-0.0.9/lib/libfprint-2/tod-1/libfprint-tod-goodix-550a-0.0.9.so Jul 12 13:02:38 0xQ fprintd[23895]: Found TOD entry point symbol 0x7f580205a630, GType is 927808096 Jul 12 13:02:38 0xQ fprintd[23895]: Loading driver goodix-tod (Goodix Fingerprint Sensor 550A) Jul 12 13:02:38 0xQ fprintd[23895]: Initializing features for driver goodix-tod Jul 12 13:02:38 0xQ fprintd[23895]: Preparing devices for resume Jul 12 13:02:38 0xQ fprintd[23895]: No driver found for USB device 1D6B:0003 Jul 12 13:02:38 0xQ fprintd[23895]: No driver found for USB device 5986:215D Jul 12 13:02:38 0xQ fprintd[23895]: No driver found for USB device 8087:0026 Jul 12 13:02:38 0xQ fprintd[23895]: No driver found for USB device 1D6B:0002 Jul 12 13:02:38 0xQ fprintd[23895]: No driver found for USB device 1D6B:0003 Jul 12 13:02:38 0xQ fprintd[23895]: No driver found for USB device 1D6B:0002 Jul 12 13:02:38 0xQ fprintd[23895]: GFUSB_GM168SEC_APP_15045 Jul 12 13:02:39 0xQ fprintd[23895]: Device reported probe completion Jul 12 13:02:39 0xQ fprintd[23895]: Got delay inhibitor for sleep. Jul 12 13:02:39 0xQ fprintd[23895]: Completing action FPI_DEVICE_ACTION_PROBE in idle! Jul 12 13:02:39 0xQ fprintd[23895]: Updated temperature model after 0.65 seconds, ratio 0.27 -> 0.27, active 0 -> 0, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD Jul 12 13:02:39 0xQ fprintd[23895]: Device Goodix Fingerprint Sensor 550A scan type changed to 'press' Jul 12 13:02:39 0xQ fprintd[23895]: Device Goodix Fingerprint Sensor 550A enroll stages changed to 13 Jul 12 13:02:39 0xQ fprintd[23895]: Finger present 0 Jul 12 13:02:39 0xQ fprintd[23895]: Finger needed 0 Jul 12 13:02:39 0xQ fprintd[23895]: entering main loop Jul 12 13:02:39 0xQ fprintd[23895]: D-Bus service launched with name: net.reactivated.Fprint Jul 12 13:02:39 0xQ systemd[1]: Started Fingerprint Authentication Daemon. Jul 12 13:02:46 0xQ fprintd[23895]: Requesting authorization from :1.183 to call method 'ListEnrolledFingers' for device 'Goodix Fingerprint Sensor 550A' Jul 12 13:02:46 0xQ fprintd[23895]: Getting authorization to perform Polkit action net.reactivated.fprint.device.setusername Jul 12 13:02:46 0xQ fprintd[23895]: Getting authorization to perform Polkit action net.reactivated.fprint.device.verify Jul 12 13:02:46 0xQ fprintd[23895]: Authorization granted to :1.183 to call method 'ListEnrolledFingers' for device 'Goodix Fingerprint Sensor 550A'! Jul 12 13:02:46 0xQ fprintd[23895]: file_storage_discover_prints() for user 'qlexqndru' in '/var/lib/fprint/qlexqndru/goodix-tod/0' Jul 12 13:02:46 0xQ fprintd[23895]: scan_dev_storedir(): opendir("/var/lib/fprint/qlexqndru/goodix-tod/0") failed: Error opening directory “/var/lib/fprint/qlexqndru/goodix-tod/0”: No such> Jul 12 13:02:50 0xQ fprintd[23895]: Requesting authorization from :1.184 to call method 'Claim' for device 'Goodix Fingerprint Sensor 550A' Jul 12 13:02:50 0xQ fprintd[23895]: Getting authorization to perform Polkit action net.reactivated.fprint.device.verify Jul 12 13:02:50 0xQ fprintd[23895]: Authorization granted to :1.184 to call method 'Claim' for device 'Goodix Fingerprint Sensor 550A'! Jul 12 13:02:50 0xQ fprintd[23895]: user 'root' claiming the device: 0 Jul 12 13:02:50 0xQ fprintd[23895]: GFUSB_GM168SEC_APP_15045 Jul 12 13:02:50 0xQ fprintd[23895]: Device reported open completion Jul 12 13:02:50 0xQ fprintd[23895]: Completing action FPI_DEVICE_ACTION_OPEN in idle! Jul 12 13:02:50 0xQ fprintd[23895]: Updated temperature model after 11.51 seconds, ratio 0.27 -> 0.26, active 0 -> 0, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD Jul 12 13:02:50 0xQ fprintd[23895]: claimed device 0 Jul 12 13:02:50 0xQ fprintd[23895]: Requesting authorization from :1.184 to call method 'EnrollStart' for device 'Goodix Fingerprint Sensor 550A' Jul 12 13:02:50 0xQ fprintd[23895]: Getting authorization to perform Polkit action net.reactivated.fprint.device.enroll Jul 12 13:02:50 0xQ fprintd[23895]: Authorization granted to :1.184 to call method 'EnrollStart' for device 'Goodix Fingerprint Sensor 550A'! Jul 12 13:02:50 0xQ fprintd[23895]: file_storage_print_data_load(): loaded '/var/lib/fprint/root/goodix-tod/0/7' Unknown error -2 Jul 12 13:02:50 0xQ fprintd[23895]: start enrollment device 0 finger 7 Jul 12 13:02:50 0xQ fprintd[23895]: file_storage_discover_prints() for user 'goodix' in '/var/lib/fprint/goodix/goodix-tod/0' Jul 12 13:02:50 0xQ fprintd[23895]: scan_dev_storedir(): opendir("/var/lib/fprint/goodix/goodix-tod/0") failed: Error opening directory “/var/lib/fprint/goodix/goodix-tod/0”: No such file > Jul 12 13:02:50 0xQ fprintd[23895]: Updated temperature model after 0.00 seconds, ratio 0.26 -> 0.26, active 1 -> 1, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD Jul 12 13:02:50 0xQ fprintd[23895]: [goodix-tod] IDENTIFY_START_NUM_STATES entering state 0 Jul 12 13:02:50 0xQ fprintd[23895]: [goodix-tod] IDENTIFY_START_NUM_STATES entering state 1 Jul 12 13:02:51 0xQ fprintd[23895]: Identify result: 0, index: -1 Jul 12 13:02:51 0xQ fprintd[23895]: [goodix-tod] SSM IDENTIFY_START_NUM_STATES failed in state 1 with error: An unspecified error occurred! Jul 12 13:02:51 0xQ fprintd[23895]: [goodix-tod] IDENTIFY_START_NUM_STATES completed with error: An unspecified error occurred! Jul 12 13:02:51 0xQ fprintd[23895]: Device reported identify completion Jul 12 13:02:51 0xQ fprintd[23895]: Completing action FPI_DEVICE_ACTION_IDENTIFY in idle! Jul 12 13:02:51 0xQ fprintd[23895]: Updated temperature model after 1.16 seconds, ratio 0.26 -> 0.27, active 0 -> 0, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD Jul 12 13:02:51 0xQ fprintd[23895]: Device reported an error during identify for enroll: An unspecified error occurred! Jul 12 13:02:51 0xQ fprintd[23895]: Requesting authorization from :1.184 to call method 'EnrollStop' for device 'Goodix Fingerprint Sensor 550A' Jul 12 13:02:51 0xQ fprintd[23895]: Authorization granted to :1.184 to call method 'EnrollStop' for device 'Goodix Fingerprint Sensor 550A'! Jul 12 13:02:51 0xQ fprintd[23895]: Requesting authorization from :1.184 to call method 'Release' for device 'Goodix Fingerprint Sensor 550A' Jul 12 13:02:51 0xQ fprintd[23895]: Authorization granted to :1.184 to call method 'Release' for device 'Goodix Fingerprint Sensor 550A'! Jul 12 13:02:52 0xQ fprintd[23895]: Device reported close completion Jul 12 13:02:52 0xQ fprintd[23895]: Completing action FPI_DEVICE_ACTION_CLOSE in idle! Jul 12 13:02:52 0xQ fprintd[23895]: Updated temperature model after 0.51 seconds, ratio 0.27 -> 0.27, active 0 -> 0, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD Jul 12 13:02:52 0xQ fprintd[23895]: released device 0
Steps To Reproduce
Steps to reproduce the behavior:
libfprint-2-tod1-goodix
.Build log
Additional context
Nothing.
Notify maintainers
@abbradar
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.