fwupd/plugins/ata
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
..
ata.quirk added my ssd giving the error 2020-12-06 15:31:23 +00:00
fu-ata-device.c Allow specifying more than one VendorID for a device 2021-01-04 22:30:20 +00:00
fu-ata-device.h Allow specifying more than one VendorID for a device 2021-01-04 22:30:20 +00:00
fu-plugin-ata.c Allow specifying more than one VendorID for a device 2021-01-04 22:30:20 +00:00
fu-self-test.c Allow specifying more than one VendorID for a device 2021-01-04 22:30:20 +00:00
meson.build Allow specifying more than one VendorID for a device 2021-01-04 22:30:20 +00:00
README.md Add external interface messages 2020-10-26 12:05:20 -05: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.

Vendor ID Security

No vendor ID is set as there is no vendor field in the IDENTIFY response.

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

External interface access

This plugin requires the SG_IO ioctl interface.