Closed timschroederme closed 6 years ago
That's weird, I didn't change anything related directly to event reports. Only initialisation. I added timestamp and hdev constants.
You may try to remove this line
input_event(td->input, EV_MSC, MSC_TIMESTAMP, td->timestamp + 1);
And change
hdev->quirks |= HID_QUIRK_NO_INPUT_SYNC;
to
hdev->quirks |= HID_QUIRK_NO_INIT_REPORTS;
As it was before the commit. If it helps, I'll make another commit.
I amended the latest commit. I hope it helps.
Thanks. I think this fixes it for me. Will monitor it for a longer time and re-open if I see it again.
The latest commit c386f92 fixed the suspend issue but broke the overall functionality of the module for me. The module is loaded but does not fix anymore the random jumps and random right-click events during two-finger scrolling. I am using kernel 4.15.6.