-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working driver #4
Comments
hi @robotrovsky, do you have any instructions to install the driver? Thanks! |
You have to compile the kernel modules. Right now the driver only works over USB. On Arch Linux:
Edit
and look for the pkgbase parameter. Change this to your custom package name, e.g.:
Then:
When the makepkg has downloaded the kernel applied the patches and begins to compile just hit "Ctrl C" to stop the creation of the package and the compilation. Now apply the changes to your source:
Insert the hid-id in
Replace the bcm5974-driver source with the modified one Then:
Now you have recompiled all kernel modules and installed them to Just copy the folder After a reboot your Magic Trackpad 2 should work. You can check, that it now uses the bcm5974 driver with I hope this helps. |
@robotrovsky would you be able to make that patch file? |
are you planning to upstream your work to mainline kernel? |
@robotrovsky What's the blocker for activating the driver for a bluetooth HID? |
Sorry. I haven't had time to work on this. There are two drivers in the kernel. One for the Touchpad of the MacBook Pro and another one for MagicMouse and MagicTrackpad I. The latter i didn't saw when starting on the driver. It has Bluetooth and is more simple in its structure. The "secret" lies in the mode switch, to switch to finger reporting and the structure of the finger reports (9 Byte). So maybe the best would be to dump the current driver and implement it alongside to the MagicTrackpad I. But as i have a MacBook with Touchpad it was easier for me to compare the outcome of the driver. Another reason to go for the MacBook Tochpad driver would have been, that both MacBook Touchpad and the Tackpad 2 support ForceTouch. So implementing the two devices in different drivers, would make it necessary to implement ForceTouch as well in two drivers, but then again it doesn't have Bluetooth. All in all, it should not be too difficult. But i don't know when i will find the time for this. If someone wants to give it a shot, i would be glad to help. |
@robotrovsky: thank you very much for your kernel patches. 👍 |
@robbi5 That are awesome news!! Thank you for taking this a step further. |
@robbi5 Time for something in the AUR now eh? ;) |
@coxley Yep, but I have not used Arch Linux yet ;) |
Hi all. If anyone wants to give my bluetooth enabled driver a try, find details here: robbi5/magictrackpad2-dkms#1 (comment) |
In case anyone else runs into this, two finger scrolling on trackpad 2 worked with bluetooth as of kernel 4.13. Starting with kernel 4.14 it stopped working. The kernels were the versions used on Manjaro, Fedora, and I think Ubuntu. |
I incorporated the Magic Trackpad into the bcm5974 (MacBook Tochpad) driver:
https://github.com/robotrovsky/Linux-Magic-Trackpad-2-Driver
It makes the switch to activate the multitouch fingers but is still not stable.
The text was updated successfully, but these errors were encountered: