fwupd/plugins/wacom-usb
Richard Hughes a5a978b3f6 Rename some confusing API
More than one person has asked about 'why call fu_plugin_update() for a
reinstall or downgrade' and I didn't have a very good answer.

The plugin API is not officially stable, and we should fix things to be
less confusing. Use the same verbs as the FuDevice vfuncs instead.
2021-08-06 19:49:53 +01:00
..
data trivial: Add some debugging data to wacom-usb 2019-01-02 09:50:39 +00:00
fu-plugin-wacom-usb.c Rename some confusing API 2021-08-06 19:49:53 +01:00
fu-self-test.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-wac-android-device.c wacom-usb: Show the user how to switch out of Android-mode 2021-06-15 14:15:22 +01:00
fu-wac-android-device.h wacom-usb: Show the user how to switch out of Android-mode 2021-06-15 14:15:22 +01:00
fu-wac-common.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-wac-common.h trivial: Remove G_BEGIN_DECLS from all private headers 2019-10-09 20:02:16 +01:00
fu-wac-device.c wacom-usb: Retry the legacy bluetooth version read for up to 5s 2021-06-18 14:03:54 +01:00
fu-wac-device.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-wac-firmware.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-wac-firmware.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-wac-module-bluetooth.c Remove FuFirmwareImage and just use FuFirmware instead 2021-03-09 21:14:12 +00:00
fu-wac-module-bluetooth.h trivial: Remove G_BEGIN_DECLS from all private headers 2019-10-09 20:02:16 +01:00
fu-wac-module-touch.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-wac-module-touch.h trivial: Remove G_BEGIN_DECLS from all private headers 2019-10-09 20:02:16 +01:00
fu-wac-module.c wacom_usb: Firmware versions are packed BCD, not "decimal" 2021-04-30 20:42:28 +01:00
fu-wac-module.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
meson.build wacom-usb: Show the user how to switch out of Android-mode 2021-06-15 14:15:22 +01:00
README.md trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00
wacom-usb.quirk wacom-usb: Add "no serial" flag to other CTL-X100 products 2021-06-18 16:55:33 +01:00

Wacom USB

Introduction

Wacom provides interactive pen displays, pen tablets, and styluses to equip and inspire everyone make the world a more creative place.

From 2016 Wacom has been using a HID-based proprietary flashing algorithm which has been documented by support team at Wacom and provided under NDA under the understanding it would be used to build a plugin under a LGPLv2+ license.

Wacom devices are actually composite devices, with the main ARM CPU being programmed using a more complicated erase, write, verify algorithm based on a historical update protocol. The "sub-module" devices use a newer protocol, again based on HID, but are handled differently depending on their type.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmware blob in the following formats:

  • Touch module: Intel HEX file format
  • Bluetooth module: Unknown airoflash file format
  • EMR module: Plain SREC file format
  • Main module: SREC file format, with a custom WACOM vendor header

This plugin supports the following protocol ID:

  • com.wacom.usb

GUID Generation

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

  • USB\VID_056A&PID_0378&REV_0001
  • USB\VID_056A&PID_0378
  • USB\VID_056A

Update Behavior

The firmware is deployed when the device is in normal runtime mode, and the device will reset when the new firmware has been written.

Vendor ID Security

The vendor ID is set from the USB vendor, for example set to USB:0x056A

External Interface Access

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