fwupd/plugins/elantp
Richard Hughes eddaed0c11 Allow specifying more than one VendorID for a device
Asking the user for the UID mapping isn't working very well, as it requires lots
of manual handholding. It also doesn't work very well when the device vendor
does not actually have a PCI ID or if the vendor has split into two entities.

Just use the OUI address as an additional VendorID and match any of the device
IDs against any of the metadata-supplied values.
2021-01-04 22:30:20 +00:00
..
elantp.quirk elantp: Add new HWID for Lenovo X13 Gen 2. 2020-12-31 06:38:34 +00:00
fu-elantp-common.c elantp: Add a plugin to update Elan Touchpads using HID 2020-09-01 12:17:44 +01:00
fu-elantp-common.h elaptp: Allow recovery when the HID firmware fails to load 2020-09-14 16:19:45 +01:00
fu-elantp-firmware.c elantp: Add a plugin to update Elan Touchpads using HID 2020-09-01 12:17:44 +01:00
fu-elantp-firmware.h elantp: Add a plugin to update Elan Touchpads using HID 2020-09-01 12:17:44 +01:00
fu-elantp-hid-device.c elantp: Modify the correct input for the iap reg. 2020-10-23 08:56:48 +01:00
fu-elantp-hid-device.h elantp: Add a plugin to update Elan Touchpads using HID 2020-09-01 12:17:44 +01:00
fu-elantp-i2c-device.c Allow specifying more than one VendorID for a device 2021-01-04 22:30:20 +00:00
fu-elantp-i2c-device.h elaptp: Allow recovery when the HID firmware fails to load 2020-09-14 16:19:45 +01:00
fu-plugin-elantp.c Make the 'id' for fu_plugin_add_firmware_gtype() optional 2021-01-04 15:27:10 +00:00
meson.build elaptp: Allow recovery when the HID firmware fails to load 2020-09-14 16:19:45 +01:00
README.md Add external interface messages 2020-10-26 12:05:20 -05:00

Elan TouchPad

Introduction

This plugin allows updating Touchpad devices from Elan. Devices are enumerated using HID and raw I²C nodes. The I²C mode is used for firmware recovery.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmware blob in an unspecified binary file format.

This plugin supports the following protocol ID:

  • tw.com.emc.elantp

GUID Generation

These device uses the standard DeviceInstanceId values, e.g.

  • HIDRAW\VEN_04F3&DEV_3010

Additionally another instance ID is added which corresponds to the module ID:

  • HIDRAW\VEN_04F3&DEV_3010&MOD_1234

These devices also use custom GUID values for the IC configuration, e.g.

  • ELANTP\ICTYPE_09

Additionally another instance ID is added which corresponds to the IC type & module ID:

  • ELANTP\ICTYPE_09&MOD_1234

Vendor ID Security

The vendor ID is set from the HID vendor, for example set to HIDRAW:0x17EF

Quirk use

This plugin uses the following plugin-specific quirks:

Quirk Description Minimum fwupd version
ElantpIcPageCount The IC page count 1.4.6
ElantpIapPassword The IAP password 1.4.6

External interface access

This plugin requires ioctl access to HIDIOCSFEATURE and HIDIOCGFEATURE.