Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1228478 > unrolled thread

MacBook8,1 (2015) HID Hardware Support

Started byAleksa Sarai <cyphar@cyphar.com>
First post2015-09-19 19:20 +0200
Last post2015-09-19 19:30 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  MacBook8,1 (2015) HID Hardware Support Aleksa Sarai <cyphar@cyphar.com> - 2015-09-19 19:20 +0200
    Re: MacBook8,1 (2015) HID Hardware Support Aleksa Sarai <cyphar@cyphar.com> - 2015-09-19 19:30 +0200
    Re: MacBook8,1 (2015) HID Hardware Support Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-09-19 19:30 +0200

#1228478 — MacBook8,1 (2015) HID Hardware Support

FromAleksa Sarai <cyphar@cyphar.com>
Date2015-09-19 19:20 +0200
SubjectMacBook8,1 (2015) HID Hardware Support
Message-ID<qatXQ-7P2-11@gated-at.bofh.it>
Hello,

I've been trying to get Linux installed on a MacBook8,1 (not the pro)
and have had trouble getting keyboard input to work, despite
a4a2c54560f2c57b88ba0283f141b44f594c2337 ("HID: apple: Add support for
the 2015 Macbook Pro") and d58069265c9d15c04c9e3832cd1d9dffe9d4d5f6
("Input: bcm5974 - add support for the 2015 Macbook Pro"). Even
compiling it into the kernel itself or forcing hid-apple module
loading in both initramfs and init did not help. One would assume (I
did) it's because the hardware is different to the MacBookPro12,1.
However, looking at the product and vendor ID:

Apple Internal Keyboard / Trackpad:

Product ID: 0x0272
Vendor ID: 0x05ac (Apple Inc.)
Version: 6.22
Manufacturer: Apple Inc.
Location ID: 0x01000000

It seems that this hardware was added to hid-apple as
USB_DEVICE_ID_APPLE_WELLSPRING9_ANSI in both of the above linked
commits, so what gives? Is there some peculiarity with this hardware?
Am I not reading the above patches correctly? I'd be happy to test any
patches you'd like to throw at me.

-- 
Aleksa Sarai (cyphar)
www.cyphar.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1228489

FromAleksa Sarai <cyphar@cyphar.com>
Date2015-09-19 19:30 +0200
Message-ID<qau7w-80f-21@gated-at.bofh.it>
In reply to#1228478
> IIRC these models use SPI instead of USB for the keyboard/trackpad, so
> the commits you are referencing will not work for you.

Ah, okay. Figures.

> I do not know if anyone is looking into getting SPI variants to work.

I'm guessing the current effort for supporting Apple hardware in
drivers/hid/ isn't going to be much use if one were to try to
implement a driver for this hardware?


-- 
Aleksa Sarai (cyphar)
www.cyphar.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1228490

FromDmitry Torokhov <dmitry.torokhov@gmail.com>
Date2015-09-19 19:30 +0200
Message-ID<qau7w-80f-23@gated-at.bofh.it>
In reply to#1228478
On Sun, Sep 20, 2015 at 03:10:16AM +1000, Aleksa Sarai wrote:
> Hello,
> 
> I've been trying to get Linux installed on a MacBook8,1 (not the pro)
> and have had trouble getting keyboard input to work, despite
> a4a2c54560f2c57b88ba0283f141b44f594c2337 ("HID: apple: Add support for
> the 2015 Macbook Pro") and d58069265c9d15c04c9e3832cd1d9dffe9d4d5f6
> ("Input: bcm5974 - add support for the 2015 Macbook Pro"). Even
> compiling it into the kernel itself or forcing hid-apple module
> loading in both initramfs and init did not help. One would assume (I
> did) it's because the hardware is different to the MacBookPro12,1.
> However, looking at the product and vendor ID:
> 
> Apple Internal Keyboard / Trackpad:
> 
> Product ID: 0x0272
> Vendor ID: 0x05ac (Apple Inc.)
> Version: 6.22
> Manufacturer: Apple Inc.
> Location ID: 0x01000000
> 
> It seems that this hardware was added to hid-apple as
> USB_DEVICE_ID_APPLE_WELLSPRING9_ANSI in both of the above linked
> commits, so what gives? Is there some peculiarity with this hardware?
> Am I not reading the above patches correctly? I'd be happy to test any
> patches you'd like to throw at me.

IIRC these models use SPI instead of USB for the keyboard/trackpad, so
the commits you are referencing will not work for you.

I do not know if anyone is looking into getting SPI variants to work.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web