Unable to update colorhug firmware
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| fwupd (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
I have a colorhug version 1 device with firmware 1.2.1. From reading, it appears that fwupd supports the colorhug firmware:
jlquinn@cerberus:~$ fwupdmgr get-devices
X10DAi
│
├─ColorHug:
│ Device ID: 9bacaf023cb4913
│ Summary: An open source display colorimeter
│ Current version: 0.2
│ Vendor: Hughski Ltd. (USB:0x273F)
│ Install Duration: 8 seconds
│ GUIDs: 40338ceb-
│ afdcc391-
│ 4841a9e4-
│ 6bc5ff27-
│ Device Flags: • Updatable
│ • Supported on remote server
│ • Device can recover flash failures
I've read that there is a firmware 1.2.6 that I need for this device. I ran fwupdmgr refresh, then downloaded and examined the xml file by hand. There appears to be an entry for 1.2.6 (and versions back to 1.2.2):
<component type="firmware">
<id>
<name>ColorHug Device Update</name>
<summary>
<description>
<p>Updating the firmware on your ColorHug device improves performance and adds new features.</p>
</description>
<provides>
<firmware type="flashed"
</provides>
<url type="homepage">http://
<metadata_
<project_
<developer_
<X-categories>
<
</X-categories>
<custom>
<value key="LVFS:
<value key="LVFS:
</custom>
<releases>
<release version="1.2.6" timestamp=
<location>https:/
<checksum type="sha1" filename=
<checksum type="sha256" filename=
<checksum type="sha1" filename=
<checksum type="sha256" filename=
<p>This release fixes prevents the firmware returning an error when the remote SHA1 hash was never sent.</p>
<url type="source">https:/
<size type="installed
<size type="download"
</release>
However, when I try to update, I get the following:
root@cerberus:~# fwupdmgr update
• ColorHug has the latest available firmware version
so for some reason, fwupdmgr believes that this firmware doesn't apply.
On the surface this seems like a bug, based on other things I've read around the net.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: fwupd 1.3.11-1~focal1
ProcVersionSign
Uname: Linux 5.4.0-52-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 5 11:23:01 2020
InstallationDate: Installed on 2020-05-29 (159 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: fwupd
UpgradeStatus: Upgraded to focal on 2020-11-04 (1 days ago)

It seems the GUIDs do match. This seems like a peculiar bug, maybe around some other requirements that are set.
Would you mind trying to install the CAB like this:
# fwupdmgr install foo.cab
And see what the message tells you?