sailfish-fpd won't start (Xperia X fingerprint)
I am playing with the fingerprint reader for some hours now, but to no avail...
Here is my sistuation:
- trying to enroll a new fingerprint fails, nothing happens in the screen
- CSD fp test fails with "Tiemout while communicating with fingerprint daemon"
systemctl status sailfish-fpd gives me :
● sailfish-fpd.service - Fingerprint Daemon Loaded: loaded (/lib/systemd/system/sailfish-fpd.service; enabled; vendor preset: enabled) Active: failed (Result: start-limit) since Wed 2018-11-14 11:41:23 CET; 12min ago Process: 15458 ExecStart=/usr/bin/sailfish-fpd --systemd (code=exited, status=1/FAILURE) Process: 15455 ExecStartPre=/bin/sh -c /usr/bin/test -f /run/systemd/boot-status/init-done || sleep 5 || : (code=exited, status=0/SUCCESS) Main PID: 15458 (code=exited, status=1/FAILURE)
Nov 14 11:41:22 Sailfish systemd[1]: sailfish-fpd.service: Unit entered failed state. Nov 14 11:41:22 Sailfish systemd[1]: sailfish-fpd.service: Failed with result 'exit-code'. Nov 14 11:41:23 Sailfish systemd[1]: sailfish-fpd.service: Service hold-off time over, scheduling restart. Nov 14 11:41:23 Sailfish systemd[1]: sailfish-fpd.service: Start request repeated too quickly. Nov 14 11:41:23 Sailfish systemd[1]: sailfish-fpd.service: Unit entered failed state. Nov 14 11:41:23 Sailfish systemd[1]: sailfish-fpd.service: Failed with result 'start-limit'.
I have read that /usr/lib/sailfish-fpd/ should contain a template subfolder, but I can't find it... The only file present in the directory is: fpslave. Maybe it's a problem.
Any idea ?
EDIT1: looking at phkirz comment, I tried this command line (as root): /usr/lib/sailfish-fpd/fpslave --log-to=syslog --log-level=4
Here is the result in journalctl :
Nov 14 14:26:21 Sailfish kernel: QSEECOM: qseecom_load_app: App (tzfingerprint) does'nt exist, loading apps for first time
Nov 14 14:26:21 Sailfish kernel: QSEECOM: qseecom_load_app: App with id 2228226 (tzfingerprint) now loaded
Nov 14 14:26:21 Sailfish fpslave[20262]: fpmodule_open_device: module.open() -> error=-22
Nov 14 14:26:21 Sailfish fpslave[20262]: fpdevice_init: failed to open fingerprint device
Nov 14 14:26:21 Sailfish kernel: QSEECOM: qseecom_unload_app: App id 2228226 now unloaded
EDIT2: after previous edit, which I thought was a failure, I tried again to start the service. Here is the result:
[root@Sailfish nemo]# systemctl start sailfish-fpd
[root@Sailfish nemo]# systemctl status sailfish-fpd
● sailfish-fpd.service - Fingerprint Daemon
Loaded: loaded (/lib/systemd/system/sailfish-fpd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-11-14 14:59:51 CET; 48ms ago
Process: 21810 ExecStartPre=/bin/sh -c /usr/bin/test -f /run/systemd/boot-status/init-done || sleep 5 || : (code=exited, status=0/SUCCESS)
Main PID: 21813 (sailfish-fpd)
CGroup: /system.slice/sailfish-fpd.service
├─21813 /usr/bin/sailfish-fpd --systemd
└─21815 /usr/lib/sailfish-fpd/fpslave --log-to=syslog --log-level=4
Nov 14 14:59:51 Sailfish systemd[1]: sailfish-fpd.service: Service hold-off time over, scheduling restart.
Nov 14 14:59:51 Sailfish systemd[1]: Stopped Fingerprint Daemon.
Nov 14 14:59:51 Sailfish systemd[1]: Starting Fingerprint Daemon...
Nov 14 14:59:51 Sailfish systemd[1]: Started Fingerprint Daemon.
EDIT3: didn't last long. Couldn't even enroll a fingerprint, and :
[root@Sailfish nemo]# systemctl status sailfish-fpd
● sailfish-fpd.service - Fingerprint Daemon
Loaded: loaded (/lib/systemd/system/sailfish-fpd.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit) since Wed 2018-11-14 15:00:10 CET; 2min 58s ago
Process: 21813 ExecStart=/usr/bin/sailfish-fpd --systemd (code=exited, status=1/FAILURE)
Process: 21810 ExecStartPre=/bin/sh -c /usr/bin/test -f /run/systemd/boot-status/init-done || sleep 5 || : (code=exited, status=0/SUCCESS)
Main PID: 21813 (code=exited, status=1/FAILURE)
Nov 14 14:59:51 Sailfish systemd[1]: sailfish-fpd.service: Unit entered failed state.
Nov 14 14:59:51 Sailfish systemd[1]: sailfish-fpd.service: Failed with result 'exit-code'.
Nov 14 15:00:10 Sailfish systemd[1]: sailfish-fpd.service: Service hold-off time over, scheduling restart.
Nov 14 15:00:10 Sailfish systemd[1]: sailfish-fpd.service: Start request repeated too quickly.
Nov 14 15:00:10 Sailfish systemd[1]: sailfish-fpd.service: Unit entered failed state.
Nov 14 15:00:10 Sailfish systemd[1]: sailfish-fpd.service: Failed with result 'start-limit'.
EDIT4: tried carmenfdezb solution of resetting the fingerprints, but it didn't seem to work in my case
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# systemctl stop sailfish-fpd.service
[root@Sailfish nemo]# /usr/lib/sailfish-fpd/fpslave --remove-all
[root@Sailfish nemo]# /usr/lib/sailfish-fpd/fpslave --flush-cache
[root@Sailfish nemo]# systemctl start sailfish-fpd.service
[root@Sailfish nemo]# systemctl status -l sailfish-fpd.service
● sailfish-fpd.service - Fingerprint Daemon
Loaded: loaded (/lib/systemd/system/sailfish-fpd.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit) since Wed 2018-11-14 18:15:31 CET; 10s ago
Process: 14205 ExecStart=/usr/bin/sailfish-fpd --systemd (code=exited, status=1/FAILURE)
Process: 14202 ExecStartPre=/bin/sh -c /usr/bin/test -f /run/systemd/boot-status/init-done || sleep 5 || : (code=exited, status=0/SUCCESS)
Main PID: 14205 (code=exited, status=1/FAILURE)
Nov 14 18:15:30 Sailfish systemd[1]: sailfish-fpd.service: Unit entered failed state.
Nov 14 18:15:30 Sailfish systemd[1]: sailfish-fpd.service: Failed with result 'exit-code'.
Nov 14 18:15:31 Sailfish systemd[1]: sailfish-fpd.service: Service hold-off time over, scheduling restart.
Nov 14 18:15:31 Sailfish systemd[1]: sailfish-fpd.service: Start request repeated too quickly.
Nov 14 18:15:31 Sailfish systemd[1]: sailfish-fpd.service: Unit entered failed state.
Nov 14 18:15:31 Sailfish systemd[1]: sailfish-fpd.service: Failed with result 'start-limit'.
Bonjour,
On my xperia X, fingerprint works and I also only have 'fpslave' in /usr/lib/sailfish-fpd
[root@Sailfish nemo]# systemctl status sailfish-fpd
● sailfish-fpd.service - Fingerprint Daemon
Loaded: loaded (/lib/systemd/system/sailfish-fpd.service; disabled; vendor prese t: enabled)
Active: active (running) since mar. 2018-11-13 07:55:59 CET; 1 day 6h ago
Process: 744 ExecStartPre=/bin/sh -c /usr/bin/test -f /run/systemd/boot-status/in it-done || sleep 5 || : (code=exited, status=0/SUCCESS)
Main PID: 1691 (sailfish-fpd)
CGroup: /system.slice/sailfish-fpd.service ├─1691 /usr/bin/sailfish-fpd --systemd └─1694 /usr/lib/sailfish-fpd/fpslave --log-to=syslog --log-level=4
phklrz ( 2018-11-14 15:11:20 +0200 )editSo basically, my directory seems ok. The problem must lie elsewhere...
alci ( 2018-11-14 15:23:45 +0200 )editHi @alci, did you fix this issue?
carmenfdezb ( 2018-12-04 10:20:09 +0200 )edit