fwupd/plugins/jabra
Richard Hughes b333e0045c Split out a shared system context
There is a lot of code in fwupd that just assigns a shared object type to
a FuPlugin, and then for each device on that plugin assigns that same shared
object to each FuDevice.

Rather than proxy several kinds of information stores over two different levels
of abstraction create a 'context' which contains the shared *system* state
between the daemon, the plugins and the daemon.

This will allow us to hold other per-machine state in the future, for instance
the system battery level or AC state.
2021-04-01 21:11:29 +01:00
..
fu-jabra-device.c Support more than one protocol for a given device 2021-03-01 16:14:36 +00:00
fu-jabra-device.h jabra: Move the Jabra-specific detach out into its own plugin 2019-10-30 15:09:49 +00:00
fu-plugin-jabra.c Split out a shared system context 2021-04-01 21:11:29 +01:00
jabra.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00
meson.build Move the plugin build logic to the plugins themselves 2021-02-18 14:46:20 +00:00
README.md Add a new internal flag to opt-in to GUID matching 2021-02-25 15:47:25 +00:00

Jabra Support

Introduction

This plugin is used to detach the Jabra device to DFU mode.

GUID Generation

These devices use the standard USB DeviceInstanceId values, e.g.

  • USB\VID_0B0E&PID_0412

Quirk use

This plugin uses the following plugin-specific quirks:

Quirk Description fwupd version
JabraMagic Two magic bytes sent to detach into DFU mode. 1.3.3

Update Behavior

The device usually presents in runtime mode, but on detach re-enumerates with a different USB VID and PID in DFU APP mode. The device is then further detached by the dfu plugin.

On DFU attach the device again re-enumerates back to the Jabra runtime mode.

For this reason the REPLUG_MATCH_GUID internal device flag is used so that the bootloader and runtime modes are treated as the same device.

Vendor ID Security

The vendor ID is set from the USB vendor, in this instance set to USB:0x0A12

External interface access

This plugin requires read/write access to /dev/bus/usb.