fwupd/plugins/elantp
jingle.wu 4f2cb4598c elantp: Modify firmware update flow
1. Check FW in bootloader mode, need send reset command to firmware.
 2. IAP Type register parameter is defind as how many bytes/page to be written.
 3. Write IAP Type function in detach function.
 4. Remove IAP Type function in setup function.
 5. Modify page format for i2c-device
 6. Modify firmware bin file size.
 7. Modify firmware update flow when the firmware in bootloader mode.
 8. Add another instance ID which corresponds to the IC type & module ID
   * `ELANTP\ICTYPE_09&MOD_1234`
 9. Add Lenovo ThinkPad X1 nano gen1 to elantp.quick
10. Add recovry device - lenovo thinkpad x1 nanao gen 1
11. Add elan touchpad device - vid:04f3 pid:314f
12. Set the firmware version when the firmware is incorrect.
2020-10-08 10:43:06 -05:00
..
elantp.quirk elantp: Modify firmware update flow 2020-10-08 10:43:06 -05: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 firmware update flow 2020-10-08 10:43:06 -05: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 elantp: Modify firmware update flow 2020-10-08 10:43:06 -05: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 elantp: Only match the I2C adaptor on the correct laptop model 2020-09-14 16:19:45 +01:00
meson.build elaptp: Allow recovery when the HID firmware fails to load 2020-09-14 16:19:45 +01:00
README.md elantp: Modify firmware update flow 2020-10-08 10:43:06 -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