mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-16 04:33:03 +00:00

The DW5821e in modem mode uses the 0x81D7 PID, but when it boots in
fastboot mode it uses the 0x81D6 PID. The upgrade procedure was able
to automatically match these two devices because they both shared the
very generic per-VID (0x413C) GUID, but this is no longer operational
since commit 8ef139faba
, as the very generic GUIDs have been removed
for matching purposes.
So, define a quirk for the DW5821e, in order to add a counterpart
GUID to make device matching work properly again.
Fixes https://github.com/hughsie/fwupd/issues/1271
34 lines
650 B
Meson
34 lines
650 B
Meson
cargs = ['-DG_LOG_DOMAIN="FuPluginMm"']
|
|
|
|
install_data(['modem-manager.quirk'],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_modem_manager',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-plugin-modem-manager.c',
|
|
'fu-mm-device.c',
|
|
'fu-qmi-pdc-updater.c',
|
|
'fu-mm-utils.c'
|
|
],
|
|
include_directories : [
|
|
include_directories('../..'),
|
|
include_directories('../../src'),
|
|
include_directories('../../libfwupd'),
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
c_args : [
|
|
cargs,
|
|
],
|
|
link_with : [
|
|
libfwupdprivate,
|
|
],
|
|
dependencies : [
|
|
plugin_deps,
|
|
libmm_glib,
|
|
libqmi_glib,
|
|
],
|
|
)
|