Solved MacBook Pro 8,1 setup trouble

TempleBSD

New Member

Reaction score: 7
Messages: 19

Hello and thanks already for having clicked on this!

I'm having some trouble getting FreeBSD setup fully working on my late 2011 13" MPB. Most things do work suprisingly well but here are my problems:
  1. Trackpad
  2. Suspend/Resume
  3. WiFi (BCM 4331)
Some general info: FreeBSD 13.0 is installed on a partitioned drive using EFI alongside MacOS and has the root partition encrypted with geli.

About the Trackpad: Basic functionality is available (moving the cursor and clicking) with default, atp and wsp drivers. However when starting X and using either atp or wsp X will not register input. I have tried most configurations (also no config) I've found on the web for X (my file is /usr/local/etc/X11/xorg.conf.d/touchpad.conf) and never got it to work which is a shame. Driver loads and attaches, I have also tried to disable the ums driver which worked but did not help. To clarify: I am mostly concerned with the pad working in X, no need for it being shared with console if that helps. Nothing of interest (to my novice eyes) appeared in /var/log/Xorg.0.log

Suspend works when setting
Code:
hw.acpi.lid_switch_state=s3
in /etc/sysctl.conf when closing the lid. Might be due to me having the controller driver installed in order to control keyboard backlight. On opening the lid however seemingly random behaviour occurs. I exclusively closed the lid in an X-environment (dwm window manager if that is of concern) and sometimes it would just work but the mouse would become janky. Other times either X reopens and the keyboard and touchpad dont work, or X shuts down and im sent back to tty, or the darn thing does nothing at all or just gets stuck in the wakeup process.

If further information/logs are required for troubleshooting this, please do tell.
Thank you for your time!

EDIT#1: Bought WiFi USB dongle thinggy.
 
Last edited:
OP
T

TempleBSD

New Member

Reaction score: 7
Messages: 19

For future reference or anyone stumbling across this:
1: FreeBSD 13 uses evdev by default which interferes with atp/wsp somehow. I built a kernel without evdev but there might be some other way of disabling it.
2: ACPI suspend/resume is an unimplemented feature. What I have with the command will enter C3-State of the CPU which will interrupt execution until left and therefore might rub some applications the wrong way.
3: BCM4331 is not supported by the bwn/bwi driver and using ndis is reportedly not fast and I never got it to work. Purchase a WiFi dongle that has a chipset listed in the "hardware" section of the BSDs release you are using. I have the TP-Link TU2 AC650, which is one of the few compatible ones available in European amazon. AC WiFi is not supported and the speeds you will get with n wont be amazing. Plug in an ethernet cable if you intend to download heaps of *
 
Top