The plain report format for the DTH-1152 is only 12 bytes in length, not 17.
Fixes: 7d79680f21 ("backport: add support for DTH-1152 on 2.6.30, 2.6.36, 2.6.38, and 3.7") Signed-off-by: Ping Cheng <ping.ch...@wacom.com> Signed-off-by: Jason Gerecke <jason.gere...@wacom.com> --- 2.6.30/wacom_wac.h | 2 +- 2.6.36/wacom_wac.h | 2 +- 2.6.38/wacom_wac.h | 2 +- 3.7/wacom_wac.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/2.6.30/wacom_wac.h b/2.6.30/wacom_wac.h index 2bfc2d7..ca0475d 100755 --- a/2.6.30/wacom_wac.h +++ b/2.6.30/wacom_wac.h @@ -36,7 +36,7 @@ #define WACOM_PKGLEN_MSPROT 50 #define WACOM_PKGLEN_INTUOSP2 64 #define WACOM_PKGLEN_INTUOSP2T 44 -#define WACOM_PKGLEN_DTH1152 16 +#define WACOM_PKGLEN_DTH1152 12 /* wacom data size per MT contact */ #define WACOM_BYTES_PER_MT_PACKET 11 diff --git a/2.6.36/wacom_wac.h b/2.6.36/wacom_wac.h index a079931..3ca3cc8 100644 --- a/2.6.36/wacom_wac.h +++ b/2.6.36/wacom_wac.h @@ -31,7 +31,7 @@ #define WACOM_PKGLEN_INTUOSP2 64 #define WACOM_PKGLEN_INTUOSP2T 44 #define WACOM_PKGLEN_27QHDT 64 -#define WACOM_PKGLEN_DTH1152 16 +#define WACOM_PKGLEN_DTH1152 12 /* device IDs */ #define STYLUS_DEVICE_ID 0x02 diff --git a/2.6.38/wacom_wac.h b/2.6.38/wacom_wac.h index e5697dc..fee61c3 100644 --- a/2.6.38/wacom_wac.h +++ b/2.6.38/wacom_wac.h @@ -39,7 +39,7 @@ #define WACOM_PKGLEN_MSPROT 50 #define WACOM_PKGLEN_INTUOSP2 64 #define WACOM_PKGLEN_INTUOSP2T 44 -#define WACOM_PKGLEN_DTH1152 16 +#define WACOM_PKGLEN_DTH1152 12 /* wacom data size per MT contact */ #define WACOM_BYTES_PER_MT_PACKET 11 diff --git a/3.7/wacom_wac.h b/3.7/wacom_wac.h index e0b8f03..e05ffaf 100644 --- a/3.7/wacom_wac.h +++ b/3.7/wacom_wac.h @@ -39,7 +39,7 @@ #define WACOM_PKGLEN_MSPROT 50 #define WACOM_PKGLEN_INTUOSP2 64 #define WACOM_PKGLEN_INTUOSP2T 44 -#define WACOM_PKGLEN_DTH1152 16 +#define WACOM_PKGLEN_DTH1152 12 /* wacom data size per MT contact */ #define WACOM_BYTES_PER_MT_PACKET 11 -- 2.15.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel