Skip to content

Commit

Permalink
HACK: Disable pen serial enforcement
Browse files Browse the repository at this point in the history
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...
  • Loading branch information
jigpu committed Nov 9, 2023
1 parent d212d14 commit 3c3f653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 4.5/wacom_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3c3f653

Please sign in to comment.