fwupd/plugins/analogix
Richard Hughes bf72d393fd Split up FuUsbDevice into ->open() and ->setup()
Before this change calling FuUsbDevice->open() opened the device, and
also unconditionally added various GUIDs and InstanceIDs which we
normally do in setup.
Then fu_device_setup() would call the FuSubclass->setup() vfunc which
would have no way of either opting out of the FuUsbDevice->setup()-like
behaviour, or controlling if the parent class ->setup is run before or
after the subclass setup.

Split up FuUsbDevice->open() into clear ->open() and ->setup() phases
and add the parent class calls where appropriate.

This means that ->setup() now behaves the same as all the other vfuncs.
2021-06-17 16:21:41 +01:00
..
analogix.quirk Add support for some Analogix hardware 2021-04-12 11:00:54 +01:00
fu-analogix-common.c Add support for some Analogix hardware 2021-04-12 11:00:54 +01:00
fu-analogix-common.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-analogix-device.c Split up FuUsbDevice into ->open() and ->setup() 2021-06-17 16:21:41 +01:00
fu-analogix-device.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-analogix-firmware.c analogic: Fix various trivial problems to enable successful device update 2021-04-13 08:39:18 +01:00
fu-analogix-firmware.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-plugin-analogix.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
meson.build analogix plugin requires gusb 2021-05-20 10:18:05 +01:00
README.md Add support for some Analogix hardware 2021-04-12 11:00:54 +01:00

Analogix

Introduction

This plugin can flash the firmware of some Analogix billboard devices.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmware blob in a Intel Hex file format. The resulting binary image is either:

  • OCM section only
  • CUSTOM section only
  • Multiple sections excluded CUSTOM -- at fixed offsets and sizes

This plugin supports the following protocol ID:

  • com.analogix.bb

GUID Generation

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

  • USB\VID_1F29&PID_7518

Update Behavior

The device is updated at runtime using USB control transfers.

Vendor ID Security

The vendor ID is set from the USB vendor. The list of USB VIDs used is:

  • USB:0x1F29

External interface access

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