Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753444AbbDXCMw (ORCPT ); Thu, 23 Apr 2015 22:12:52 -0400 Received: from m13-51.163.com ([220.181.13.51]:48469 "EHLO m13-51.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752457AbbDXCMt (ORCPT ); Thu, 23 Apr 2015 22:12:49 -0400 X-Greylist: delayed 911 seconds by postgrey-1.27 at vger.kernel.org; Thu, 23 Apr 2015 22:12:48 EDT X-Originating-IP: [49.65.12.117] Date: Fri, 24 Apr 2015 09:56:28 +0800 (CST) From: "Yang Hongyang" To: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, rydberg@bitmath.org, jkosina@suse.cz Subject: Input: keyboard/Trackpad support for MacBookPro 12,1 X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20150119(59087.7062) Copyright (c) 2002-2015 www.mailtech.cn 163com Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <3649fa0d.1672f.14ce923ecf3.Coremail.macrosheep@163.com> X-CM-TRANSID: M8GowGB5ZEPNojlVPjNeAA--.76W X-CM-SenderInfo: xpdf20pvkhv1i6rwjhhfrp/1tbiDQ3lxVQG6nknmAAAse X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id t3O2Cwbb030743 Content-Length: 7876 Lines: 207 My new MacBook Pro (Retina, 13-inch, Early 2015, Model Identifier: MacBookPro12,1) with ForceTouch trackpad has a new Product ID 0x0273, which I think is the ISO, and the other should be ANSI:0x0272, JIS:0x0274, but I'm not sure, anyone can confirm this? Apple Internal Keyboard / Trackpad: Product ID: 0x0273 Vendor ID: 0x05ac (Apple Inc.) Version: 6.22 Serial Number: xx Manufacturer: Apple Inc. Location ID: 0x01000000 However, after I add the Product ID as usual, the keyboard works fine, but the trackpad doesn't work at all, after checking the Info by lsusb, the trackpad seems to fallback to the old geyser way because it reports a wMaxPacketSize 0x0040 1x 64 bytes, I don't have much knowledge about trackpad driver, is there anyone that can figer out what the driver protocol is? # lsusb -v -s 001:003 Bus 001 Device 003: ID 05ac:0273 Apple, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x05ac Apple, Inc. idProduct 0x0273 bcdDevice 6.22 iManufacturer 1 Apple Inc. iProduct 2 Apple Internal Keyboard / Trackpad iSerial 3 D3H5107H8T1GHJGA64KS bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 141 bNumInterfaces 5 bConfigurationValue 1 iConfiguration 4 Keyboard / Trackpad bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 5 Device Management HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 27 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 8 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 1 Keyboard iInterface 6 Keyboard / Boot HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 33 US bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 182 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 8 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 7 Trackpad / Boot HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 110 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 8 Actuator HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 34 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 8 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 2 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 4 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 9 Accelerometer HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 27 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x85 EP 5 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 2 Device Status: 0x0000 (Bus Powered) ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?