[Bug 1903081] [NEW] Unable to update colorhug firmware

Jerry Quinn 1903081 at bugs.launchpad.net
Thu Nov 5 16:44:00 UTC 2020


Public bug reported:

I have a colorhug version 1 device with firmware 1.2.1.  From reading,
it appears that fwupd supports the colorhug firmware:

jlquinn at cerberus:~$ fwupdmgr get-devices
X10DAi
│
├─ColorHug:
│     Device ID:           9bacaf023cb4913d27ee9dea10752fde615b2f1f
│     Summary:             An open source display colorimeter
│     Current version:     0.2
│     Vendor:              Hughski Ltd. (USB:0x273F)
│     Install Duration:    8 seconds
│     GUIDs:               40338ceb-b966-4eae-adae-9c32edfcc484
│                          afdcc391-6c33-5914-b4d2-b4dd71fe9c5a
│                          4841a9e4-e5c8-5107-a83e-d6c6d9c21248
│                          6bc5ff27-d631-5660-9991-6d24954c6f90
│     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>com.hughski.ColorHug.firmware</id>
    <name>ColorHug Device Update</name>
    <summary>Firmware for the Hughski ColorHug Colorimeter</summary>
    <description>
      <p>Updating the firmware on your ColorHug device improves performance and adds new features.</p>
    </description>
    <provides>
      <firmware type="flashed">40338ceb-b966-4eae-adae-9c32edfcc484</firmware>
    </provides>
    <url type="homepage">http://www.hughski.com/</url>
    <metadata_license>CC0-1.0</metadata_license>
    <project_license>GPL-2.0+</project_license>
    <developer_name>Hughski Limited</developer_name>
    <X-categories>
      <category>X-Device</category>
    </X-categories>
    <custom>
      <value key="LVFS::VersionFormat">triplet</value>
      <value key="LVFS::UpdateProtocol">com.hughski.colorhug</value>
    </custom>
    <releases>
      <release version="1.2.6" timestamp="1480683870" urgency="low">
        <location>https://fwupd.org/downloads/aa1b94b36c91929fbf75551b8a376d7292f8c51c-hughski-colorhug-1.2.6.cab</location>
        <checksum type="sha1" filename="aa1b94b36c91929fbf75551b8a376d7292f8c51c-hughski-colorhug-1.2.6.cab" target="container">570a4259af0c7670f3883e84d2f4e6ff7de572c2</checksum>
        <checksum type="sha256" filename="aa1b94b36c91929fbf75551b8a376d7292f8c51c-hughski-colorhug-1.2.6.cab" target="container">257aadbaa3a7af6ae62607b8709626487118a7ca5f5a1f535a0dea78e166a7d8</checksum>
        <checksum type="sha1" filename="firmware.bin" target="content">111784ffadfd5dd43f05655b266b5142230195b6</checksum>
        <checksum type="sha256" filename="firmware.bin" target="content">fce1847b0599bb19cd913d02268f15107691a79221ce16822b4c931cd1bda2c5</checksum>
        <description>
          <p>This release fixes prevents the firmware returning an error when the remote SHA1 hash was never sent.</p>
        </description>
        <url type="source">https://github.com/hughski/colorhug1-firmware/releases/tag/1.2.6</url>
        <size type="installed">16384</size>
        <size type="download">10687</size>
      </release>


However, when I try to update, I get the following:

root at 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
ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
Uname: Linux 5.4.0-52-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.10
Architecture: amd64
CasperMD5CheckResult: skip
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-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: fwupd
UpgradeStatus: Upgraded to focal on 2020-11-04 (1 days ago)

** Affects: fwupd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fwupd in Ubuntu.
https://bugs.launchpad.net/bugs/1903081

Title:
  Unable to update colorhug firmware

Status in fwupd package in Ubuntu:
  New

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 at cerberus:~$ fwupdmgr get-devices
  X10DAi
  │
  ├─ColorHug:
  │     Device ID:           9bacaf023cb4913d27ee9dea10752fde615b2f1f
  │     Summary:             An open source display colorimeter
  │     Current version:     0.2
  │     Vendor:              Hughski Ltd. (USB:0x273F)
  │     Install Duration:    8 seconds
  │     GUIDs:               40338ceb-b966-4eae-adae-9c32edfcc484
  │                          afdcc391-6c33-5914-b4d2-b4dd71fe9c5a
  │                          4841a9e4-e5c8-5107-a83e-d6c6d9c21248
  │                          6bc5ff27-d631-5660-9991-6d24954c6f90
  │     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>com.hughski.ColorHug.firmware</id>
      <name>ColorHug Device Update</name>
      <summary>Firmware for the Hughski ColorHug Colorimeter</summary>
      <description>
        <p>Updating the firmware on your ColorHug device improves performance and adds new features.</p>
      </description>
      <provides>
        <firmware type="flashed">40338ceb-b966-4eae-adae-9c32edfcc484</firmware>
      </provides>
      <url type="homepage">http://www.hughski.com/</url>
      <metadata_license>CC0-1.0</metadata_license>
      <project_license>GPL-2.0+</project_license>
      <developer_name>Hughski Limited</developer_name>
      <X-categories>
        <category>X-Device</category>
      </X-categories>
      <custom>
        <value key="LVFS::VersionFormat">triplet</value>
        <value key="LVFS::UpdateProtocol">com.hughski.colorhug</value>
      </custom>
      <releases>
        <release version="1.2.6" timestamp="1480683870" urgency="low">
          <location>https://fwupd.org/downloads/aa1b94b36c91929fbf75551b8a376d7292f8c51c-hughski-colorhug-1.2.6.cab</location>
          <checksum type="sha1" filename="aa1b94b36c91929fbf75551b8a376d7292f8c51c-hughski-colorhug-1.2.6.cab" target="container">570a4259af0c7670f3883e84d2f4e6ff7de572c2</checksum>
          <checksum type="sha256" filename="aa1b94b36c91929fbf75551b8a376d7292f8c51c-hughski-colorhug-1.2.6.cab" target="container">257aadbaa3a7af6ae62607b8709626487118a7ca5f5a1f535a0dea78e166a7d8</checksum>
          <checksum type="sha1" filename="firmware.bin" target="content">111784ffadfd5dd43f05655b266b5142230195b6</checksum>
          <checksum type="sha256" filename="firmware.bin" target="content">fce1847b0599bb19cd913d02268f15107691a79221ce16822b4c931cd1bda2c5</checksum>
          <description>
            <p>This release fixes prevents the firmware returning an error when the remote SHA1 hash was never sent.</p>
          </description>
          <url type="source">https://github.com/hughski/colorhug1-firmware/releases/tag/1.2.6</url>
          <size type="installed">16384</size>
          <size type="download">10687</size>
        </release>

  
  However, when I try to update, I get the following:

  root at 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
  ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
  Uname: Linux 5.4.0-52-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.10
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: fwupd
  UpgradeStatus: Upgraded to focal on 2020-11-04 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1903081/+subscriptions



More information about the foundations-bugs mailing list