fwupd/plugins/vli
2020-10-26 12:05:20 -05:00
..
fu-plugin-vli.c vli: Only reboot the USB hub once 2020-04-02 13:23:40 +01:00
fu-self-test.c vli: Allow setting the device kind from a quirk 2020-01-02 13:24:13 +00:00
fu-vli-common.c trivial: Add CRC8 as well 2020-09-25 18:00:21 +01:00
fu-vli-common.h trivial: Add CRC8 as well 2020-09-25 18:00:21 +01:00
fu-vli-device.c Add fu_device_sleep_with_progress helper() 2020-10-11 07:34:00 +01:00
fu-vli-device.h vli: Fix VL103 reboot from ROM mode to FW mode 2020-03-10 10:46:01 +00:00
fu-vli-pd-common.c vli: Rename FuVliUsbhubPdFirmware to FuVliPdFirmware 2020-01-02 13:24:13 +00:00
fu-vli-pd-common.h vli: Always expect the VL103 header at 0x1003 or 0x4000 2020-03-10 12:09:27 +00:00
fu-vli-pd-device.c Do not auto-detach when dumping firmware 2020-10-05 19:44:44 +01:00
fu-vli-pd-device.h vli: Add support for standalone Single PD devices 2020-01-02 13:24:13 +00:00
fu-vli-pd-firmware.c vli: Add support for Hyper hardware 2020-10-26 10:08:00 +00:00
fu-vli-pd-firmware.h vli: Always expect the VL103 header at 0x1003 or 0x4000 2020-03-10 12:09:27 +00:00
fu-vli-pd-parade-device.c Add fu_device_dump_firmware() 2020-09-24 10:54:27 -05:00
fu-vli-pd-parade-device.h vli: Add support for the PS186 device 2020-02-11 12:08:37 +00:00
fu-vli-usbhub-common.c trivial: Add CRC8 as well 2020-09-25 18:00:21 +01:00
fu-vli-usbhub-common.h vli: Have one 'DeviceKind' for all objects 2020-01-02 13:24:13 +00:00
fu-vli-usbhub-device.c vli: Get the new firmware version when updating the PD device 2020-10-18 07:35:46 +01:00
fu-vli-usbhub-device.h vli: Rename FuVliUsbhubI2cDevice to FuVliUsbhubMsp430Device 2020-07-22 20:04:20 +01:00
fu-vli-usbhub-firmware.c vli: Have one 'DeviceKind' for all objects 2020-01-02 13:24:13 +00:00
fu-vli-usbhub-firmware.h vli: Have one 'DeviceKind' for all objects 2020-01-02 13:24:13 +00:00
fu-vli-usbhub-i2c-common.c vli: Have one 'DeviceKind' for all objects 2020-01-02 13:24:13 +00:00
fu-vli-usbhub-i2c-common.h vli: Rename FuVliUsbhubI2cDevice to FuVliUsbhubMsp430Device 2020-07-22 20:04:20 +01:00
fu-vli-usbhub-msp430-device.c vli: Use the tokenization data for the Intel HEX file 2020-10-20 16:27:15 +01:00
fu-vli-usbhub-msp430-device.h vli: Rename FuVliUsbhubI2cDevice to FuVliUsbhubMsp430Device 2020-07-22 20:04:20 +01:00
fu-vli-usbhub-pd-device.c vli: Get the new firmware version when updating the PD device 2020-10-18 07:35:46 +01:00
fu-vli-usbhub-pd-device.h vli: Get the new firmware version when updating the PD device 2020-10-18 07:35:46 +01:00
fu-vli-usbhub-rtd21xx-device.c trivial: Use fu_device_sleep_with_progress() in one more place 2020-10-20 18:21:27 +01:00
fu-vli-usbhub-rtd21xx-device.h vli: Add support for the Realtek RTD21XX I²C protocol 2020-08-17 20:23:09 +01:00
meson.build vli: Add support for Hyper hardware 2020-10-26 10:08:00 +00:00
README.md Add external interface messages 2020-10-26 12:05:20 -05:00
vli-pd.quirk vli: Remove one of the catch-all PD VID:PID matches 2020-10-21 16:25:12 +01:00
vli-usbhub-hyper.quirk vli: Add support for Hyper hardware 2020-10-26 10:08:00 +00:00
vli-usbhub-lenovo.quirk vli: Set the parent of the USB2 recovery for cosmetic reasons 2020-10-21 17:48:36 +01:00
vli-usbhub.quirk vli: Define the device GType in the quirk file 2020-01-02 13:24:13 +00:00

VIA Support

Introduction

This plugin is used to update USB hubs from VIA.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmware blob in an undisclosed binary file format.

This plugin supports the following protocol ID:

  • com.vli.i2c
  • com.vli.pd
  • com.vli.usbhub

GUID Generation

These devices use the standard USB DeviceInstanceId values, e.g.

  • USB\VID_17EF&PID_3083&REV_0001
  • USB\VID_17EF&PID_3083
  • USB\VID_17EF

All VLI devices also use custom GUID values for the device type, e.g.

  • USB\VID_17EF&PID_3083&DEV_VL812B3

These devices also use custom GUID values for the SPI flash configuration, e.g.

  • VLI_USBHUB\SPI_37303840
  • VLI_USBHUB\SPI_3730
  • VLI_USBHUB\SPI_37

Optional PD child devices sharing the SPI flash use two extra GUIDs, e.g.

  • USB\VID_17EF&PID_3083&DEV_VL102
  • USB\VID_17EF&PID_3083&APP_26

Optional I²C child devices use just one extra GUID, e.g.

  • USB\VID_17EF&PID_3083&I2C_MSP430
  • USB\VID_17EF&PID_3083&I2C_PS186

Vendor ID Security

The vendor ID is set from the USB vendor, for example set to USB:0x2109

Quirk Use

This plugin uses the following plugin-specific quirks:

Quirk Description Minimum fwupd version
DeviceKind Device kind, e.g. VL102 1.3.7
SpiAutoDetect SPI autodetect (default 0x1) 1.3.7
SpiCmdChipErase Flash command to erase chip 1.3.3
SpiCmdChipErase Flash command to erase sector 1.3.3
SpiCmdReadId Flash command to read the ID 1.3.3
SpiCmdReadIdSz Size of the ReadId response 1.3.3

The SpiCmdReadId and SpiCmdReadIdSz quirks have to be assigned to the device instance attribute, rather then the flash part as the ID is required to query the other flash chip parameters. For example:

[DeviceInstanceId=USB\VID_2109&PID_0210]
Plugin = vli
GType = FuVliUsbhubDevice
SpiCmdReadId = 0xf8
SpiCmdReadIdSz = 4

# W3IRDFLASHxxx
[Guid=VLI_USBHUB\\SPI_37303840]
SpiCmdChipErase = 0xc7
SpiCmdSectorErase = 0x20

External interface access

This plugin requires read/write access to /dev/bus/usb.