Re: [PATCH v2] input: bcm5974 - Add driver for Apple Magic Trackpad 2

From
Stephan Mueller <hidden>
Date
2017-11-01 11:30:33
Reply to
Stephan Müller, 2017-10-17
Am Dienstag, 17. Oktober 2017, 05:05:13 CET schrieb Stephan Müller:

Hi Dimitry, Henrik, Jiri,
Hi,

Changes v2:
* port to 4.14-rc5
* test hardware with 4.14-rc5

This patch was originally posted by Marek Wyborski. The patch has been
tested by several people with a dkms:
https://github.com/robbi5/magictrackpad2-dkms
https://github.com/torvalds/linux/pull/332

The driver currently only supports USB. One option would be to integrate
bluetooth support into the bcm driver or to move the driver to the
hid-magicmouse which supports bluetooth. I integrated the driver into the
bcm and not the magicmouse driver, because this way i was able to compare
the outcome with the macbook touchpad as i dont own a magicmouse or a
magictrackpad.

---8<---

Add support for Apple Magic Trackpad 2 in bcm5974 (MacBook Tochpad) driver.
The Magic Trackpad 2 needs to be switched into the finger-reporting-mode,
just like the other macbook touchpads as well. But the format is different
to the ones before. The Header is 12 Bytes long and each reported finger is
additional 9 Bytes. The data order reported by the hardware is different as
well.
May I inquire about this patch? Is there inappropriate code in the patch that 
needs cleanup before it can be merged?

Thanks a lot.

Ciao
Stephan
Thread (7 messages) 7 messages, 3 authors, last reply 2018-06-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help