36a5de4d65
- Add device IDs for the following tablets: Intuos Draw small Intuos Art/Photo/Comic small Intuos Draw medium Intuos Art medium - Add and enable devd(8) hotplug support - Work around devd failing to remove stale device files opened by Xserver - Drop Xserver 1.7 tip from pkg-message after r374982 PR: 206086 Submitted by: rozhuk.im@gmail.com
32 lines
1.1 KiB
C
32 lines
1.1 KiB
C
--- src/wcmUSB.c~
|
|
+++ src/wcmUSB.c
|
|
@@ -23,10 +23,17 @@
|
|
|
|
#include "xf86Wacom.h"
|
|
|
|
+#ifdef __linux__
|
|
#include <asm/types.h>
|
|
+#endif
|
|
#include <linux/input.h>
|
|
#include <sys/utsname.h>
|
|
+#ifdef __linux__
|
|
#include <linux/version.h>
|
|
+#else
|
|
+#define LINUX_VERSION_CODE 1
|
|
+#define KERNEL_VERSION(a,b,c) 0
|
|
+#endif
|
|
|
|
#define MAX_USB_EVENTS 32
|
|
|
|
@@ -276,6 +283,11 @@ static struct WacomModelDesc
|
|
{ WACOM_VENDOR_ID, 0x315,200000, 200000, &usbIntuosPro, "Intuos Pro M" },
|
|
{ WACOM_VENDOR_ID, 0x317,200000, 200000, &usbIntuosPro, "Intuos Pro L" },
|
|
|
|
+ { WACOM_VENDOR_ID, 0x33B,200000, 200000, &usbIntuos5, "Intuos Draw small" },
|
|
+ { WACOM_VENDOR_ID, 0x33C,200000, 200000, &usbIntuos5, "Intuos Art/Photo/Comic small"},
|
|
+ { WACOM_VENDOR_ID, 0x33D,200000, 200000, &usbIntuos5, "Intuos Draw medium" },
|
|
+ { WACOM_VENDOR_ID, 0x33E,200000, 200000, &usbIntuos5, "Intuos Art medium" },
|
|
+
|
|
{ WACOM_VENDOR_ID, 0x3F, 200000, 200000, &usbCintiqV5, "Cintiq 21UX" },
|
|
{ WACOM_VENDOR_ID, 0xC5, 200000, 200000, &usbCintiqV5, "Cintiq 20WSX" },
|
|
{ WACOM_VENDOR_ID, 0xC6, 200000, 200000, &usbCintiqV5, "Cintiq 12WX" },
|