This is an old revision of the document!
Identifiers: Mid-2012 - MD101LL/A* (i5) - MD102LL/A (i7) - MacBookPro9,2 - A1278/2554*
| Graphics | Graphical sessions | ✔ | Xorg works out of the box |
| Touchpad | | Requires wsp(4) driver |
| Media keys | Brightness keys | Requires sysutils/asmctl port | |
| Volume keys | Doesn't work out of the box | |
| Network | Ethernet | ✔ | Works out of the box with bge(4) driver |
| Wi-Fi | ✘ | BCM4331's driver not ready yet |
| Other | Battery | ✔ | Works out of the box |
| Bluetooth | | Untested but detected |
| CD/DVD drive | ✔ | Works out of the box |
| Fan | | Requires coretemp(4) driver |
| SD card reader | ✔ | Works out of the box |
| Suspend & resume | | Requires sysctl hw.acpi.lid_switch_state=S3 |
| Webcam | | Untested but detected |
| Ports | DisplayPort | Untested but detected |
| FireWire | Untested but detected |
| Thunderbolt | ✘ |
| USB | ✔ |
| Headphone jack | ✔ Available on pcm1 |
| Sound | Speakers | | Requires tweaking to power up the sub-woofer |
| Last update: 2021-06-13 12:58:27+0200 |
% cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <Cirrus Logic CS4206 (Internal Analog 3.1/2.0)> on hdaa0 (1p:4v/1r:4v) default
pcm1: <Cirrus Logic CS4206 (Analog Headphones)> on hdaa0 (1p:1v/0r:0v)
pcm2: <Cirrus Logic CS4206 (Digital)> on hdaa0 (1p:1v/0r:0v)
No devices installed from userspace.
For multichannel input/output associations sequence
numbers encode channel pairs positions: 0 - Front, 1 -
Center/LFE, 2 - Back, 3 - Front Wide Center, 4 - Side.
Standard combinations are: (0) - Stereo; (0, 2), (0,
4) - Quadro; (0, 1, 2), (0, 1, 4) - 5.1; (0, 1, 2, 4)
- 7.1.
To correct this the pins need to be ajusted via sysctl(8). Put this on /etc/sysctl.conf:
hint.hdaa.0.nid10.config="seq=0"
hint.hdaa.0.nid11.config="seq=1"
Reference: https://forums.FreeBSD.org/threads/how-to-solve-tiny-sound-on-a-macbook-pro-9-2-mid-2012.80741/
% sysctl hw.snd.vpc_0db=1
# Enable equalizer in mixer applications for internal speakers (pcm0)
hint.pcm.0.eq=1
# Enable equalizer in mixer applications for analog headphones (pcm1)
hint.pcm.1.eq=1
# Enable equalizer in mixer applications for digital line (pcm2)
hint.pcm.2.eq=1
The
atp(4) driver is old making the trackpad fuzzy. Use the more recent kernel driver
wsp(4).
-
hw.usb.wsp.enable_single_tap_clicks: 0
hw.usb.wsp.scr_hor_threshold: 20
hw.usb.wsp.pressure_tap_threshold: 120
hw.usb.wsp.pressure_untouch_threshold: 10
hw.usb.wsp.pressure_touch_threshold: 50
hw.usb.wsp.z_factor: 5
hw.usb.wsp.scale_factor: 12
hw.usb.wsp.debug: 1
-
kern.evdev.rcpt_mask=3