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

fprintd: Failed to start Tudor host process <...> NoReply: Remote peer disconnected #38

Open
VeryEvilHumna opened this issue Jan 26, 2025 · 3 comments

Comments

@VeryEvilHumna
Copy link

I have 06cb:00be and experienced the same issue as described in #35. After 1d08e98 commit is made I git-pulled the repo and tried to reinstall everything as described in readme.

My environment is ThinkPad L15 Gen 1 with Fedora 41, libfprint-tod is from quantt corp repo

dnf list:

libfprint-tod.x86_64
        94.8-1.fc41
        copr:copr.fedorainfracloud.org:quantt:libfprint-tod
$ lsusb | grep "Synap"
Bus 001 Device 003: ID 06cb:00be Synaptics, Inc. 

$ systemctl status tudor-host-launcher.service
○ tudor-host-launcher.service - Tudor host launcher DBus service
     Loaded: loaded (/usr/lib/systemd/system/tudor-host-launcher.service; static)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf, 50-keep-warm.conf
     Active: inactive (dead)

янв 26 10:26:54 evils-thinkpad tudor_host_laun[19546]: Lost DBus name 'net.reactivated.TudorHostLauncher'!
янв 26 10:26:54 evils-thinkpad systemd[1]: tudor-host-launcher.service: Deactivated successfully.
янв 26 10:27:13 evils-thinkpad systemd[1]: Starting tudor-host-launcher.service - Tudor host launcher DBus service...
янв 26 10:27:13 evils-thinkpad systemd[1]: Started tudor-host-launcher.service - Tudor host launcher DBus service.
янв 26 10:27:24 evils-thinkpad tudor_host_laun[19839]: Lost DBus name 'net.reactivated.TudorHostLauncher'!
янв 26 10:27:24 evils-thinkpad systemd[1]: tudor-host-launcher.service: Deactivated successfully.
янв 26 10:27:59 evils-thinkpad systemd[1]: Starting tudor-host-launcher.service - Tudor host launcher DBus service...
янв 26 10:27:59 evils-thinkpad systemd[1]: Started tudor-host-launcher.service - Tudor host launcher DBus service.
янв 26 10:27:59 evils-thinkpad tudor_host_laun[20367]: Lost DBus name 'net.reactivated.TudorHostLauncher'!
янв 26 10:27:59 evils-thinkpad systemd[1]: tudor-host-launcher.service: Deactivated successfully.


$ systemctl restart fprintd.service 
           
$ fprintd-enroll                              
Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available

journalctl:

янв 26 10:32:40 evils-thinkpad systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
янв 26 10:32:40 evils-thinkpad fprintd[22167]: About to load configuration file '/etc/fprintd.conf'
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Launching FprintObject
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Initializing FpContext (libfprint version 1.94.8+tod1)
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Opening driver /usr/lib64/libfprint-2/tod-1/libtudor_tod.so
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Found TOD entry point symbol 0x7fb65e182d16, GType is 93981191741152
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Loading driver syna_tudor_relink (Synaptics Tudor)
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Preparing devices for resume
янв 26 10:32:40 evils-thinkpad fprintd[22167]: No driver found for USB device 1D6B:0003
янв 26 10:32:40 evils-thinkpad fprintd[22167]: No driver found for USB device 8087:0029
янв 26 10:32:40 evils-thinkpad fprintd[22167]: No driver found for USB device 04F2:B6BE
янв 26 10:32:40 evils-thinkpad fprintd[22167]: No driver found for USB device 1D6B:0002
янв 26 10:32:40 evils-thinkpad fprintd[22167]: No driver found for USB device 1D6B:0003
янв 26 10:32:40 evils-thinkpad fprintd[22167]: No driver found for USB device 058F:9540
янв 26 10:32:40 evils-thinkpad fprintd[22167]: No driver found for USB device 1D6B:0002
янв 26 10:32:40 evils-thinkpad fprintd[22167]: No driver found for USB device 1D6B:0002
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Got sleep inhibitor for tudor device: 12
янв 26 10:32:40 evils-thinkpad audit: BPF prog-id=259 op=LOAD
янв 26 10:32:40 evils-thinkpad systemd[1]: Starting tudor-host-launcher.service - Tudor host launcher DBus service...
янв 26 10:32:40 evils-thinkpad systemd[1]: Started tudor-host-launcher.service - Tudor host launcher DBus service.
янв 26 10:32:40 evils-thinkpad audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=tudor-host-launcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
янв 26 10:32:40 evils-thinkpad tudor_host_laun[22190]: Lost DBus name 'net.reactivated.TudorHostLauncher'!
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Failed to start Tudor host process - is tudor-host-launcher.service running? Error: 'GDBus.Error:org.freedesktop.DBus.Error.NoReply: Remote peer disconnected' (g-dbus-error-quark code 4)
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Clearing sleep inhibitor 12 for tudor device...
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Disposed tudor device resources
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Got delay inhibitor for sleep.
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Device reported probe completion
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Completing action FPI_DEVICE_ACTION_PROBE in idle!
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Updated temperature model after 0,08 seconds, ratio 0,27 -> 0,27, active 0 -> 0, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD
янв 26 10:32:40 evils-thinkpad fprintd[22167]: Ignoring device due to initialization error: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
янв 26 10:32:40 evils-thinkpad fprintd[22167]: entering main loop
янв 26 10:32:40 evils-thinkpad fprintd[22167]: D-Bus service launched with name: net.reactivated.Fprint
янв 26 10:32:40 evils-thinkpad systemd[1]: tudor-host-launcher.service: Deactivated successfully.
янв 26 10:32:40 evils-thinkpad audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=tudor-host-launcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
янв 26 10:32:40 evils-thinkpad systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
янв 26 10:32:40 evils-thinkpad audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Also, unrelated, but ninja install script moves libtudor_tod.so to /usr/local/lib64/<...>, but libfprint-tod checks /usr/lib64/<...>, so I moved libtudor_tod.so to /usr/lib64/libfprint-2/tod-1/, maybe install script needs a fix

