From 3c3f65358b9ac0294d2bd331f3a6549cb13e68c2 Mon Sep 17 00:00:00 2001 From: Jason Gerecke Date: Thu, 9 Nov 2023 11:18:53 -0800 Subject: [PATCH] HACK: Disable pen serial enforcement Perhaps the jumps are being caused by the FIFO queuing up events, leading to the rest of the driver not seeing them in an unexpectedly-long period of time? This should only happen if the pen stops reporting a serial number in the middle of an event stream though, and that does not match up with what I see in logs... --- 4.5/wacom_sys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/4.5/wacom_sys.c b/4.5/wacom_sys.c index d98375c3..cb865d83 100644 --- a/4.5/wacom_sys.c +++ b/4.5/wacom_sys.c @@ -201,8 +201,8 @@ static int wacom_raw_event(struct hid_device *hdev, struct hid_report *report, if (size > WACOM_PKGLEN_MAX) return 1; - if (wacom_wac_pen_serial_enforce(hdev, report, raw_data, size)) - return -1; + //if (wacom_wac_pen_serial_enforce(hdev, report, raw_data, size)) + // return -1; memcpy(wacom->wacom_wac.data, raw_data, size);