-
Notifications
You must be signed in to change notification settings - Fork 11
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
please get it merged into the Linux kernel #1
Comments
The driver itself comes from @robotrovsky - see tiziano88/magic-trackpad-2-linux#4 As you can read in the comment tiziano88/magic-trackpad-2-linux#4 (comment) the driver is currently working - but only for usb. A better way that also supports bluetooth would be to implement it in the other touchpad driver that exists already in the kernel. I just tried a few hours to package it into an ubuntu-compatible dkms package and don't know much about real kernel driver development, so I think that would be a better task for someone like @robotrovsky or other people who can hack on kernel drivers :) |
May I ask, just to make sure, if implemented in the other touchpad driver that already exists in the kernel, the driver would support both usb and bluetooth (not only bluetooth), right? I am asking because I'm interested in the usb mode of operation. |
Yes, in the Magic Mouse/Magic Trackpad Driver, both USB and Bluetooth should work. It shouldn't be that difficult to port it over. USB is working with the existing driver already. |
Any news about this?
|
During the summer i should find time, to rewrite the driver with Bluetooth support. Afterwards i will try to get it merged into the kernel. |
In the meantime, what can I do to get it to compile and install on Ubuntu 17.04? does it need to be ported to 4.10? |
Great work! I'm wondering, just like @ira-lb, if there's any way to get it working on Ubuntu 17.04. I'm getting this:
|
Thanks! Please look for the updated official patch i send to linux-input: I will post updates about the patch here: |
Hey guys! I made a driver (based in part on this and the old magicmouse driver) that uses the HID layer so it works with bluetooth. Theoretically it should work with USB as well, however, there are some issues with USB at the moment. I also reverse engineered the protocol to be able to use host-based clicks which means we can do force touch now and adjust click parameters (sensitivity, intensity). It's ALPHA quality at best and needs a lot of cleanup and polish before it's even remotely ready, but i thought it's best to share it early: https://github.com/ponyfleisch/hid-magictrackpad2 I did not yet include modifications to the hid modules (like this driver does), so you might have to manually run Let me know if this one works for you. It may or may not be a basis on which to build a proper driver. |
Yep, and it's the moment that everyone's been waiting for. Before your driver came along, the Apple Magic Trackpad2 (hereafter referred to as the amtp2) is only capable of cursor movement, left mouse button and basic drag-and-drop in Linux. So, with the additional bluetooth, two-finger scroll and two-finger right-click support, which your driver provides, I thought we finally have ourselves a usable amtp2 on Linux. To my surprise, the basic drag-and-drop doesn't work. Can you verify with me whether you have drag-and-drop on your system. Here is the output of
and here's the output of
Can anyone spot something wrong with the above settings? Any help will be greatly appreciated. So close, ever so close... @robbi5 sorry robbi5, I know my issue is not exactly about your dkms package, but we're all in this together, right? :-) |
@ponyfleisch |
@ponyfleisch @nsklaus I installed the dkms module, ran Did I miss a step, or did you have to do something extra to make the cursor work? I'm on Ubuntu 17.10 and kernel 4.13.0-25-generic. |
Ditto. Tried it on a Debian system with kernel 4.9.0-5-amd64, did the module dance & the cursor does not move. Clicks work fine though. |
i can't even connect mine through bluetooth settings (Debian 10, kernel 5.5)... :/ |
https://bugzilla.kernel.org/show_bug.cgi?id=112481 is a bug about this (which I wrote). I just today found your driver here.
The text was updated successfully, but these errors were encountered: