sebanc / brunch

Boot ChromeOS on x86_64 PC - Supports Intel CPU/GPU from 8th gen or AMD Ryzen
GNU General Public License v3.0
3.62k stars 389 forks source link

Touchpad and Wi-Fi issues on MacBook Air 2014 #2122

Open ZProLegend007 opened 1 month ago

ZProLegend007 commented 1 month ago

Hello again @sebanc, I am trying to install brunch for a friend of mine on a MacBook Air 2014 model A1466.

I had issues being stuck at the chromeOS logo but after doing some quick research the chrome recovery images and the whole i965 vs iHD mesa drivers I switched from rammus to coral as coral seems to still use i965 as the mesa graphics driver and support the iGPU in my 4th gen i7-4650U.

After finally getting past that issue I am stuck with no wifi (although dmesg is clean, there are drivers and I can toggle wifi on and off - I can use ethernet if plugged in on boot otherwise it isn't detected) and the touchpad has some severe sensitivity issues. I did encounter this error around chromeOS 120 and that caused the trackpads on the T2 MacBooks I was using to become extremely sensetive but not work when a normal amount of force was applied, the only way to make the touchpad work was to use it extremely softly and barely touch it, it seems to be palm suppression because a small tip works on any pressure. The issue with this 2014 MacBook is slightly less severe but still because of the same issue. This occurs on both normal (6.6) and macbook-t2 kernels where the touchpad has drivers.

The coral image after testing cannot load the play store either. What images would you reccomend that still have the i965 driver???

ZProLegend007 commented 1 month ago

After further investigation, I have found no other images that work and I am looking through the baseboard configurations. @sebanc, the coral board is built with a 2gb rootfs, that's a different configuration to normal but could be causing the problem with Android not starting, it should be a simple fix right? Just an option in configuration to support that rootfs size and therefore fix android?

It's even possible you could fix many android errors for different images by using the layouts in the scripts folder for these baseboards. For coral this is https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/refs/heads/main/baseboard-coral/scripts/disk_layout.json?autodive=0%2F%2F%2F

Also could you please add the broadcom_wl option to the macbook kernel please, this is necessary for wifi to work.

Also after looking through baseboard configurations, both the Apollo Lake board base configuration (which coral uses) and the rammus board remove i965 (-video_cards_i965). So perhaps this isn't the issue...?

ZProLegend007 commented 3 weeks ago

As of current: I have succesfully installed Brunch using the reef image, with working android and graphics with hardware acceleration.

My only remaining issues are the touchpad sensitivity issue (may be affecting multitouch) and the Wi-Fi issue.

Wi-Fi turns on and shows no connection only when using the broadcom_wl option, however no networks show up. Dmesg shows no firmware issues, other than wl tainting the kernel. Modprobe cannot find wl but rmmod can. bcma and b43 together cause error -95 and wifi still doesn't work. lspci -vv shows that the broadcom chip (bcm4360) is using the wl kernel driver and bcma kernel module. This is the same even after blacklisting bcma,b43,b44,brcmsmac.

The touchpad as stated before is extremely sensitive and doesn't work when a normal portion of the finger is used. @sebanc where are the touchpad config files so I can have a play around?