fwupd/plugins/goodix-moc
Richard Hughes 8df102b7c0 Add fu_usb_device_add_interface() for plugins to use
It's a common action for plugins to call FuUsbDevice->open() then claim
interfaces, and then release them just before FuUsbDevice->close().

It's also something a lot of plugins get wrong, so provide common code
to handle it correctly in one place.
2022-01-04 22:05:37 +00: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 Add fu_usb_device_add_interface() for plugins to use 2022-01-04 22:05:37 +00: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 Move the plugin build logic to the plugins themselves 2021-02-18 14:46:20 +00: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.