drivers: add initial Samsung 730B image driver

Add an experimental driver for the Samsung 730B USB fingerprint sensor
(04e8:730b).

The implementation is based on reverse engineering of the Windows traffic
and a Python prototype:
- repo: https://github.com/lignah/samsung-730b-reverse
- script: scripts/samsung_730b_v1_3.py

Implemented pieces:
- device init sequence (0xC3 control + A9/A8 bulk writes)
- image capture using 0xCA control and 256-byte bulk chunks
- image layout: 112x96 at offset 180 in the raw buffer
- basic image-based finger detection (short probe + ff ratio heuristic)

The driver currently exposes the device as a press-type image sensor and
can capture usable fingerprints via libfprint.

Known limitations:
- Finger detection and capture work, but fprintd enrollment UX is still
  rough (minutiae detection sometimes fails, and higher-level behavior
  needs tuning).
- The driver is marked experimental on purpose; further iteration with
  libfprint/fprintd maintainers is expected.
This commit is contained in:
lignah 2025-12-07 15:59:11 +09:00
parent 063830777f
commit fbaa97eaeb

File diff suppressed because it is too large Load diff