Hey!
I'm working on a firmware upgrade setup for PCI based WWAN modules, and I'm trying to understand what kind of IDs to expose both in MM and as GUIDs for fwupd.
The
PCI configuration space defines the "vendor and device IDs" associated to the chip manufacturer, and the "subsystem vendor and device IDs" associated to the card manufacturer.
For ModemManager's purposes I think we would prefer the subsystem ones, as that should give us a matching on the module manufacturer, but now I'm a bit confused. The only module I have for testing has the same ID (0x1eac, Quectel PCI id) for both the "vendor ID" and the "subsystem vendor ID" fields (even if the chip is Qualcomm), and so I don't know whether using the subsystem ones in general is preferred or not.
And for fwupd integration, I'm not sure if the GUIDs should be built with the normal vendor ID and product IDs instead of the subsystem ones.
You all have more experience with PCI than I do, so I'd gladly accept hints and comments :)