fwupd/plugins/ata
Richard Hughes 3ed2ac8315 trivial: Unexport fu_test_get_filename()
We don't actually need either of the things it provides (looking up in source
and built, and converting to an absolute path) so just replace it with
g_build_filename() instead.

This also has the advantage that it does the right thing on Windows.
2019-11-27 12:45:35 +00:00
..
tests ata: Add a new plugin to upgrade firmware on ATA/ATAPI hardware 2019-01-29 22:28:09 +00:00
ata.quirk Set all FuUdevDevice plugins to use FU_QUIRKS_PLUGIN 2019-10-09 20:02:16 +01:00
fu-ata-device.c Set the protocol per-device not per-plugin 2019-11-25 18:01:54 +00:00
fu-ata-device.h trivial: Remove G_BEGIN_DECLS from all private headers 2019-10-09 20:02:16 +01:00
fu-plugin-ata.c Set the protocol per-device not per-plugin 2019-11-25 18:01:54 +00:00
fu-self-test.c trivial: Unexport fu_test_get_filename() 2019-11-27 12:45:35 +00:00
meson.build Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
README.md ata: Add a new plugin to upgrade firmware on ATA/ATAPI hardware 2019-01-29 22:28:09 +00:00

ATA

Introduction

This plugin allows updating ATA/ATAPI storage hardware. Devices are enumerated from the block devices and if ID_ATA_DOWNLOAD_MICROCODE is supported they can be updated with appropriate firmware file.

Updating ATA devices is more dangerous than other hardware such as DFU or NVMe and should be tested carefully with the help of the drive vendor.

The device GUID is read from the trimmed model string.

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:

  • org.t13.ata

GUID Generation

These device use the Microsoft DeviceInstanceId values, e.g.

  • IDE\VENDOR[40]REVISION[8]
  • IDE\0VENDOR[40]

See https://docs.microsoft.com/en-us/windows-hardware/drivers/install/identifiers-for-ide-devices for more details.

Quirk use

This plugin uses the following plugin-specific quirks:

Quirk Description Minimum fwupd version
AtaTransferBlocks Blocks to transfer, or 0xffff for max 1.2.4
AtaTransferMode The transfer mode, 0x3, 0x7 or 0xe 1.2.4