fwupd/plugins/goodix-moc
Richard Hughes c4b7f42e43 Only compress one version of the builtin-quirks
Saving the quirks in the GResource section worked well, but it made the build
system very complicated and also meant the .data section was duplicated in
both `fwupd` and `fwupdtool` -- negating a lot of the hard-fought savings.

Simplify this feature so that we just `cat` all the quirk files together, then
gzip them into a single file. This means that at startup fwupd only needs to
check the mtime of one file, and weirdly it's actually faster to load a smaller
compressed file from disk that it is to load multiple uncompressed files.
2022-09-27 12:44:04 +01:00
..
fu-goodixmoc-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-goodixmoc-device.c Split out the dump helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-goodixmoc-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-plugin-goodixmoc.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
goodixmoc.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00
meson.build Only compress one version of the builtin-quirks 2022-09-27 12:44:04 +01:00
README.md trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00

Goodix Fingerprint Sensor

Introduction

The plugin used for update firmware for fingerprint sensors from Goodix.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmware blob in a packed binary file format.

This plugin supports the following protocol ID:

  • com.goodix.goodixmoc

GUID Generation

These devices use the standard USB DeviceInstanceId values, e.g.

  • USB\VID_27C6&PID_6001&REV_0001
  • USB\VID_27C6&PID_6001
  • USB\VID_27C6

Update Behavior

The firmware is deployed when the device is in normal runtime mode, and the device will reset when the new firmware has been written.

Vendor ID Security

The vendor ID is set from the USB vendor, in this instance set to USB:0x27C6

External Interface Access

This plugin requires read/write access to /dev/bus/usb.