-
Notifications
You must be signed in to change notification settings - Fork 9
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
Device appears to be gone when trying to resume. #12
Comments
Experiencing exactly this same issue right now -
open-fprintd is working fine however, as noted in OP.
I will also gladly provide logs as needed. |
another issue opened here uunicorn/python-validity#106 |
It wasn't fixed, see my comment 👇 |
I believe I was already on systemd 250.2-2 when I posted my comment, but for the sake of it I reinstalled it and tried to re-enable the services, it did not solve the issue. I also upgraded all my installed packages to their latest versions. Any idea of anything else you did to try to fix it? |
Same here, fully updated arch |
I stand corrected, it did not fix my original issue. I still couldn't use fprintd resuming. The case where I thought it was fixed, my device didn't actually suspend, it only locked the screen. |
Same issue here. |
After some updates today, the fingerprint stopped working entirely for me. Did anyone else experiencing these issues also had the same fate as me? |
I found that if I add a "systemctl stop python3-validity" and then start at suspend/resume fprint works again on resume. Using a script to manage suspend resume actions:
I'm using open-fprintd which uses open-fprintd-suspend open-fprintd-resume which are meant to manage suspend/resume but the above script seems to avoid problems with resume. |
Sadly this still didn't do the trick for me. Same config as my previous messages in this same thread. Stopping and restarting the service did not help bringing up the fingerprint reader after the device has gone to sleep once, even when open-fprintd-{suspend,resume} are enabled. As a matter of fact, messing around with stopping and starting the services without sending the device to sleep causes the fingerprint to stop working as well, i.e., the fingerprint only works after a fresh boot and as long as the services live. Messing around with them makes the whole thing to stop working. |
Check dmesg for problems going into suspend and then resume for open-fprint-suspend then open-fprint-resume? Since you mention it, I used this work around for python3-validity up till now. It may be significant, but now I have kernel 6.1 (6.1.1-1-MANJARO) and commenting out the lines in suspend.sh makes no difference i.e. it still works. With 6.0 I still needed the work-around. Try more recent kernels? |
For your information I followed the install procedure from here some time ago in this thread. Your hardware and sensor may affect successful operation. Fedora should have the same packages as Arch? |
I've replaced the #!/bin/sh
/bin/systemctl restart python3-validity && sleep 5 && /usr/lib/open-fprintd/resume.py and now it seems like my sensor is working correctly on Gentoo with genkernel 6.1 and latest available versions of python3-validity and open-fprintd |
Awesome! Many thanks for this little fix. Ps- I don't need the sleep on my Thinkpad X270 with the validity 138a:0097. e - Aha it broke again, but seems to work with a sleep 1. I suppose it'll depend on how quick your PC can restart python3-validity. |
I couldn't get it to work with the solution of editing open-fprintd-resume service, so I just removed the |
As I understand from error trace:
Solution here would be to close device on suspend and find/reopen on resume. Also, I'd probably also add a udev trigger for device resume instead of on-resume service. |
Hm... |
@nixenos I slightly modified your script to make it work on my system:
As
Also, restarting only BTW, open-fprintd service comes with
and requires a small modification:
Laptop: Lenovo Thinkpad X1 Extreme Gen 2 |
I'm having the same issue. Is there some ETA for this issue? |
there is this service which is also diabled by default |
This happens on my arch linux after I suspend and resume,
open-fprintd
doesn't seems to resume.I tried to resume the devices manually, there's a
NoSuchDevice
exception.open-fprintd
seems to be running just fineI think something is wrong when calling
dev.target.Resume()
from the manager, but I'm not too familiar with dbus so I'm not sure what's wrong here and how to fix it.Any ideas on how to tackle this issue ? I'll happily provide any relevant logs.
The text was updated successfully, but these errors were encountered: