You are not logged in.

#1 2011-11-27 05:29:16

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I create this thread, so that we can discuss all related-issues here.

I also create a wiki at https://wiki.archlinux.org/index.php/Ma … cbook_Pro)

Resource: https://help.ubuntu.com/community/MacBookPro8-1/Natty

Last edited by GutenYe (2011-11-28 12:03:33)


Linux, Vim, Ruby, Javascript and Go.

Offline

#2 2011-11-27 06:01:27

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,357
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I will be installing on an 8.1 next week so I'll add to the documentation...    I'm sure we can do better than "Adjust Brightness: boot into Mac OS X and change it, then boot back."  !!!

Online

#3 2011-11-27 12:23:56

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

yes, that's a ugly fix, I hope we can find a better way.


Linux, Vim, Ruby, Javascript and Go.

Offline

#4 2011-11-27 13:51:41

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

Maybe it would help to tell people what you already tried to adjust the brightness. I do it with e.g. (to lower the brightness)

echo $[$(cat /sys/class/backlight/apple_backlight/brightness)-1] > /sys/class/backlight/apple_backlight/brightness

on my old Macbook Pro 2.2
But I guess that doesn't work with those newer Macbooks. Pommed doesn't work either, right? Maybe the developer(s) of pommed are then interested in solving this as well.

Last edited by Army (2011-11-27 13:52:43)

Offline

#5 2011-11-28 02:50:42

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I found another issue, fn key doesn't work: see https://bugs.launchpad.net/ubuntu/+sour … bug/730629

Last edited by GutenYe (2011-11-28 02:51:05)


Linux, Vim, Ruby, Javascript and Go.

Offline

#6 2011-11-28 02:52:31

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

Army wrote:

Maybe it would help to tell people what you already tried to adjust the brightness. I do it with e.g. (to lower the brightness)

echo $[$(cat /sys/class/backlight/apple_backlight/brightness)-1] > /sys/class/backlight/apple_backlight/brightness

on my old Macbook Pro 2.2
But I guess that doesn't work with those newer Macbooks. Pommed doesn't work either, right? Maybe the developer(s) of pommed are then interested in solving this as well.


I doesn't have '/sys/class/backlight/apple_backlight/brightness' file, only have '/sys/class/backlight/acpi_video0/brightness'.


Linux, Vim, Ruby, Javascript and Go.

Offline

#7 2011-11-28 09:35:40

corion
Member
Registered: 2008-09-13
Posts: 36
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

For Fn keys try to put in /etc/rc.local:

echo 2 > /sys/module/hid_apple/parameters/fnmode

In the case of wireless, the patch from this thread works only for kernel 3.1.1. I didn't manage to run wireless with this patch with linux-3.1.2.

BTW: great idea with the wiki page!

Offline

#8 2011-11-28 11:37:28

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

corion wrote:

For Fn keys try to put in /etc/rc.local:

echo 2 > /sys/module/hid_apple/parameters/fnmode

In the case of wireless, the patch from this thread works only for kernel 3.1.1. I didn't manage to run wireless with this patch with linux-3.1.2.

BTW: great idea with the wiki page!

your code works, Thanks.

for wireless, that patch works for me in linux-3.1.2, too.  you may need add `blacklist bcma` to `/etc/modprobe.d/modprobe.conf`.

Last edited by GutenYe (2011-11-28 11:50:26)


Linux, Vim, Ruby, Javascript and Go.

Offline

#9 2012-02-28 05:14:14

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I found a way to adjust screen brightness. 

documentation from https://wiki.ubuntu.com/Kernel/AppleGmuxBacklight, I've update the wiki page.


Linux, Vim, Ruby, Javascript and Go.

Offline

#10 2012-03-23 06:47:14

Raedwulf
Member
Registered: 2008-04-26
Posts: 24

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I'm looking to installing Archlinux on my MacBook 8,2 (Early 2011 with Lion). What was your procedure to do this?

Offline

#11 2012-03-23 08:05:19

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I use https://wiki.archlinux.org/index.php/Ma … nother_way  this way. It's a Dual Boot (Arch & Mac OS X) .


make sure you read

https://help.ubuntu.com/community/Macte … stallation
https://wiki.archlinux.org/index.php/Ma … cbook_Pro)

Last edited by GutenYe (2012-03-23 08:06:46)


Linux, Vim, Ruby, Javascript and Go.

Offline

#12 2012-03-23 08:28:05

Raedwulf
Member
Registered: 2008-04-26
Posts: 24

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

Ah thanks, i've seen somewhere i can use the disk utility on mac to partition the system - the reason being, on Lion, bootcamp has to install windows. Is there anything else that bootcamp does that disk utility doesn't (for the purpose of install archlinux).

Last edited by Raedwulf (2012-03-23 08:28:45)

Offline

#13 2012-03-29 17:21:17

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

GutenYe wrote:

I use https://wiki.archlinux.org/index.php/Ma … nother_way  this way. It's a Dual Boot (Arch & Mac OS X) .

The new kernel (3.3) has EFI_STUB enabled, and thus if you have rEFIt or rEFInd installed, you don't need a bootloader anymore. This might warrant a clean install on a new SSD for me on my oldish MBP 5.5...

At the time of this writing, kernel 3.3 is in [testing].

Offline

#14 2012-03-29 17:26:28

rw
Member
Registered: 2011-12-24
Posts: 1

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

zenlord wrote:

