Skip to content

Add Chromium OS EC fingerprint Match-On-Chip driver (crfpmoc)

Abhinav Baid requested to merge fandango96/libfprint:feature/crfpmoc into master

This PR adds a new libfprint driver called crfpmoc to support Chromium OS EC fingerprint sensors - I have tested this on a Lenovo ThinkPad C13 Yoga Chromebook but it should work on all modern chromebooks with fingerprint sensors, so anything listed here (and having a FP module): https://docs.chrultrabook.com/docs/firmware/supported-devices.html

The mock test uses ioctls that haven't yet been merged into umockdev. PR for that is here: https://github.com/martinpitt/umockdev/pull/249

Description of the device: The device has a peculiar set of features which doesn't correspond to traditional MoC drivers.

Enrollment works but we can't associate data with it, we can know which finger (as in the the print number - 0, 1, etc.) though by checking the number of enrolled fingers.

Instead of verify / identify, there is a "match" feature - if you press your finger, it can tell if it matches one of the enrolled ones. We also get info on which finger it was that matched, so I guess it's like "identify" but without the associated data.

There is no delete individual print feature (actually, probably there is but not apparent) - there is one to delete all registered prints though.

Merge request reports