mirror of
https://git.proxmox.com/git/fwupd
synced 2026-03-28 06:25:00 +00:00
Saving the quirks in the GResource section worked well, but it made the build system very complicated and also meant the .data section was duplicated in both `fwupd` and `fwupdtool` -- negating a lot of the hard-fought savings. Simplify this feature so that we just `cat` all the quirk files together, then gzip them into a single file. This means that at startup fwupd only needs to check the mtime of one file, and weirdly it's actually faster to load a smaller compressed file from disk that it is to load multiple uncompressed files. |
||
|---|---|---|
| .. | ||
| fu-plugin-scsi.c | ||
| fu-scsi-device.c | ||
| fu-scsi-device.h | ||
| meson.build | ||
| README.md | ||
| scsi.quirk | ||
SCSI
Introduction
This plugin adds support for SCSI storage hardware. Most SCSI devices are enumerated and some UFS devices may also be updatable.
Firmware is sent in 4kB chunks and activated on next reboot only.
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.jedec.ufs
GUID Generation
These device use the SCSI DeviceInstanceId values, e.g.
SCSI\VEN_HP&DEV_EG0900JETKB&REV_HPD4SCSI\VEN_HP&DEV_EG0900JETKBSCSI\VEN_HP
Vendor ID Security
The vendor ID is set from the vendor, for example set to SCSI:HP
External Interface Access
This plugin requires only reading from sysfs for enumeration, but requires using a sg_io ioctl
for UFS updates.