USB ID
2009:7638
Source
devices/2009:7638/README.md

iStorage ADST / BYD BF5325 (USB 2009:7638)

Status: Working via a native libfprint driver (LGPL-2.1, no vendor blob).

External capacitive USB fingerprint dongle reporting iStorage ADST Fingerprint (2009:7638), built around a BYD BF5325 160x160 @ 508 DPI sensor (FW V1.9) and an AisinoChip ACH512 biometric MCU (match-on-chip, 3 enroll touches, 200 on-chip flash slots).

What was broken

  1. Upstream libfprint has no driver for 2009:7638.
  2. The dongle enumerates as a USB Mass Storage SCSI Bulk-Only Transport (bInterfaceClass = 0x08) virtual CD-ROM (/dev/sr0) originally meant to auto-launch a Windows driver installer. On Linux, usb-storage, cdrom_id, and udisks2 bind to interface 0 and poll TEST UNIT READY, triggering USB Mass Storage reset storms if anything else talks to the device.

What the fix does

Build and install

Source repository: arqueon/adst-2009-libfprint (LGPL-2.1-or-later).

sh yay -S libfprint-adst-2009-git sudo systemctl restart fprintd

An OpenCV-free variant against vanilla upstream libfprint is also in packaging/arch-upstream/PKGBUILD in the source repo.

udev ACTION=="add|change", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="2009", ATTR{idProduct}=="7638", TAG+="uaccess", ENV{ID_LIBFPRINT_DRIVER}="adst2009", TEST=="power/control", ATTR{power/control}="on" ACTION=="add|bind", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_interface", ATTRS{idVendor}=="2009", ATTRS{idProduct}=="7638", DRIVER=="usb-storage", RUN+="/bin/sh -c 'echo -n $kernel > /sys/bus/usb/drivers/usb-storage/unbind'" SUBSYSTEM=="block", ENV{ID_VENDOR_ID}=="2009", ENV{ID_MODEL_ID}=="7638", ENV{UDISKS_IGNORE}="1", OPTIONS+="nowatch"

Reload udev (sudo udevadm control --reload && sudo udevadm trigger --attr-match=idVendor=2009) or replug the reader after installing the rule.

Tested on