journalctl:

янв 26 10:19:01 evils-thinkpad systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
янв 26 10:19:02 evils-thinkpad fprintd[14634]: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
янв 26 10:19:02 evils-thinkpad fprintd[14634]: About to load configuration file '/etc/fprintd.conf'
янв 26 10:19:02 evils-thinkpad fprintd[14634]: Launching FprintObject
янв 26 10:19:02 evils-thinkpad fprintd[14634]: Initializing FpContext (libfprint version 1.94.8+tod1)
янв 26 10:19:02 evils-thinkpad fprintd[14634]: Impossible to load the shared drivers dir Error opening directory “/usr/lib64/libfprint-2/tod-1”: No such file or directory
янв 26 10:19:02 evils-thinkpad fprintd[14634]: Preparing devices for resume
янв 26 10:19:02 evils-thinkpad fprintd[14634]: No driver found for USB device 1D6B:0003
янв 26 10:19:02 evils-thinkpad fprintd[14634]: No driver found for USB device 8087:0029
янв 26 10:19:02 evils-thinkpad fprintd[14634]: No driver found for USB device 04F2:B6BE
янв 26 10:19:02 evils-thinkpad fprintd[14634]: No driver found for USB device 1D6B:0002
янв 26 10:19:02 evils-thinkpad fprintd[14634]: No driver found for USB device 1D6B:0003
янв 26 10:19:02 evils-thinkpad fprintd[14634]: No driver found for USB device 06CB:00BE
янв 26 10:19:02 evils-thinkpad fprintd[14634]: No driver found for USB device 058F:9540
янв 26 10:19:02 evils-thinkpad fprintd[14634]: No driver found for USB device 1D6B:0002
янв 26 10:19:02 evils-thinkpad fprintd[14634]: No driver found for USB device 1D6B:0002
янв 26 10:19:02 evils-thinkpad fprintd[14634]: entering main loop
янв 26 10:19:02 evils-thinkpad fprintd[14634]: Got delay inhibitor for sleep.
янв 26 10:19:02 evils-thinkpad fprintd[14634]: D-Bus service launched with name: net.reactivated.Fprint
янв 26 10:19:02 evils-thinkpad systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
@VeryEvilHumna
Copy link
Author

Update: I tried the solution from #14 (and did a restart), unfortunately, it didn't help

@Popax21
Copy link
Owner

Popax21 commented Feb 2, 2025

