Skip to content

v1.1.1 - Goodix GM168 Driver: Reboot Detection & USB Autosuspend Fix

Latest

Choose a tag to compare

@shohagranasuvo shohagranasuvo released this 07 Nov 15:14

What's Changed in v1.1.1:

  • Persistent Reboot Detection: Fixed an issue where the Goodix GM168 sensor was not detected or failed to initialize after system restart due to Linux kernel USB autosuspend (power/control='auto', 2-second timeout).
  • Persistent Udev Rule: Added TEST=="power/control", ATTR{power/control}="on", TEST=="power/autosuspend", ATTR{power/autosuspend}="-1", TEST=="power/persist", ATTR{power/persist}="1" to keep the USB controller awake across system reboots and hotplugs.
  • Dynamic Self-Healing: Added heal_usb_power_state() in pam_goodix_verify.py, goodix_daemon.py, and fingerprint_gui.py to automatically correct sysfs power states and retry on transient USB glitches.
  • Debian Package Postinst: Added dynamic sysfs power initialization to .deb package installer.

Verification:

Tested and verified on Xiaomi RedmiBook Pro 14S (27c6:581a) running Ubuntu 26.04.