Comment 6 for bug 1980334

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

Per test from another gentleman, also need to upgrade libxmlb in focal to version >= 0.2.2

focal: libxmlb1 0.1.15-2
jammy: libxmlb2 0.3.6-2build1
kinetic: libxmlb2 0.3.8-1

Ref: https://github.com/fwupd/fwupd/blob/1.7.5/plugins/modem-manager/fu-firehose-updater.c#L723

Logs:

In this case, l.0.1.15 generates:

  Jul 20 14:00:57 ubuntu fwupd[2207]: 06:00:57:0982 FuPluginMm running command 'erase'...

  Jul 20 14:00:57 ubuntu fwupd[2207]: 06:00:57:0982 FuPluginMm writing: <?xml version="1.0" encoding="UTF-8" ?>.<data>.<erase a_rawdata_start_sector="6528" b_rawdata_num_sector="640" c_project_name="EM160RGL" d_project_type="STD" vendor="quectel"></erase></data>

  Jul 20 14:00:57 ubuntu fwupd[2207]: 06:00:57:0989 FuPluginMm reading: <?xml version="1.0" encoding="UTF-8" ?>.<data>.<log value="ERROR: Failed to parse xml, error at offset 190, 190" /></data>

But 0.2.2 generates different and correct:

  <erase a_rawdata_start_sector="6528" b_rawdata_num_sector="640" c_project_name="EM160RGL" d_project_type="STD" vendor="quectel" />