![]() It's actually quite hard to build a front-end for fwupd at the moment as you're never sure when the progress bar is going to zip back to 0% and start all over again. Some plugins go 0..100% for write, others go 0..100% for erase, then again for write, then *again* for verify. By creating a helper object we can easily split up the progress of the specific task, e.g. write_firmware(). We can encode at the plugin level "the erase takes 50% of the time, the write takes 40% and the read takes 10%". This means we can have a progressbar which goes up just once at a consistent speed. |
||
---|---|---|
.. | ||
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-002
SYNAPTICS_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
.