fwupd/plugins/synaptics-rmi
Richard Hughes faa7871b08 Remove duplicate ->probe() calls to speed up startup by 150ms
Now incorporate is fixed to copy across the properties we need in the
superclass, we don't need to do the subclass ->probe().

Note, we still need to do the subclassed ->probe() when using
FU_UDEV_DEVICE_FLAG_VENDOR_FROM_PARENT or when looking at properties
on the parent device.

This also removes the spurious 'already set GType to FuVliUsbhubDevice,
ignoring FuVliUsbhubDevice' messages when running the daemon.
2022-06-14 21:01:57 +01:00
..
tests Move the fuzzing files into the plugin directories 2021-10-22 15:24:05 +01:00
fu-plugin-synaptics-rmi.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00: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 Be smarter and include less header files per source file 2022-06-14 14:36:52 -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 Split out the memory helpers to a new source file 2022-06-14 14:36:52 -05: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: Remove fu_byte_array_set_size_full() 2022-06-14 14:36:52 -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 Remove duplicate ->probe() calls to speed up startup by 150ms 2022-06-14 21:01:57 +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 Remove duplicate ->probe() calls to speed up startup by 150ms 2022-06-14 21:01:57 +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 Split out the dump helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-synaptics-rmi-v5-device.h Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-synaptics-rmi-v6-device.c Split out the memory helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-synaptics-rmi-v6-device.h Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-synaptics-rmi-v7-device.c Split out the dump helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-synaptics-rmi-v7-device.h Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
meson.build Convert build system to use meson tristate features 2022-02-28 08:34:48 -06: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.