fwupd/plugins/fresco-pd
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
..
fresco-pd.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00
fu-fresco-pd-common.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-fresco-pd-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-fresco-pd-device.c Split out the dump helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-fresco-pd-device.h trivial: Remove the class structs for types that use G_DECLARE_FINAL_TYPE 2022-05-21 12:19:50 +01:00
fu-fresco-pd-firmware.c Set the firmware contents even when subclassing ->parse() 2022-09-10 09:16:05 +01:00
fu-fresco-pd-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-plugin-fresco-pd.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
lsusb.txt Add a plugin to update PD controllers by Fresco Logic 2020-02-07 11:46:25 +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

Fresco PD

Introduction

This plugin is used to update Power Devlivery devices by Fresco.

Firmware Format

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

This plugin supports the following protocol ID:

  • com.frescologic.pd

GUID Generation

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

  • USB\VID_1D5C&PID_7102&REV_0001
  • USB\VID_1D5C&PID_7102
  • USB\VID_1D5C

These devices also use custom GUID values, e.g.

  • USB\VID_1D5C&PID_7102&CID_01

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:0x1D5C

External Interface Access

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