aunali1 / linux-mbp-arch

Arch Linux kernel with 2018+ MacBook Pro patches.
177 stars 31 forks source link

Does this patched Linux kernel support the newly released mbp 2019 16inch? #9

Open fangying opened 4 years ago

fangying commented 4 years ago

Hi, does this patched Linux kernel support the newly released mbp 2019 16inch?

aunali1 commented 4 years ago

@fangying I have recently pushed support for the trackpad and keyboard. Testing is welcome!

jamlam commented 4 years ago

@aunali1 I've been playing around with this on a 16,1 in a few places. With the patches the Touchpad works, no keyboard backlight though. I've also found it wouldn't boot without nomodeset on a 16,1 until I moved to 5.6.0-rc1, and there's no working wifi firmware or sound through the speakers at the moment. It's very close but not there yet! Very happy to help out with testing or anywhere else.

jamlam commented 4 years ago

Also a lot of this in the logs, I think it may be related to the sound issues but I'm not sure.

[ 252.913819] BUG: sleeping function called from invalid context at mm/slab.h:565 [ 252.913829] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 411, name: irq/33-bce_dma

aunali1 commented 4 years ago

@jamlam Regarding wifi, can you download the Bootcamp drivers package through macOS and use them? I am starting a collection here. Also, probably best if you joined the Discord server here for more instant responses

jamlam commented 4 years ago

Thanks! I've been experimenting with this, it looks like it tries to load now but I get a hard lock when it tries to load the firmware. It looks similar to the issue here https://github.com/Dunedan/mbp-2016-linux/issues/112 so I'm trying different rambase addresses at the moment.

jamlam commented 4 years ago

Just to wrap this up, I've tried every combination of firmware/rambase address I can come up with but I don't think wifi is going to work for the time being. In terms of firmware I've tried the Catalina fw, extract from the bootcamp drivers and also the firmware from the MBP15,2 which also has a BCM4634 but rev3 rather than the rev4 in the 16. Every combo I tried failed with "FW failed to initialise" apart from trying to load with a rambase address of 0x160000 (default for the rev3 in the 15,2) which produces a segfault and reboot. Until we have some working firmware (or understand the Catalina fw loading process a bit better) I don't think this can be made to work.

reynaldliu commented 3 years ago

Just to wrap this up, I've tried every combination of firmware/rambase address I can come up with but I don't think wifi is going to work for the time being. In terms of firmware I've tried the Catalina fw, extract from the bootcamp drivers and also the firmware from the MBP15,2 which also has a BCM4634 but rev3 rather than the rev4 in the 16. Every combo I tried failed with "FW failed to initialise" apart from trying to load with a rambase address of 0x160000 (default for the rev3 in the 15,2) which produces a segfault and reboot. Until we have some working firmware (or understand the Catalina fw loading process a bit better) I don't think this can be made to work.

Thanks, i used your patch https://github.com/jamlam/mbp-16.1-linux-wifi Rear Finally successfully turned on my mbp 16,1 wifi that has not been enabled for many years.

indlin commented 3 years ago

Just to wrap this up, I've tried every combination of firmware/rambase address I can come up with but I don't think wifi is going to work for the time being. In terms of firmware I've tried the Catalina fw, extract from the bootcamp drivers and also the firmware from the MBP15,2 which also has a BCM4634 but rev3 rather than the rev4 in the 16. Every combo I tried failed with "FW failed to initialise" apart from trying to load with a rambase address of 0x160000 (default for the rev3 in the 15,2) which produces a segfault and reboot. Until we have some working firmware (or understand the Catalina fw loading process a bit better) I don't think this can be made to work.

Thanks, i used your patch https://github.com/jamlam/mbp-16.1-linux-wifi Rear Finally successfully turned on my mbp 16,1 wifi that has not been enabled for many years.

Super! Trying the kernel from https://github.com/jamlam/mbp-16.1-linux-wifi and wifi work too on my mbp 16.1. I use the firmware from mac and connect to 5g network. Get the download speed around 18-20Mb/s from my local server. On firmware from bootcamp, it's detect the interface, but don't connect with error "Operation failed" in iwctl.