mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 05:57:41 +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)
|
if (g_strcmp0 (fu_udev_device_get_subsystem (device), "hidraw") != 0)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
/* wacom */
|
|
||||||
if (fu_udev_device_get_vendor (device) != FU_WACOM_DEVICE_VID)
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
/* no actual device to open */
|
/* no actual device to open */
|
||||||
if (g_udev_device_get_device_file (fu_udev_device_get_dev (device)) == NULL)
|
if (g_udev_device_get_device_file (fu_udev_device_get_dev (device)) == NULL)
|
||||||
return TRUE;
|
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));
|
fu_plugin_device_add (plugin, FU_DEVICE (dev));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* not supported */
|
return TRUE;
|
||||||
g_set_error_literal (error,
|
|
||||||
FWUPD_ERROR,
|
|
||||||
FWUPD_ERROR_NOT_SUPPORTED,
|
|
||||||
"Only EMR or AES devices are supported");
|
|
||||||
return FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define FU_WACOM_DEVICE_VID 0x056A
|
|
||||||
#define FU_WACOM_RAW_CMD_RETRIES 1000
|
#define FU_WACOM_RAW_CMD_RETRIES 1000
|
||||||
|
|
||||||
#define FU_WACOM_RAW_STATUS_REPORT_ID 0x04
|
#define FU_WACOM_RAW_STATUS_REPORT_ID 0x04
|
||||||
|
@ -13,6 +13,12 @@ Plugin = wacom_raw
|
|||||||
Guid = WacomAES
|
Guid = WacomAES
|
||||||
Flags = is-bootloader
|
Flags = is-bootloader
|
||||||
|
|
||||||
|
# AES bootloader mode
|
||||||
|
[DeviceInstanceId=HIDRAW\VEN_2D1F&DEV_0094]
|
||||||
|
Plugin = wacom_raw
|
||||||
|
Guid = WacomAES
|
||||||
|
Flags = is-bootloader
|
||||||
|
|
||||||
# EMR bootloader mode
|
# EMR bootloader mode
|
||||||
[DeviceInstanceId=HIDRAW\VEN_056A&DEV_012B]
|
[DeviceInstanceId=HIDRAW\VEN_056A&DEV_012B]
|
||||||
Plugin = wacom_raw
|
Plugin = wacom_raw
|
||||||
|
Loading…
Reference in New Issue
Block a user