https://wiki.archlinux.org/api.php?action=feedcontributions&user=Rvega&feedformat=atomArchWiki - User contributions [en]2024-03-28T16:26:21ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=MacBookPro8,x&diff=179737MacBookPro8,x2012-01-22T23:45:16Z<p>Rvega: /* For 3.2 Kernel: */</p>
<hr />
<div>[[Category:Apple (English)]]<br />
discuss at https://bbs.archlinux.org/viewtopic.php?pid=1021706<br />
<br />
== Installation CD == <br />
<br />
use latest version in http://releng.archlinux.org/isos/<br />
<br />
== Network == <br />
<br />
===Wireless:=== <br />
<br />
====For 3.1 Kernel:==== <br />
<br />
install [https://aur.archlinux.org/packages.php?ID=52676 b43-firmware-latest] from AUR.<br />
<br />
download the latest package from http://linuxwireless.org/download/compat-wireless-2.6/<br />
<br />
$ cd compat-wireless-2011-10-09 <br />
$ scripts/driver-select b43<br />
$ make <br />
$ sudo make install<br />
$ sudo make wlunload<br />
$ sudo rmmod bcma <br />
$ modprobe b43<br />
# it should works.<br />
<br />
add 'blacklist bcma' to '/etc/modprobe.d/modprobe.conf'<br />
<br />
Note that after every kernel update you will have to recompile the module for the new kernel:<br />
<br />
$ cd compat-wireless-2011-10-09<br />
$ make clean<br />
$ make<br />
$ sudo make install<br />
<br />
more see https://bbs.archlinux.org/viewtopic.php?id=129849<br />
<br />
====For 3.2 Kernel:==== <br />
<br />
The 3.2 Kernel now includes support for the broadcom 4331 wifi card in macbook pros but it is disabled in Arch's default build. You'll need to compile your own kernel as described in [https://wiki.archlinux.org/index.php/Kernel_Compilation/Arch_Build_System Kernel Compilation/Arch Build System ]. <br />
<br />
Change the config file like this:<br />
<br />
--- config.x86_64 2012-01-17 10:17:20.579420331 -0500<br />
+++ .config 2012-01-17 10:22:49.140315089 -0500<br />
@@ -2152,11 +2152,13 @@<br />
CONFIG_ATH6KL=m<br />
# CONFIG_ATH6KL_DEBUG is not set<br />
CONFIG_B43=m<br />
+CONFIG_B43_BCMA=y<br />
CONFIG_B43_SSB=y<br />
CONFIG_B43_PCI_AUTOSELECT=y<br />
CONFIG_B43_PCICORE_AUTOSELECT=y<br />
CONFIG_B43_PCMCIA=y<br />
CONFIG_B43_SDIO=y<br />
+CONFIG_B43_BCMA_PIO=y<br />
CONFIG_B43_PIO=y<br />
CONFIG_B43_PHY_N=y<br />
CONFIG_B43_PHY_LP=y<br />
@@ -2176,7 +2178,6 @@<br />
# CONFIG_B43LEGACY_DMA_MODE is not set<br />
# CONFIG_B43LEGACY_PIO_MODE is not set<br />
CONFIG_BRCMUTIL=m<br />
-CONFIG_BRCMSMAC=m<br />
CONFIG_BRCMFMAC=m<br />
# CONFIG_BRCMDBG is not set<br />
CONFIG_HOSTAP=m<br />
@@ -3165,7 +3166,11 @@ <br />
#<br />
# Broadcom specific AMBA<br />
# <br />
-# CONFIG_BCMA is not set<br />
+CONFIG_BCMA=m<br />
+CONFIG_BCMA_BLOCKIO=y<br />
+CONFIG_BCMA_HOST_PCI_POSSIBLE=y<br />
+CONFIG_BCMA_HOST_PCI=y<br />
+# CONFIG_BCMA_DEBUG is not set<br />
#<br />
# Multifunction device drivers<br />
<br />
And install [http://aur.archlinux.org/packages.php?ID=21690 b43-firmware]<br />
<br />
(Taken from [https://bbs.archlinux.org/viewtopic.php?id=133734 this forum thread])<br />
<br />
'''Ethernet''': works out-of-the-box<br />
<br />
'''Bluetooth''': Unkown<br />
<br />
== Keyboard & TouchPad == <br />
<br />
'''Keyboard''': <br />
<br />
default F1 key represents XF86MonBrightnessDown, if you want it represents to F1.<br />
<br />
echo 2 > /sys/module/hid_apple/parameters/fnmode<br />
# value 1: F1 is XF86MonBrightnessDown<br />
# value 2: F1 is F1, Fn + F1 is XF86MonBrightnessDown.<br />
<br />
and put that into /etc/rc.local<br />
<br />
'''Touchpad''':<br />
<br />
Two finger scrolling and left-click works out of the box. Unfortunately the right-click is not functional.<br />
<br />
To enable most of the multitouch touchpad features (even right and middle clik) use [https://github.com/BlueDragonX/xf86-input-mtrack mtrack], which is avaible in [http://aur.archlinux.org/packages.php?ID=48505 AUR]. The configuration is done via the /etc/X11/xorg.conf.d/10-mtrack.conf file. Check if the mtrack module is properly loaded in the /var/log/Xorg.0.log file. Sometimes xorg loads other drivers before, like eg. synpatics, and the mtrack driver is not used at all.<br />
<br />
== Video & Screen ==<br />
'''13-inch'''<br />
<br />
Intel HD Graphics 3000: works with xf86-video-intel<br />
<br />
Adjust Brightness: works with [http://www.archlinux.org/packages/extra/x86_64/xorg-xbacklight/ xorg-xbacklight]<br />
For example:<br />
<br />
xbacklight -inc 7 # increase brightness<br />
xbacklight -dec 7 # decrease brightness<br />
<br />
'''15-inch and 17-inch'''<br />
<br />
AMD Radeon HD 6490M: Unknown<br />
<br />
AMD Radeon HD 6750M: works with xf86-video-ati<br />
<br />
'''Adjust Brightness''': boot into Mac OS X and change it, then boot back.<br />
<br />
== Sound ==<br />
<br />
'''8,1 and 8,2'''<br />
<br />
$ alsamixer # unmute 'Front Speaker' and 'Surround Speaker'<br />
<br />
== Suspend & Hibernate == <br />
<br />
'''8,1'''<br />
<br />
For s2ram install [https://aur.archlinux.org/packages.php?ID=44473 uswsusp-git] and add to file /etc/pm/config.d/module following content:<br />
<br />
SUSPEND_MODULES="bcma b43" <br />
SLEEP_MODULE=uswsusp<br />
<br />
Without this, system hangs after the machine wakes up and tries to reconnect to the wireless network.<br />
<br />
== HFS+ ==<br />
<br />
HFS is mounted as Read-Only. By [http://support.apple.com/kb/ht2355 turning journaling off] in OS X, the HFS+ file system will be read/write under Linux.<br />
<br />
== Bluetooth ==<br />
<br />
I had problems pairing devices, nothing was detected with<br />
<br />
hcitool scan<br />
<br />
There seems to be a conflict between the bluetooth module and the b43 one (wifi), as written in [http://blog.tkassembled.com/188/macbook-pro-83-bluetooth-issues-on-linux/ this blog post]. The solution is to do the following:<br />
<br />
# rmmod b43<br />
pair your bluetooth device<br />
# modprobe b43<br />
<br />
=== Alternative solution ===<br />
<br />
Create {{ic|/etc/modprobe.d/b43.conf}} with the following content:<br />
{{bc|1=options b43 btcoex=0}}<br />
<br />
== Others that works-out-of-the-box ==<br />
<br />
* Webcam<br />
* Sensors</div>Rvegahttps://wiki.archlinux.org/index.php?title=MacBookPro8,x&diff=179736MacBookPro8,x2012-01-22T23:42:25Z<p>Rvega: /* Network */</p>
<hr />
<div>[[Category:Apple (English)]]<br />
discuss at https://bbs.archlinux.org/viewtopic.php?pid=1021706<br />
<br />
== Installation CD == <br />
<br />
use latest version in http://releng.archlinux.org/isos/<br />
<br />
== Network == <br />
<br />
===Wireless:=== <br />
<br />
====For 3.1 Kernel:==== <br />
<br />
install [https://aur.archlinux.org/packages.php?ID=52676 b43-firmware-latest] from AUR.<br />
<br />
download the latest package from http://linuxwireless.org/download/compat-wireless-2.6/<br />
<br />
$ cd compat-wireless-2011-10-09 <br />
$ scripts/driver-select b43<br />
$ make <br />
$ sudo make install<br />
$ sudo make wlunload<br />
$ sudo rmmod bcma <br />
$ modprobe b43<br />
# it should works.<br />
<br />
add 'blacklist bcma' to '/etc/modprobe.d/modprobe.conf'<br />
<br />
Note that after every kernel update you will have to recompile the module for the new kernel:<br />
<br />
$ cd compat-wireless-2011-10-09<br />
$ make clean<br />
$ make<br />
$ sudo make install<br />
<br />
more see https://bbs.archlinux.org/viewtopic.php?id=129849<br />
<br />
====For 3.2 Kernel:==== <br />
<br />
The 3.2 Kernel now includes support for the broadcom 4331 wifi card in macbook pros but it is disabled in Arch's default build. You'll need to compile your own kernel as described in [https://wiki.archlinux.org/index.php/Kernel_Compilation/Arch_Build_System Kernel Compilation/Arch Build System ]. <br />
<br />
Change the config file like this:<br />
<br />
--- config.x86_64 2012-01-17 10:17:20.579420331 -0500<br />
+++ .config 2012-01-17 10:22:49.140315089 -0500<br />
@@ -2152,11 +2152,13 @@<br />
CONFIG_ATH6KL=m<br />
# CONFIG_ATH6KL_DEBUG is not set<br />
CONFIG_B43=m<br />
+CONFIG_B43_BCMA=y<br />
CONFIG_B43_SSB=y<br />
CONFIG_B43_PCI_AUTOSELECT=y<br />
CONFIG_B43_PCICORE_AUTOSELECT=y<br />
CONFIG_B43_PCMCIA=y<br />
CONFIG_B43_SDIO=y<br />
+CONFIG_B43_BCMA_PIO=y<br />
CONFIG_B43_PIO=y<br />
CONFIG_B43_PHY_N=y<br />
CONFIG_B43_PHY_LP=y<br />
@@ -2176,7 +2178,6 @@<br />
# CONFIG_B43LEGACY_DMA_MODE is not set<br />
# CONFIG_B43LEGACY_PIO_MODE is not set<br />
CONFIG_BRCMUTIL=m<br />
-CONFIG_BRCMSMAC=m<br />
CONFIG_BRCMFMAC=m<br />
# CONFIG_BRCMDBG is not set<br />
CONFIG_HOSTAP=m<br />
@@ -3165,7 +3166,11 @@ <br />
#<br />
# Broadcom specific AMBA<br />
# <br />
-# CONFIG_BCMA is not set<br />
+CONFIG_BCMA=m<br />
+CONFIG_BCMA_BLOCKIO=y<br />
+CONFIG_BCMA_HOST_PCI_POSSIBLE=y<br />
+CONFIG_BCMA_HOST_PCI=y<br />
+# CONFIG_BCMA_DEBUG is not set<br />
#<br />
# Multifunction device drivers<br />
<br />
(Taken from [https://bbs.archlinux.org/viewtopic.php?id=133734 this forum thread])<br />
<br />
'''Ethernet''': works out-of-the-box<br />
<br />
'''Bluetooth''': Unkown<br />
<br />
== Keyboard & TouchPad == <br />
<br />
'''Keyboard''': <br />
<br />
default F1 key represents XF86MonBrightnessDown, if you want it represents to F1.<br />
<br />
echo 2 > /sys/module/hid_apple/parameters/fnmode<br />
# value 1: F1 is XF86MonBrightnessDown<br />
# value 2: F1 is F1, Fn + F1 is XF86MonBrightnessDown.<br />
<br />
and put that into /etc/rc.local<br />
<br />
'''Touchpad''':<br />
<br />
Two finger scrolling and left-click works out of the box. Unfortunately the right-click is not functional.<br />
<br />
To enable most of the multitouch touchpad features (even right and middle clik) use [https://github.com/BlueDragonX/xf86-input-mtrack mtrack], which is avaible in [http://aur.archlinux.org/packages.php?ID=48505 AUR]. The configuration is done via the /etc/X11/xorg.conf.d/10-mtrack.conf file. Check if the mtrack module is properly loaded in the /var/log/Xorg.0.log file. Sometimes xorg loads other drivers before, like eg. synpatics, and the mtrack driver is not used at all.<br />
<br />
== Video & Screen ==<br />
'''13-inch'''<br />
<br />
Intel HD Graphics 3000: works with xf86-video-intel<br />
<br />
Adjust Brightness: works with [http://www.archlinux.org/packages/extra/x86_64/xorg-xbacklight/ xorg-xbacklight]<br />
For example:<br />
<br />
xbacklight -inc 7 # increase brightness<br />
xbacklight -dec 7 # decrease brightness<br />
<br />
'''15-inch and 17-inch'''<br />
<br />
AMD Radeon HD 6490M: Unknown<br />
<br />
AMD Radeon HD 6750M: works with xf86-video-ati<br />
<br />
'''Adjust Brightness''': boot into Mac OS X and change it, then boot back.<br />
<br />
== Sound ==<br />
<br />
'''8,1 and 8,2'''<br />
<br />
$ alsamixer # unmute 'Front Speaker' and 'Surround Speaker'<br />
<br />
== Suspend & Hibernate == <br />
<br />
'''8,1'''<br />
<br />
For s2ram install [https://aur.archlinux.org/packages.php?ID=44473 uswsusp-git] and add to file /etc/pm/config.d/module following content:<br />
<br />
SUSPEND_MODULES="bcma b43" <br />
SLEEP_MODULE=uswsusp<br />
<br />
Without this, system hangs after the machine wakes up and tries to reconnect to the wireless network.<br />
<br />
== HFS+ ==<br />
<br />
HFS is mounted as Read-Only. By [http://support.apple.com/kb/ht2355 turning journaling off] in OS X, the HFS+ file system will be read/write under Linux.<br />
<br />
== Bluetooth ==<br />
<br />
I had problems pairing devices, nothing was detected with<br />
<br />
hcitool scan<br />
<br />
There seems to be a conflict between the bluetooth module and the b43 one (wifi), as written in [http://blog.tkassembled.com/188/macbook-pro-83-bluetooth-issues-on-linux/ this blog post]. The solution is to do the following:<br />
<br />
# rmmod b43<br />
pair your bluetooth device<br />
# modprobe b43<br />
<br />
=== Alternative solution ===<br />
<br />
Create {{ic|/etc/modprobe.d/b43.conf}} with the following content:<br />
{{bc|1=options b43 btcoex=0}}<br />
<br />
== Others that works-out-of-the-box ==<br />
<br />
* Webcam<br />
* Sensors</div>Rvega