It seems like the host launcher is failing to claim its D-Bus name, which causes communication issues. This might be because of it being unable to claim the name (maybe the D-Bus policy isn't picked up?), or maybe there being conflicting claims.
Can you try completely uninstalling synaTudor, then reinstalling it?

@VeryEvilHumna
Copy link
Author

Thank you for your answer, sorry for answering late.

I tried to reinstall with recompiling, but it unfortunately hadn't changed situation at all :(

Log from terminal (no errors, everything looks perfectly fine)

build git:(relink) sudo ninja uninstall
[sudo] password for evil: 
[0/1] /usr/bin/meson --internal uninstall
Deleted: /sbin/tudor/libtudor.so
Deleted: /sbin/tudor/tudor_cli
Deleted: /sbin/tudor/tudor_host
Deleted: /sbin/tudor/tudor_host_launcher
Deleted: /usr/local/lib64/libfprint-2/tod-1/libtudor_tod.so
Deleted: /usr/lib/systemd/system/tudor-host-launcher.service
Deleted: /usr/share/dbus-1/system.d/net.reactivated.TudorHostLauncher.conf
Deleted: /usr/share/dbus-1/system-services/net.reactivated.TudorHostLauncher.service
Deleted: /usr/lib/udev/60-tudor-libfprint-tod.rules

Uninstall finished.

Deleted: 9
Failed: 0

Remember that files created by custom scripts have not been removed.build git:(relink) ninja clean  
[2/2] Cleaning
Cleaning... 85 files.build git:(relink) cd ..      synaTudor git:(relink) git pull
Already up to date.synaTudor git:(relink) cd build 
    build git:(relink) ninja      
[78/84] Generating libtudor/driver-download with a custom command
[0] Downloading 'https://download.lenovo.com/pccbbs/mobiles/r19fp02w.exe' ...
Saving 'libtudor/synaFpAdapter104.dll.p/installer.exe'
HTTP response 200 OK [https://download.lenovo.com/pccbbs/mobiles/r19fp02w.exe]
Extracting "version 6.0.33.1104(Synaptics FingerPrint FM3463 Driver)(R19FP02W)" - setup data version 5.5.7 (unicode)
 - "code$GetExtractPath$/synaWudfBioUsbUwpSgx.inf" - overwritten
 - "code$GetExtractPath$/Setup.bat"
 - "code$GetExtractPath$/sgx_capable.dll"
 - "code$GetExtractPath$/synaDriverLoader104.dll"
 - "code$GetExtractPath$/synaFpAdapter104.dll"
 - "code$GetExtractPath$/synaTEE104.signed.dll"
 - "code$GetExtractPath$/synaumdfsgx.cat"
 - "code$GetExtractPath$/synaWudfBioUsb104.dll"
 - "code$GetExtractPath$/synaWudfBioUsbSGX104.dll"
 - "code$GetExtractPath$/synaWudfBioUsbUwpSgx.inf"
Done.
[84/84] Linking target tudor-host/tudor_hostbuild git:(relink) sudo ninja install   
[0/1] Installing files.
Installing libtudor/libtudor.so to /sbin/tudor
Installing cli/tudor_cli to /sbin/tudor
Installing tudor-host/tudor_host to /sbin/tudor
Installing tudor-host-launcher/tudor_host_launcher to /sbin/tudor
Installing libfprint-tod/libtudor_tod.so to /usr/local/lib64/libfprint-2/tod-1
Installing /home/evil/Cloned/synaTudor/tudor-host-launcher/tudor-host-launcher.service to /usr/lib/systemd/system
Installing /home/evil/Cloned/synaTudor/tudor-host-launcher/net.reactivated.TudorHostLauncher.conf to /usr/share/dbus-1/system.d
Installing /home/evil/Cloned/synaTudor/build/tudor-host-launcher/net.reactivated.TudorHostLauncher.service to /usr/share/dbus-1/system-services
Installing /home/evil/Cloned/synaTudor/libfprint-tod/60-tudor-libfprint-tod.rules to /usr/lib/udev

There I did a full reboot (just in case)

~ fprintd-enroll
Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available~ systemctl restart fprintd.service

journalctl

фев 06 02:04:16 evils-thinkpad systemd[2516]: Started run-r997e59db873c4ff59891f0be282efb77.scope - /usr/bin/zsh.
фев 06 02:04:33 evils-thinkpad audit[5871]: USER_AUTH pid=5871 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_unix acct="evil" exe="/usr/lib/polkit-1/polkit-agent-helper-1" hostname=? addr=? terminal=? res=success'
фев 06 02:04:33 evils-thinkpad audit[5871]: USER_ACCT pid=5871 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix acct="evil" exe="/usr/lib/polkit-1/polkit-agent-helper-1" hostname=? addr=? terminal=? res=success'
фев 06 02:04:33 evils-thinkpad systemd[1]: Stopping fprintd.service - Fingerprint Authentication Daemon...
фев 06 02:04:33 evils-thinkpad fprintd[5281]: main loop completed
фев 06 02:04:33 evils-thinkpad fprintd[5281]: Tudor close atexit hook called
фев 06 02:04:33 evils-thinkpad systemd[1]: fprintd.service: Deactivated successfully.
фев 06 02:04:33 evils-thinkpad systemd[1]: Stopped fprintd.service - Fingerprint Authentication Daemon.
фев 06 02:04:33 evils-thinkpad audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
фев 06 02:04:33 evils-thinkpad audit: BPF prog-id=85 op=LOAD
фев 06 02:04:33 evils-thinkpad systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
фев 06 02:04:33 evils-thinkpad audit: BPF prog-id=83 op=UNLOAD
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
фев 06 02:04:33 evils-thinkpad fprintd[5899]: About to load configuration file '/etc/fprintd.conf'
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Launching FprintObject
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Initializing FpContext (libfprint version 1.94.8+tod1)
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Opening driver /usr/lib64/libfprint-2/tod-1/libtudor_tod.so
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Found TOD entry point symbol 0x7f96daba7d16, GType is 94897171934944
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Loading driver syna_tudor_relink (Synaptics Tudor)
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Preparing devices for resume
фев 06 02:04:33 evils-thinkpad fprintd[5899]: No driver found for USB device 1D6B:0003
фев 06 02:04:33 evils-thinkpad fprintd[5899]: No driver found for USB device 8087:0029
фев 06 02:04:33 evils-thinkpad fprintd[5899]: No driver found for USB device 04F2:B6BE
фев 06 02:04:33 evils-thinkpad fprintd[5899]: No driver found for USB device 1D6B:0002
фев 06 02:04:33 evils-thinkpad fprintd[5899]: No driver found for USB device 1D6B:0003
фев 06 02:04:33 evils-thinkpad fprintd[5899]: No driver found for USB device 058F:9540
фев 06 02:04:33 evils-thinkpad fprintd[5899]: No driver found for USB device 1D6B:0002
фев 06 02:04:33 evils-thinkpad fprintd[5899]: No driver found for USB device 1D6B:0002
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Got sleep inhibitor for tudor device: 12
фев 06 02:04:33 evils-thinkpad audit: BPF prog-id=86 op=LOAD
фев 06 02:04:33 evils-thinkpad systemd[1]: Starting tudor-host-launcher.service - Tudor host launcher DBus service...
фев 06 02:04:33 evils-thinkpad systemd[1]: Started tudor-host-launcher.service - Tudor host launcher DBus service.
фев 06 02:04:33 evils-thinkpad audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=tudor-host-launcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
фев 06 02:04:33 evils-thinkpad tudor_host_laun[5925]: Lost DBus name 'net.reactivated.TudorHostLauncher'!
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Failed to start Tudor host process - is tudor-host-launcher.service running? Error: 'GDBus.Error:org.freedesktop.DBus.Error.NoReply: Remote peer disconnected' (g-dbus-error-quark code 4)
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Clearing sleep inhibitor 12 for tudor device...
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Disposed tudor device resources
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Got delay inhibitor for sleep.
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Device reported probe completion
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Completing action FPI_DEVICE_ACTION_PROBE in idle!
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Updated temperature model after 0,08 seconds, ratio 0,27 -> 0,27, active 0 -> 0, FP_TEMPERATURE_COLD -> FP_TEMPERATURE_COLD
фев 06 02:04:33 evils-thinkpad fprintd[5899]: Ignoring device due to initialization error: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
фев 06 02:04:33 evils-thinkpad fprintd[5899]: entering main loop
фев 06 02:04:33 evils-thinkpad fprintd[5899]: D-Bus service launched with name: net.reactivated.Fprint
фев 06 02:04:33 evils-thinkpad systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
фев 06 02:04:33 evils-thinkpad audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
фев 06 02:04:33 evils-thinkpad systemd[1]: tudor-host-launcher.service: Deactivated successfully.
фев 06 02:04:33 evils-thinkpad audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=tudor-host-launcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

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

2 participants