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. |
||
|---|---|---|
| .. | ||
| fu-plugin-synaptics-cxaudio.c | ||
| fu-synaptics-cxaudio-common.h | ||
| fu-synaptics-cxaudio-device.c | ||
| fu-synaptics-cxaudio-device.h | ||
| fu-synaptics-cxaudio-firmware.c | ||
| fu-synaptics-cxaudio-firmware.h | ||
| meson.build | ||
| README.md | ||
| synaptics-cxaudio.quirk | ||
Conexant Audio
Introduction
This plugin is used to update a small subset of Conexant (now owned by Synaptics) audio devices.
Firmware Format
The daemon will decompress the cabinet archive and extract a firmware blob in a modified SREC file format.
This plugin supports the following protocol ID:
- com.synaptics.synaptics-cxaudio
GUID Generation
These devices use the standard USB DeviceInstanceId values, e.g.
USB\VID_17EF&PID_3083&REV_0001USB\VID_17EF&PID_3083USB\VID_17EF
These devices also use custom GUID values, e.g.
SYNAPTICS_CXAUDIO\CX2198XSYNAPTICS_CXAUDIO\CX21985
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:0x17EF
Quirk Use
This plugin uses the following plugin-specific quirks:
CxaudioChipIdBase
Base integer for ChipID.
Since: 1.3.2
CxaudioSoftwareReset
If the chip supports self-reset.
Since: 1.3.2
CxaudioPatch1ValidAddr
Address of patch location #1.
Since: 1.3.2
CxaudioPatch2ValidAddr
Address of patch location #2.
Since: 1.3.2
External Interface Access
This plugin requires read/write access to /dev/bus/usb.