mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 15:17:01 +00:00
trivial: wacom: Add support for second vendor ID
Wacom indicates that some systems will use this alternative VID.
This commit is contained in:
parent
01a7958cd1
commit
f32c3fdbc0
@ -47,10 +47,6 @@ fu_plugin_udev_device_added (FuPlugin *plugin, FuUdevDevice *device, GError **er
|
||||
if (g_strcmp0 (fu_udev_device_get_subsystem (device), "hidraw") != 0)
|
||||
return TRUE;
|
||||
|
||||
/* wacom */
|
||||
if (fu_udev_device_get_vendor (device) != FU_WACOM_DEVICE_VID)
|
||||
return TRUE;
|
||||
|
||||
/* no actual device to open */
|
||||
if (g_udev_device_get_device_file (fu_udev_device_get_dev (device)) == NULL)
|
||||
return TRUE;
|
||||
@ -73,12 +69,7 @@ fu_plugin_udev_device_added (FuPlugin *plugin, FuUdevDevice *device, GError **er
|
||||
fu_plugin_device_add (plugin, FU_DEVICE (dev));
|
||||
}
|
||||
|
||||
/* not supported */
|
||||
g_set_error_literal (error,
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_NOT_SUPPORTED,
|
||||
"Only EMR or AES devices are supported");
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define FU_WACOM_DEVICE_VID 0x056A
|
||||
#define FU_WACOM_RAW_CMD_RETRIES 1000
|
||||
|
||||
#define FU_WACOM_RAW_STATUS_REPORT_ID 0x04
|
||||
|
@ -13,6 +13,12 @@ Plugin = wacom_raw
|
||||
Guid = WacomAES
|
||||
Flags = is-bootloader
|
||||
|
||||
# AES bootloader mode
|
||||
[DeviceInstanceId=HIDRAW\VEN_2D1F&DEV_0094]
|
||||
Plugin = wacom_raw
|
||||
Guid = WacomAES
|
||||
Flags = is-bootloader
|
||||
|
||||
# EMR bootloader mode
|
||||
[DeviceInstanceId=HIDRAW\VEN_056A&DEV_012B]
|
||||
Plugin = wacom_raw
|
||||
|
Loading…
Reference in New Issue
Block a user