omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

omarchy-hw-fingerprint misses the Chipsailing CS9711: vendor 2541 unlisted, and its product string reads "Fingprint"

Open francesc opened this issue 3 months ago • 1 comments

What happens

omarchy-hw-fingerprint does not detect the Chipsailing CS9711 (USB 2541:0236), so on a machine with that reader:

  • Setup → Security → Fingerprint is hidden. default/omarchy/omarchy-menu.jsonc gates it on "when": "omarchy-hw-fingerprint".
  • omarchy-setup-security-fingerprint refuses to run, exiting 1 at the if ! omarchy-hw-fingerprint guard before installing or configuring anything.
  • install/user/first-run/setup-fingerprint.hook skips it too.

The reader itself works fine — libfprint-cs9711-rebase-git drives it, fprintd enrols and verifies against it, and pam_fprintd.so authenticates sudo with it. Only the detection step misses.

Why it misses — two independent reasons

$ lsusb | grep -i chip
Bus 001 Device 002: ID 2541:0236 Chipsailing CS9711Fingprint

$ cat /sys/bus/usb/devices/1-2/product
CS9711Fingprint
  1. Vendor 2541 is not in fingerprint_vendors (27c6 138a 06cb 08ff 1c7a 147e).
  2. The product-string fallback misses too — the device's own firmware descriptor reads CS9711Fingprint, missing the er, so [[ $product == *fingerprint* ]] does not match.

So both detection paths fail on a typo in the hardware plus an unlisted vendor.

Suggested fix

Adding 2541 to fingerprint_vendors is enough. The vendor is single-purpose (Chipsailing makes fingerprint modules), and the existing has_kernel_driver guard already covers the concern that list is there to manage — the reader sits with no kernel driver bound, as libfprint drives it over libusb.

If you would rather not widen the vendor list, matching *fingprint* alongside *fingerprint* in the product check also catches it, though that is a workaround for one vendor's typo rather than a general improvement.

Environment

  • omarchy 4.0.2-1, omarchy-settings 4.0.2-1
  • Arch, Hyprland via uwsm
  • Reader: Chipsailing CS9711, USB 2541:0236, external USB module
  • Driver: libfprint-cs9711-rebase-git (AUR); stock libfprint does not support this sensor

francesc avatar Sep 02 '26 14:09 francesc

Automated duplication check: this issue looks similar to #7535, which covers the same fingerprint detection misses vendor 2541. I keep that one open and close this one to keep the discussion in one place.

If you feel this is the wrong decision, please open the issue again with a note on the difference.

bjarneo avatar Sep 21 '26 09:09 bjarneo