无法使用 fwupd 升级 Logitech 统一固件

Dan*_*ger 13 logitech-unifying fwupd

当我运行命令更新固件时,它声明手动进入更新模式。我已经搜索了一个解释,但找不到任何有帮助的东西。

# fwupdmgr -v update
Downloading RQR12.07_B0029 for Unifying [runtime]...
Updating RQR12.07_B0029 on Unifying [runtime]...
Decompressing…         
Device Unifying [runtime] needs to manually be put in update mode
Run Code Online (Sandbox Code Playgroud)

fwupdmgr get-devices 的输出:

Unifying [runtime]
  Guid:                 9d131a0c-a606-580f-8eda-80587250b8d6
  UniqueID:             com.logitech.Unifying.RQR12.firmware
  DeviceID:             usb:00:01
  Description:          <p>A Unifying receiver allows you to connect multiple compatible keyboards and mice to a laptop or desktop computer with a single USB receiver. Updating the firmware on your Unifying receiver improves performance, adds new features and fixes security issues.</p>
  Plugin:               unifying
  Flags:                allow-online|supported|needs-bootloader
  DeviceVendor:         Logitech
  Version:              003.000.12003
  VersionBootloader:    BL.0aa.0aa
  Created:              2018-05-04
  AppstreamId:          com.logitech.Unifying.RQR12.firmware
  Summary:              Firmware for the Logitech Unifying receiver
  UpdateDescription:    <p>This release addresses an unencrypted keystroke injection issue known as Bastille security issue #11. The vulnerability is complex to replicate and would require a hacker to be physically close to a target.</p>
  UpdateVersion:        RQR12.07_B0029
  UpdateHash:           d0d33e760ab6eeed6f11b9f9bd7e83820b29e970
  UpdateChecksumKind:   sha1
  License:              Proprietary
  UpdateUri:            https://fwupd.org/downloads/938fec082652c603a1cdafde7cd25d76baadc70d-Logitech-Unifying-RQR12.07_B0029.cab
  UrlHomepage:          http://support.logitech.com/en-us/software/unifying
  Vendor:               Logitech
  Trusted:              none
Run Code Online (Sandbox Code Playgroud)

zx4*_*485 16

我测试了所有(可能是大多数)在线解决方案。有效的解决方案(我使用的是 Ubuntu 18.04 Live)如下:

  1. 删除with的apt版本fwupd

     sudo apt remove fwupd
    
    Run Code Online (Sandbox Code Playgroud)

    因为 Ubuntu 18.04 的当前存储库版本似乎是

    客户端版本:1.0.9
    结帐信息:1.0.9

    这是一个问题,因为这个版本会产生以下错误:

    无法处理非子固件要求

  2. 将其替换snapfwupd也(可能)安装的版本snap

     sudo snap install fwupd --classic
    
    Run Code Online (Sandbox Code Playgroud)

    snap另一方面,当前版本提供了一个较新的版本,它可以在没有这种复杂性的情况下工作。其版本为(截至 2019 年 7 月)

    客户端版本:1.2.10
    结帐信息:1.2.10

    截至 2020 年 6 月,以下内容有效

    客户端版本:1.4.3
    守护程序版本:1.4.3

  3. 使用当前版本,执行

     fwupdmgr refresh
    
    Run Code Online (Sandbox Code Playgroud)
  4. 最后,执行更新

     fwupdmgr update
    
    Run Code Online (Sandbox Code Playgroud)
  5. 现在测试版本

     fwupdmgr get-devices | grep -A30 "Unifying Receiver" | grep -i "version:"
    
    Run Code Online (Sandbox Code Playgroud)

    其输出应为(截至 2021 年 5 月 15 日):

    当前版本:RQR12.10_B0032