Closed alanorth closed 6 years ago
Thanks for reporting. I will look at this, before submitting the patch.
hid_register_report() has an additional parameter, application. hid_magicmouse in mainline just sets it to 0 for reference.
from hid_magicmouse in mainline
if (id->product == USB_DEVICE_ID_APPLE_MAGICMOUSE) report = hid_register_report(hdev, HID_INPUT_REPORT, MOUSE_REPORT_ID, 0); else { / USB_DEVICE_ID_APPLE_MAGICTRACKPAD / report = hid_register_report(hdev, HID_INPUT_REPORT, TRACKPAD_REPORT_ID, 0);
https://github.com/robotrovsky/Linux-Magic-Trackpad-2-Driver/pull/15 here is a PR with the changes. @alanorth can you test?
Working for me in Linux 4.18-rc6 on Arch Linux. Thanks @rohitpid!
Driver works great on Linux 4.17 (thanks!), but there's a build error on Linux 4.18-rc4. How is the work to upstream the changes to this driver going?
Here is DKMS install:
And here is the error log: