I have created two upstream PRs that handle suspend/resume internally:
- open-fprintd PR #24 — Manager listens to PrepareForSleep via logind and calls Device.Suspend()/Device.Resume() on sleep/wake
- python-validity PR #249 — Resume() properly reinitializes the USB device with retry for enumeration timing
I believe this would make python3-validity-suspend-hotfix.service obsolete — instead of restarting both services on every resume, the services now survive suspend and reinitialize the USB device internally. Does the hotfix service cover any other use cases beyond suspend/resume recovery, or would it be safe to remove once these PRs are merged?
Pinned Comments
sudopluto commented on 2025-01-07 12:01 (UTC)
please let me know if any issues arise this update, will try to fix asap. otherwise, hope you enjoy a late Christmas present!