Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this driver valid for MacBookPro15,4? #77

Open
abhisek176 opened this issue Dec 29, 2019 · 8 comments
Open

Is this driver valid for MacBookPro15,4? #77

abhisek176 opened this issue Dec 29, 2019 · 8 comments

Comments

@abhisek176
Copy link

@abhisek176 abhisek176 commented Dec 29, 2019

No description provided.

@arno01

This comment has been minimized.

Copy link

@arno01 arno01 commented Dec 30, 2019

Hi @abhisek176 , I've updated the article https://nixaid.com/linux-on-macbookpro/
Could you please try booting the https://files.nixaid.com/ubuntu4mac.iso ? (sha256: a77086a4aadbfd5b29e86232a9e24aba0f3a963af064e3c961adae8e9f8d2682)

I've added the evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro15,4:* line to /etc/udev/hwdb.d/61-evdev-local.hwdb file there. Cannot promise that it will help, but let's see.

Let me know whether the keyboard, touch pad, touch bar are working.

@abhisek176

This comment has been minimized.

Copy link
Author

@abhisek176 abhisek176 commented Dec 30, 2019

Hi @arno01, I tried the new ISO. The bootable flash drive did not show any sign of trackpad or keyboard movement. I tried installing but the installation got failed with an error https://drive.google.com/open?id=1_LlxRSGJZbKVX_pMErFjJQJs3OEj_AnR

@arno01

This comment has been minimized.

Copy link

@arno01 arno01 commented Dec 30, 2019

@abhisek176 regarding the installer error, I have replied you via email since it's an off-topic.

The bootable flash drive did not show any sign of trackpad or keyboard movement.

I would presume the Linux kernel isn't recognizing some of the new MBP's 2019 hardware properly.
In this case there is no need to proceed installing it until we make keyboard & touchpad work.

Hook an external keyboard and you will be able to run some commands which might help in figuring out why the driver isn't working.

Please provide us with the output of these commands:

  • xinput
  • lspci -nnk
  • dmesg -T | grep -i spi
  • dmesg -T -l err
  • cat /proc/interrupts
@abhisek176

This comment has been minimized.

Copy link
Author

@abhisek176 abhisek176 commented Dec 30, 2019

Hi @arno01: here are the outputs https://drive.google.com/open?id=1QtABl_PQE-dzv7O24glU9Ct7fFxGR5OJ. please have a look. kindly let me know if you need anything.

@arno01

This comment has been minimized.

Copy link

@arno01 arno01 commented Dec 30, 2019

Abhisek was also sending me his syslog file, here is his HW:

DMI: Apple Inc. MacBookPro15,4/Mac-REDACTED, BIOS 1037.60.58.0.0 (iBridge: 17.16.12551.0.0,0) 11/14/2019

And he's got these errors as well:

Dec 30 12:41:33 ubuntu kernel: [    3.460140] applespi: loading out-of-tree module taints kernel.
Dec 30 12:41:33 ubuntu kernel: [   12.735839] applesmc: send_byte(0x10, 0x0304) fail: 0xff
Dec 30 12:41:33 ubuntu kernel: [   12.735840] applesmc: #KEY: read arg fail
...
Dec 30 12:42:49 ubuntu kernel: [   87.903816] applesmc: #KEY: read arg fail
Dec 30 12:42:49 ubuntu kernel: [   87.960613] applesmc: driver init failed (ret=-5)!

I can't see SPI in his "xinput" output. Let's see if @roadrunner2 & @cb22 will have some more clues based on the logs provided by @abhisek176 .

@arno01

This comment has been minimized.

Copy link

@arno01 arno01 commented Dec 30, 2019

@abhisek176 I've just found something that you might want to try.

There is a mbp15 branch https://github.com/roadrunner2/macbook12-spi-driver/tree/mbp15 - Work in progress driver for the touchbar and ambient-light-sensor on 2019 MacBook Pro's.

https://github.com/MCMrARM/mbp2018-bridge-drv -
A driver for MacBook models 2018 and newer, which makes the keyboard, mouse and audio output work.

Upd: And this thread might also be interesting as it discusses new MBP's 15,1/15,2 with the new T2 chip Dunedan/mbp-2016-linux#71

@roadrunner2

This comment has been minimized.

Copy link
Contributor

@roadrunner2 roadrunner2 commented Dec 31, 2019

@abhisek176 The MacBook Pro 15,* models do not expose an SPI based keyboard and trackpad, but instead a USB based one, i.e the driver here is only for 13,* and 14.* models. The links @arno01 provides above are correct: you need @MCMrARM's driver for the keyboard and trackpad, and my driver for the touchbar and ALS.

@abhisek176

This comment has been minimized.

Copy link
Author

@abhisek176 abhisek176 commented Jan 2, 2020

Hi @roadrunner2 . I used @MCMrARM driver and it worked. But I having problem with the touchpad clicks and taps. And also wifi seems to be not working in MBP15,4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.