-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Hyprlock fingerprint not working after idle #531
Comments
0.5.0 introduced fingerprint support outside of pam, since that does not work well in a lot of cases. |
does not seems to find anything usefull for this case |
nevermind. because the formatting is broken i did not bother to check your config and see that you are already using the new fingerprint support. Can you post hyprlock logs from when that happens? |
How do I get the log, and im also using python-validity for the fingerprint. |
it is literally on the readme... https://github.com/uunicorn/python-validity?tab=readme-ov-file#fingerprint-not-working-after-waking-up-from-suspend |
Yup try that, the service just turn off when sleep. Maybe its a issues with the validity. Im gonna close it for now. |
Can this be reopened? |
does #544 change anything? |
this really sounds like a open-fprintd problem |
This is the error I get:
it is supposed to be fixed in python-validity 0.14 but doesnt work for me |
I run nixos and I'm not sure how I set the hyprlock package to the pr version EDIT2: the PR didn't change anything unfortunately |
I can now confirm that the problem is, python-validity takes too long to reset the reader after resume. try {
auto finger = "any"; // Any finger.
m_sDBUSState.device->callMethod("VerifyStart").onInterface(DEVICE).withArguments(finger);
} catch (sdbus::Error& e) {
Debug::log(WARN, "fprint: could not start verifying, {}", e.what());
try {
auto finger = "any";
std::this_thread::sleep_for(std::chrono::milliseconds(100));
m_sDBUSState.device->callMethod("VerifyStart").onInterface(DEVICE).withArguments(finger);
} catch (sdbus::Error& e) {
Debug::log(WARN, "fprint: could not start verifying, {}", e.what());
return false;
} |
Hello I'm also having an issue related to this one, but with a huge twist, I'm using python3-validity like other users in this thread but in my case the finger print sensor requires an extra hack that is defined in here, the hack works with something like swaylock, but on hyprlock it doesn't work that well, on swaylock it took like 2 seconds for the sensor to be active again, but on hyprlock it only gets active after I input the password, I'm also using a label to print the fprintd status and when the system resumes this status message is empty. here is my general config on hyprlock:
The Slap yo finger message never appears after a resume, which is kinda expected because the sensor isn't working for the first second or two, however what I can't wrap my head about is the reasoning why I have to input both my password and fingerprint after a system resume, my /etc/pam.d/hyprlock has the default values and my /etc/pam.d/system-local-login looks like this:
I don't know if this is an issue on my configuration but it doesn't seem like it, it seems like python3-validity doesn't really like the integration with hyprlock based on this thread. If anyone has any ideas on how to further debug this let me know! |
Regression?
No
Hyprlock Info and Version
Hyprlock version 0.5.0
Hyprlock config
Compositor Info and Version
System/Version info
The text was updated successfully, but these errors were encountered: