linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Input: keyboard/Trackpad support for MacBookPro 12,1
@ 2015-04-24  1:56 Yang Hongyang
  2015-05-05  3:29 ` Yang Hongyang
  0 siblings, 1 reply; 4+ messages in thread
From: Yang Hongyang @ 2015-04-24  1:56 UTC (permalink / raw)
  To: linux-kernel, linux-input; +Cc: dmitry.torokhov, rydberg, jkosina

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:Input: keyboard/Trackpad support for MacBookPro 12,1
  2015-04-24  1:56 Input: keyboard/Trackpad support for MacBookPro 12,1 Yang Hongyang
@ 2015-05-05  3:29 ` Yang Hongyang
  2015-05-05 11:18   ` Input: " Chris Bainbridge
  0 siblings, 1 reply; 4+ messages in thread
From: Yang Hongyang @ 2015-05-05  3:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-input, dmitry.torokhov, rydberg, jkosina

Any ideas?

At 2015-04-24 09:56:28, "Yang Hongyang" <macrosheep@163.com> wrote:
>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 D3H5107H8T1GHJGA6xxx
>  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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Input: keyboard/Trackpad support for MacBookPro 12,1
  2015-05-05  3:29 ` Yang Hongyang
@ 2015-05-05 11:18   ` Chris Bainbridge
  2015-05-05 12:07     ` Yang Hongyang
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Bainbridge @ 2015-05-05 11:18 UTC (permalink / raw)
  To: Yang Hongyang
  Cc: linux-kernel, linux-input, dmitry.torokhov, rydberg, jkosina

On 5 May 2015 at 04:29, Yang Hongyang <macrosheep@163.com> wrote:
> Any ideas?

https://bugzilla.kernel.org/show_bug.cgi?id=96771

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:Re: Input: keyboard/Trackpad support for MacBookPro 12,1
  2015-05-05 11:18   ` Input: " Chris Bainbridge
@ 2015-05-05 12:07     ` Yang Hongyang
  0 siblings, 0 replies; 4+ messages in thread
From: Yang Hongyang @ 2015-05-05 12:07 UTC (permalink / raw)
  To: Chris Bainbridge
  Cc: linux-kernel, linux-input, dmitry.torokhov, rydberg, jkosina


At 2015-05-05 19:18:00, "Chris Bainbridge" <chris.bainbridge@gmail.com> wrote:
>On 5 May 2015 at 04:29, Yang Hongyang <macrosheep@163.com> wrote:
>> Any ideas?
>
>https://bugzilla.kernel.org/show_bug.cgi?id=96771

Thank you!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-05 12:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-24  1:56 Input: keyboard/Trackpad support for MacBookPro 12,1 Yang Hongyang
2015-05-05  3:29 ` Yang Hongyang
2015-05-05 11:18   ` Input: " Chris Bainbridge
2015-05-05 12:07     ` Yang Hongyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).