fwupd/plugins/superio
Richard Hughes 99df74f0c2 Add API to wait for a device
This allows us to ignore all the delays when the device is emulated, with the
idea being to do dozens of device emulations in the CI tests.

Also, do not call fu_progress_sleep() when the device is emulated.
2023-02-01 09:42:08 +00:00
..
fu-superio-common.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-superio-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-superio-device.c Remove fu_strtoull_full() 2022-06-14 14:36:52 -05:00
fu-superio-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-superio-it55-device.c Add API to wait for a device 2023-02-01 09:42:08 +00:00
fu-superio-it55-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-superio-it85-device.c superio: Fix a small memory leak in an error path 2022-04-13 15:08:12 +01:00
fu-superio-it85-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-superio-it89-device.c superio: Return with failure if setting GError 2022-12-15 17:27:22 +00:00
fu-superio-it89-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-superio-plugin.c Build many more plugins as builtin 2022-09-28 17:01:23 +01:00
fu-superio-plugin.h Build many more plugins as builtin 2022-09-28 17:01:23 +01:00
meson.build Build many more plugins as builtin 2022-09-28 17:01:23 +01:00
README.md Include the plugin README text in the generated docs 2023-01-10 14:58:30 +00:00
superio.quirk Lots of spelling fixes 2022-12-29 13:57:31 +00:00

title: Plugin: SuperIO

Introduction

This plugin enumerates the various ITE85* SuperIO embedded controller ICs found in many laptops. Vendors wanting to expose the SuperIO functionality will need to add a HwId quirk entry to superio.quirk.

See the Wikipedia page for more details about SuperIO and what the EC actually does.

Other useful links:

GUID Generation

These devices use a custom GUID generated using the SuperIO chipset name:

  • SuperIO-$(chipset), for example SuperIO-IT8512

Update Behavior

The firmware is deployed when the device is in normal runtime mode, but it is only activated on machine reboot. The firmware write is normally scheduled to be done very early in the boot process to minimize the chance the EC chip locking up if the user is actually using the keyboard controller.

Vendor ID Security

The vendor ID is set from the baseboard vendor, for example DMI:Star Labs

Quirk Use

This plugin uses the following plugin-specific quirks:

SuperioControlPort

Control (status/command) port number, e.g. 0x66

Since: 1.6.2

SuperioDataPort

Data port number, e.g. 0x62

Since: 1.6.2

SuperioAutoloadAction

Autoload action, specified by ITE: none, disable, on, off

Since: 1.6.2

SuperioTimeout

Maximum wait time in ms (default value is 250)

Since: 1.6.2

External Interface Access

This plugin requires access to raw system memory via inb/outb.