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. |
||
|---|---|---|
| .. | ||
| tests | ||
| fu-plugin-synaptics-rmi.c | ||
| fu-self-test.c | ||
| fu-synaptics-rmi-common.c | ||
| fu-synaptics-rmi-common.h | ||
| fu-synaptics-rmi-device.c | ||
| fu-synaptics-rmi-device.h | ||
| fu-synaptics-rmi-firmware.c | ||
| fu-synaptics-rmi-firmware.h | ||
| fu-synaptics-rmi-hid-device.c | ||
| fu-synaptics-rmi-hid-device.h | ||
| fu-synaptics-rmi-ps2-device.c | ||
| fu-synaptics-rmi-ps2-device.h | ||
| fu-synaptics-rmi-v5-device.c | ||
| fu-synaptics-rmi-v5-device.h | ||
| fu-synaptics-rmi-v6-device.c | ||
| fu-synaptics-rmi-v6-device.h | ||
| fu-synaptics-rmi-v7-device.c | ||
| fu-synaptics-rmi-v7-device.h | ||
| meson.build | ||
| README.md | ||
| synaptics-rmi.quirk | ||
Synaptics RMI4
Introduction
This plugin updates integrated Synaptics RMI4 devices, typically touchpads.
GUID Generation
The HID DeviceInstanceId values are used, e.g. HIDRAW\VEN_06CB&DEV_4875.
These devices also use custom GUID values constructed using the board ID, e.g.
SYNAPTICS_RMI\TM3038-002SYNAPTICS_RMI\TM3038
Update Behavior
The device usually presents in HID mode, and the firmware is written to the device by switching to a SERIO mode where the touchpad is nonfunctional. Once complete the device is reset to get out of SERIO mode and to load the new firmware version.
Vendor ID Security
The vendor ID is set from the udev vendor, in this instance set to HIDRAW:0x06CB
Firmware Format
The daemon will decompress the cabinet archive and extract a firmware blob in a proprietary (but docucumented) file format.
This plugin supports the following protocol ID:
- com.synaptics.rmi
External Interface Access
This plugin requires ioctl access to HIDIOCSFEATURE and HIDIOCGFEATURE.