The new kernel (3.3) has EFI_STUB enabled, and thus if you have rEFIt or rEFInd installed, you don't need a bootloader anymore. This might warrant a clean install on a new SSD for me on my oldish MBP 5.5...

I am interested to hear how this goes. I am running Arch on my MacBook Pro 8,2 and might do the same if it works for you.

Offline

#15 2012-03-29 17:28:42

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

zenlord wrote:
GutenYe wrote:

I use https://wiki.archlinux.org/index.php/Ma … nother_way  this way. It's a Dual Boot (Arch & Mac OS X) .

The new kernel (3.3) has EFI_STUB enabled, and thus if you have rEFIt or rEFInd installed, you don't need a bootloader anymore. This might warrant a clean install on a new SSD for me on my oldish MBP 5.5...

At the time of this writing, kernel 3.3 is in [testing].

https://bbs.archlinux.org/viewtopic.php?id=136833

Offline

#16 2012-03-31 22:09:39

augustl
Member
Registered: 2010-02-22
Posts: 33

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

How have you managed to even boot the installer? No matter what I do, I can't make it boot. The closest I get is that the usb stick shows up in rEFIt, but I get a "No  bootable device -- insert boot disk and press any key" after a couple of seconds.

Any suggestions?

Offline

#17 2012-04-02 19:33:51

kaapstorm
Member
Registered: 2011-11-02
Posts: 4

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I used Archboot. (https://wiki.archlinux.org/index.php/Archboot) It also features grub2-efi and grub2-bios, which you'll need.

... Now if only I could get my GRUB2 installation working. (One tip: If you are going to try to use grub2-bios -- which is the first thing I did when grub2-efi didn't work -- it seems you have to have only one partition for Arch. Also, keep the partition type set to 0700 ("Microsoft basic data") or af00 (HFS/HFS+) until you have gone back into rEFIt, and got it to update the MBR with your partition scheme. Right now neither grub2-efi or grub2-bios are working for me, but I sure it's something I've done wrong.)

Offline

#18 2012-04-10 21:51:25

sam87
Member
From: down the rabbit hole
Registered: 2009-09-26
Posts: 141

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

just did a full install on 8,2 will update and post screenies


what i cannot build, i do not understand

Offline

#19 2012-04-11 19:06:07

kaapstorm
Member
Registered: 2011-11-02
Posts: 4

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

That would be great, sam87.

I discovered that my installation issues were caused by (not reading the MacBook wiki page carefully enough and) not adding "usbinput" to mkinitcpio.conf to load the modules required to use the keyboard and trackpad on boot.

So grub2-efi works now.

Since then I've installed "pommed" for the Mac's keyboard features, "xf86-input-mtrack-git", "xbindkeys" and "xautomation" for binding four-finger swipes with KWin and Plasma keyboard shortcuts, and recompiled the kernel to include modules for kernel 3.2's new wireless network drivers. All hardware is now supported, and my desktop is working beautifully. I get all the benefits of Apple's great hardware without the hassle of having to relearn how to use cursor keys. (Cmd-Left == Home? Or was it Cmd-Fn-Left? AAAARGH!) (Not to mention that annoying Flashback trojan issue: http://www.washingtonpost.com/business/ … tory.html)

Offline

#20 2012-04-20 07:06:19

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I try to boot my linux using Kernel EFI_STUB, eveything goes well, but both radeon and intel graphic card don't work in EFI boot.  The same issue from https://bbs.archlinux.org/viewtopic.php … 7#p1081907. any ideas?


Linux, Vim, Ruby, Javascript and Go.

Offline

#21 2012-04-22 13:38:25

kaapstorm
Member
Registered: 2011-11-02
Posts: 4

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I just posted a reply to that thread.

If you are getting the same error as illtech, it may be that you need to add a close bracket to line 288 of the file /usr/lib/aif/core/libs/lib-blockdevices-filesystems.sh, so that it reads

    if ((include_dm) || ! dev_is_in_softraid_or_lvmpv $dev); then

... but that's just a guess.

Offline

#22 2012-05-05 17:48:45

eawallaz
Member
Registered: 2012-05-03
Posts: 2

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

I'm having a hell of a time trying to disable tap-to-click on my MBP 8,1. Any ideas? I've set "MaxTapTime" "0" in xorg.conf and I can disable it with gsynaptics but the changes don't persist after a restart.

Offline

#23 2012-05-05 22:30:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,357
Website

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

Do you have the tap options uncommented in /etc/X11/xorg.conf.d/10-synaptics.conf ?

Online

#24 2012-05-06 02:54:46

eawallaz
Member
Registered: 2012-05-03
Posts: 2

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

Actually, I had a barebones 10-synaptics.conf. I added

 Option      "MaxTapTime" "0" 

and now it works! Thanks for prompting me to look in there--I was fooling around in xorg.conf with synaptics and mtrack.

Cheers!

Offline

#25 2012-05-20 22:08:54

sam87
Member
From: down the rabbit hole
Registered: 2009-09-26
Posts: 141

Re: MacBook Pro 8,1 / 8,2 / 8,3 (2011 Macbook Pro)

how did you guys do your installs? the wiki that this page refers to doesn't show any steps. i just popped my cd in and installed over mac os x and that changed my partition tables and the like. Is that the recommended way? And my fan was heating up quite a bit as well sad


what i cannot build, i do not understand

Offline

Board footer

Powered by FluxBB