fwupd/plugins/unifying
Richard Hughes 1c4e06925c trivial: Speed up daemon startup
Require a quirk match for Unifying hardware to avoid probing a lot of USB
devices at startup.
2018-12-03 15:23:27 +00:00
..
data Add support for Logitech Unifying devices 2016-12-12 15:36:53 +00:00
fu-plugin-unifying.c trivial: Speed up daemon startup 2018-12-03 15:23:27 +00:00
fu-unifying-bootloader-nordic.c unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-bootloader-nordic.h unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-bootloader-texas.c unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-bootloader-texas.h unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-bootloader.c unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-bootloader.h unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-common.c unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-common.h unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-hidpp-msg.c unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-hidpp-msg.h unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-hidpp.c trivial: Remove some pretty intense debugging that crept in 2018-10-12 09:36:12 +01:00
fu-unifying-hidpp.h unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-peripheral.c unifying: Don't be too verbose when a unifying peripheral is unreachable 2018-09-10 12:20:42 +01:00
fu-unifying-peripheral.h unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-runtime.c trivial: Reduce some debugging verbosity 2018-09-10 12:19:02 +01:00
fu-unifying-runtime.h unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
fu-unifying-self-test.c unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
meson.build unifying: Use the new daemon-provided functionality 2018-09-07 16:22:38 +01:00
README.md trivial: Document the expected plugin firmware formats 2018-12-03 08:48:13 -06:00
unifying.quirk trivial: Add InstallDuration values for Unifying devices 2018-11-15 15:43:43 +00:00

Unifying Support

Introduction

This plugin can flash the firmware on Logitech Unifying dongles, both the Nordic (U0007) device and the Texas Instruments (U0008) version.

This plugin will not work with the different "Nano" dongle (U0010) as it does not use the Unifying protocol.

Some bootloader protocol infomation was taken from the Mousejack[1] project, specifically logitech-usb-restore.py and unifying.py. Other documentation was supplied by Logitech.

Additional constants were taken from the Solaar[2] project.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmware blob in a vendor-specific format that appears to be a subset of the Intel HEX format.

GUID Generation

These devices use the standard USB DeviceInstanceId values when in DFU mode:

  • USB\VID_046D&PID_AAAA&REV_0001
  • USB\VID_046D&PID_AAAA
  • USB\VID_046D

When in runtime mode, the HID raw DeviceInstanceId values are used:

  • HIDRAW\VEN_046D&DEV_C52B
  • HIDRAW\VEN_046D

Design Notes

When a dongle is detected in bootloader mode we detach the hidraw driver from the kernel and use raw control transfers. This ensures that we don't accidentally corrupt the uploading firmware. For application firmware we use hidraw which means the hardware keeps working while probing, and also allows us to detect paired devices.

[1] https://www.mousejack.com/ [2] https://pwr.github.io/Solaar/