Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing fingerprint driver on Manjaro #76

Open
Plasmoid77 opened this issue Apr 5, 2023 · 14 comments
Open

Error when installing fingerprint driver on Manjaro #76

Plasmoid77 opened this issue Apr 5, 2023 · 14 comments

Comments

@Plasmoid77
Copy link

got this massage when I tried to install fingerprint driver in Manjaro:

Job for fprintd.service failed because the control process exited with error code.
See "systemctl status fprintd.service" and "journalctl -xeu fprintd.service" for details.

I'm new to linux and I know that manjaro isn't best distro for me now, but I decided to try these drivers in it. Maybe I'll switch to Mint a bit later

@vrolife
Copy link
Owner

vrolife commented Apr 6, 2023

Run systemctl status fprintd.service to get details

@Plasmoid77
Copy link
Author

Plasmoid77 commented Apr 15, 2023

   ~/modern_laptop    main    systemctl status fprintd.service                                                                                            1 ✘  49s  
× fprintd.service - Fingerprint Authentication Daemon
     Loaded: loaded (/usr/lib/systemd/system/fprintd.service; static)
    Drop-In: /etc/systemd/system/fprintd.service.d
             └─override.conf
     Active: failed (Result: exit-code) since Sat 2023-04-15 14:50:47 +09; 30s ago
       Docs: man:fprintd(1)
    Process: 4163 ExecStart=/opt/fingerpp/bin/fingerpp --bus=system --filter-before-ssim=true --min-score=0.3 (code=exited, status=127)
   Main PID: 4163 (code=exited, status=127)
        CPU: 22ms

апр 15 14:50:47 Redmibook systemd[1]: Starting Fingerprint Authentication Daemon...
апр 15 14:50:47 Redmibook fingerpp[4163]: /opt/fingerpp/bin/fingerpp: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or dire>
апр 15 14:50:47 Redmibook systemd[1]: fprintd.service: Main process exited, code=exited, status=127/n/a
апр 15 14:50:47 Redmibook systemd[1]: fprintd.service: Failed with result 'exit-code'.
апр 15 14:50:47 Redmibook systemd[1]: Failed to start Fingerprint Authentication Daemon.

@Plasmoid77
Copy link
Author

After reboot I'm not able to log into system since there is no user selection menu. Laptop boots successfuly, but the login screen has no password entry field. Such a strange bug. Maybe I really should use Mint rather then Manjaro

@artem-zuev
Copy link

install, this fix your first problem)
image

@Plasmoid77
Copy link
Author

install, this fix your first problem) image

I did, but now there is a error loading shared libraries: libopencv_imgcodecs.so.406. System cannot open shared object file. The only way fixing this is installing driver from static_ocv_fingerprint_driver branch?

@Plasmoid77
Copy link
Author

I tried to install the driver from the static ocv branch and it was working at first. I even succeed enrolling fingerprint and used it for a few times, but after that things got worse and it was correctly scanning finger maybe once in a hundred times. I also got such a error when I was entering sudo mode, I had to wait about 30 - 60 seconds for the password entering field to arrive. All that times the system was also saying "Verification timed out". As I guess this is related to the incorrect work of fingerprint driver.

@Plasmoid77
Copy link
Author

photo_2023-04-30_23-14-16

@Plasmoid77
Copy link
Author

photo_2023-04-30_23-13-53

@Plasmoid77
Copy link
Author

I was using GNOME verion all this time. Looked through the other issues, there was said, that the driver was onty tested in KDE and it works fine with it. I'll try to install KDE version of Manjaro with the static_ocv fingerprint driver

@Plasmoid77
Copy link
Author

I tried Manjaro with KDE, everything works in the same way. I can't even enroll a fingerprint

@vrolife
Copy link
Owner

vrolife commented May 7, 2023

Run

sudo systemctl edit fprintd

Change --filter-before-ssim to false and change --min-score to 0.2

ExecStart=/opt/fingerpp/bin/fingerpp --bus=system --filter-before-ssim=false --min-score=0.2

Then

sudo systemctl daemon-reload
sudo systemctl restart fprintd

Although this reduces security, it increases the pass rate。

@Plasmoid77
Copy link
Author

image
image
image
I edited fprintd file as you said, and it's ok, but I got this error. System can not normally connect to the sensor sometimes. There wasn't such error in the first 1-2 days after I installed the driver

@vrolife
Copy link
Owner

vrolife commented May 12, 2023

This driver has not been tested in GNOME yet.

@Plasmoid77
Copy link
Author

Screenshot_20230517_211048
That's in KDE. But fingers are enrolling quite well this time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants