fwupd/plugins/synaptics-rmi
Richard Hughes 28678235cd Move the fuzzing files into the plugin directories
We only had to pile everything into the src/fuzzing/firmware directory
because honggfuzz could not cope with more than one input path.

This way each plugin is self contained and easy to copy.
Also, install the fuzzing builder objects as this fixes the installed
tests when srcdir does not exist.

Based on a patch by Jan Tojnar <jtojnar@gmail.com>, many thanks.
2021-10-22 15:24:05 +01:00
..
tests Move the fuzzing files into the plugin directories 2021-10-22 15:24:05 +01:00
fu-plugin-synaptics-rmi.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-self-test.c Move the fuzzing files into the plugin directories 2021-10-22 15:24:05 +01:00
fu-synaptics-rmi-common.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-synaptics-rmi-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-synaptics-rmi-device.c Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-synaptics-rmi-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-synaptics-rmi-firmware.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-synaptics-rmi-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-synaptics-rmi-hid-device.c Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-synaptics-rmi-hid-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-synaptics-rmi-ps2-device.c Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-synaptics-rmi-ps2-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-synaptics-rmi-v5-device.c Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-synaptics-rmi-v5-device.h Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-synaptics-rmi-v6-device.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-synaptics-rmi-v6-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-synaptics-rmi-v7-device.c Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-synaptics-rmi-v7-device.h Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
meson.build Move the fuzzing files into the plugin directories 2021-10-22 15:24:05 +01:00
README.md trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00
synaptics-rmi.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00

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.