mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-12 02:44:15 +00:00

The Element Hub (and several other docks that use the CCGX5 DMC reference design) is in "factory mode" out of the box, displaying a version of `0.0.0.0` Detect factory mode and set a non-zero version -- using the "real" version if possible by matching the CCG5 devx base firmware firmware.
23 lines
535 B
C
23 lines
535 B
C
/*
|
|
* Copyright (C) 2023 Richard Hughes <richard@hughsie.com>
|
|
* Copyright (C) 2020 Cypress Semiconductor Corporation.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <fwupdplugin.h>
|
|
|
|
#include "fu-ccgx-dmc-common.h"
|
|
|
|
#define FU_TYPE_CCGX_DMC_DEVX_DEVICE (fu_ccgx_dmc_devx_device_get_type())
|
|
G_DECLARE_FINAL_TYPE(FuCcgxDmcDevxDevice,
|
|
fu_ccgx_dmc_devx_device,
|
|
FU,
|
|
CCGX_DMC_DEVX_DEVICE,
|
|
FuDevice)
|
|
|
|
FuCcgxDmcDevxDevice *
|
|
fu_ccgx_dmc_devx_device_new(FuDevice *proxy, DmcDevxStatus *status);
|