Bug 112481
Summary: | Apple Magic Trackpad 2 is not fully functional | ||
---|---|---|---|
Product: | Drivers | Reporter: | ecloud (s) |
Component: | Input Devices | Assignee: | drivers_input-devices |
Status: | NEW --- | ||
Severity: | normal | CC: | asaxena.ashutosh, auxsvr, cheukfungplus, compnerd, contact, dmitry.torokhov, elatllat, felixhaedicke, kernel, lucian303, mabo, peteryuchuang, szg00000 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.4.1 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
ecloud
2016-02-15 12:12:28 UTC
Hmm, the kernel believes that Magic Trackpad has different PID: #define USB_DEVICE_ID_APPLE_MAGICTRACKPAD 0x030e Can you try changing this define in ./drivers/hid/hid-ids.h to 0x0265 and see if that makes difference? (In reply to Dmitry Torokhov from comment #1) > Hmm, the kernel believes that Magic Trackpad has different PID: > > #define USB_DEVICE_ID_APPLE_MAGICTRACKPAD 0x030e > > Can you try changing this define in ./drivers/hid/hid-ids.h to 0x0265 and > see if that makes difference? I tried but it did not work. The output of `journalctl -f` before and after the change were the same as follows: Aug 06 16:56:49 ArchLinux kernel: usb 1-5: new full-speed USB device number 16 using xhci_hcd Aug 06 16:56:49 ArchLinux kernel: hid-generic 0003:05AC:0265.0011: hiddev0,hidraw0: USB HID v1.10 Device [Apple Inc. Magic Trackpad 2] on usb-0000:00:14.0-5/input0 Aug 06 16:56:49 ArchLinux kernel: input: Apple Inc. Magic Trackpad 2 as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:05AC:0265.0012/input/input22 Aug 06 16:56:49 ArchLinux kernel: hid-generic 0003:05AC:0265.0012: input,hiddev0,hidraw1: USB HID v1.10 Mouse [Apple Inc. Magic Trackpad 2] on usb-0000:00:14.0-5/input1 Aug 06 16:56:49 ArchLinux mtp-probe[2306]: checking bus 1, device 16: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5" Aug 06 16:56:49 ArchLinux mtp-probe[2306]: bus: 1, device: 16 was not an MTP device Aug 06 16:56:49 ArchLinux kernel: hid-generic 0003:05AC:0265.0013: hiddev0,hidraw2: USB HID v1.10 Device [Apple Inc. Magic Trackpad 2] on usb-0000:00:14.0-5/input2 Aug 06 16:56:49 ArchLinux kernel: hid-generic 0003:05AC:0265.0014: hiddev0,hidraw3: USB HID v1.10 Device [Apple Inc. Magic Trackpad 2] on usb-0000:00:14.0-5/input3 Aug 06 16:56:50 ArchLinux colord[491]: /usr/lib/colord/colord-sane: error while loading shared libraries: libsane.so.1: cannot open shared object file: No such file or directory Aug 06 16:56:50 ArchLinux colord[491]: /usr/lib/colord/colord-sane: error while loading shared libraries: libsane.so.1: cannot open shared object file: No such file or directory Aug 06 16:56:50 ArchLinux colord[491]: /usr/lib/colord/colord-sane: error while loading shared libraries: libsane.so.1: cannot open shared object file: No such file or directory Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) config/udev: Adding input device Apple Inc. Magic Trackpad 2 (/dev/input/mouse0) Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) No input driver specified, ignoring this device. Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) This device may have been added with another device file. Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) config/udev: Adding input device Apple Inc. Magic Trackpad 2 (/dev/input/event0) Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (**) Apple Inc. Magic Trackpad 2: Applying InputClass "libinput pointer catchall" Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 31 paused 0 Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) Using input driver 'libinput' for 'Apple Inc. Magic Trackpad 2' Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (**) Apple Inc. Magic Trackpad 2: always reports core events Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (**) Option "Device" "/dev/input/event0" Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (**) Option "_source" "server/udev" Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) input device 'Apple Inc. Magic Trackpad 2', /dev/input/event0 is tagged by udev as: Mouse Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) input device 'Apple Inc. Magic Trackpad 2', /dev/input/event0 is a pointer caps Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:05AC:0265.0012/input/input22/event0" Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) XINPUT: Adding extended input device "Apple Inc. Magic Trackpad 2" (type: MOUSE, id 16) Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (**) Option "AccelerationScheme" "none" Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (**) Apple Inc. Magic Trackpad 2: (accel) selected scheme none/0 Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (**) Apple Inc. Magic Trackpad 2: (accel) acceleration factor: 2.000 Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (**) Apple Inc. Magic Trackpad 2: (accel) acceleration threshold: 4 Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) input device 'Apple Inc. Magic Trackpad 2', /dev/input/event0 is tagged by udev as: Mouse Aug 06 16:56:50 ArchLinux /usr/lib/gdm/gdm-x-session[1051]: (II) input device 'Apple Inc. Magic Trackpad 2', /dev/input/event0 is a pointer caps I can confirm that the new USB ID for 'Apple Inc. Magic Trackpad 2' is `05ac:0265`. On plugging in the device, only hard-press and cursor movement works. 2 finger scrolling does not work, nor is present in `xinput`. https://github.com/tiziano88/magic-trackpad-2-linux seems to be tracking progress on attempting to get this device to work. I also confirm that the Magic Trackpad 2 does not work correctly when plugged via USB. As reported, only the mouse mouvement and the left clic works, right clic (double finger) or scroll is not working. Oddly, the bug report https://bugzilla.kernel.org/show_bug.cgi?id=96771 makes the internal trackpad for the Macbook pro works correctly. On Redhat, this bug report https://bugzilla.redhat.com/show_bug.cgi?id=1274448 says that exact same issue. If needed, I can provide the output of any command asked in order to fix this issue. This is set to be resolved with 4.20 thanks to the patch by Sean O'Brien with a commit hash of 9d7b18668956c411a422d04c712994c5fdb23a4b. |