Difference between revisions of "Talk:MacBook"

From ArchWiki
Jump to: navigation, search
Line 5: Line 5:
  
 
My second issue was the keyboard mapping. I was forced to make a new console keymap from scratch to get all my keys working "apple-style". Not a big deal. For xorg, it was a bit more difficult. I've specified a "macbook79" keyboard in evdev xorg config file, and I've added the following lines at the end of /usr/share/X11/xkb/keycodes/evdev :
 
My second issue was the keyboard mapping. I was forced to make a new console keymap from scratch to get all my keys working "apple-style". Not a big deal. For xorg, it was a bit more difficult. I've specified a "macbook79" keyboard in evdev xorg config file, and I've added the following lines at the end of /usr/share/X11/xkb/keycodes/evdev :
 +
 
xkb_keycodes "macbook79" {
 
xkb_keycodes "macbook79" {
 
     include "evdev(evdev)"
 
     include "evdev(evdev)"

Revision as of 08:22, 31 October 2012

Personal feedback

Hi. I've spent a lot of time to install Arch on a Macbook 1.1, and I've fixed several issues that can be of real interest for other people...

First, my hard drive was brand new, and I wanted a pure EFI boot. Moreover, my CDROM drive is dead, so I had to boot Arch install from a live USB. To do so, I've used a rEFIt usbkey. Then, after the standard Arch install, I've made a HFS+ partition for the *.efi grub2 have generated. Finally, I've bless-ed those files with OsX from another computer, so that my new install can boot without rEFIt.

My second issue was the keyboard mapping. I was forced to make a new console keymap from scratch to get all my keys working "apple-style". Not a big deal. For xorg, it was a bit more difficult. I've specified a "macbook79" keyboard in evdev xorg config file, and I've added the following lines at the end of /usr/share/X11/xkb/keycodes/evdev :

xkb_keycodes "macbook79" {

   include "evdev(evdev)"
   <RALT> = 64;
   <LALT> = 133;

};

And the new following rule to /usr/share/X11/xkb/rules/evdev (just after line 118) :

  macbook79     =       evdev(macbook79)

This allows to have key combinations such as ALT+5 working, leading to a "{" symbol... without using dirty Xmodmap tricks. Since Mod1 (LALT) is used a lot, I've decided to map it to the left Option key, but you can choose another key.

Major Edit

Hi all, I'm working on a major edit for this page. It seems to me that a lot of this article can be made a little more clear, so I'm taking a go at it. I have already changed a few sections. It will probably take me a couple days to finish everything, so let me know what you think as time progresses.

--Arcanazar 20:37, 16 July 2009 (EDT)

I'm helping you

After this i test it .....

and fix, add, cancel bugged parts

--nTia89 13:21, 17 July 2009 (EDT)

Partition Section

This section is a mess. I think that we should just find the fastest way to partition the hard drive, with a preference to tools on the Arch Linux install disk (as long as the work). Having multiple ways of creating the partitions seems confusing. I recommend using parted as it is part of Arch and can handle GPT format hard drives. --Arcanazar 13:36, 17 July 2009 (EDT)

RE

yes i think i think also that we can completely delete triple boot section and even the dual boot section redirecting users who wants dual boot to another guide like Ubuntu i think this because Archlinux users are experience users and precisely for this we can write a short partition section

--nTia89 15:00, 17 July 2009 (EDT)

on the dual boot section ew can only write what they must do but NOT how example

  1. install refit
  2. partition disk with .....
  3. install arch | and when you install grub select to install in the /boot NOT in /dev/sda

wiFi section

needs to be reworked

--nTia89 16:49, 17 July 2009 (EDT)

What is wrong with the Wifi section? I have a first-gen MacBook and wireless works out of the box for me. --Arcanazar 16:54, 17 July 2009 (EDT)

nothing is wrong, only needs a reorganization

NOW is OK

--nTia89 06:33, 18 July 2009 (EDT)

2.6.37 has the broadcom-wl drivers built in as the module brcm80211 -- we'll have to see if the packaged kernel enables it. If they work under macs, we could probably edit the wifi section. Telkkar 12:26, 6 January 2011 (EST)

Updated the Wifi section to include a tip about out of the box support in kernel 2.6.32.35-1 for Macbook Pro 6.2 generation, and changed the instructions to point to the Broadcom wireless page rather than links to the driver itself (since the broadcom page includes all this information). --fourisfive 21:18, 24 March 2011 (EDT)

new macbook note

needs to be putted in begin of the page , first of all

--nTia89 16:49, 17 July 2009 (EDT)

Why don't we move this page to one called "Apple" or something similar. It doesn't matter whether you're installing on a MacBook/Pro, Mac Mini, etc. except for drivers, which are easily listed on one page. At the very least, the new MacBook page should be merged with this one. We shouldn't have to make a new page each time a new model comes out.

--Arcanazar 16:54, 17 July 2009 (EDT)

IMHO we don't need it. first we must do very well, that all works for macbook. For me a Apple page OK but that contain less things

--nTia89 07:00, 26 July 2009 (EDT)

I'd like some new wiki for the 2009 MBP 5.5, but don't know where to start. On these pages? I agree we don't need a new wiki for every model coming out. As far as the "Apple" page, I don't have an opinion.

--Jryarch 19:11, 22 August 2009 (EDT)

Doesn't work !!!

home sharing and sound doesn't works for me !!!

--nTia89 16:48, 17 July 2009 (EDT)

I'll try home sharing later. I know that the old instructions for configuring ALSA worked for me.

--Arcanazar 16:54, 17 July 2009 (EDT)

I just checked the ALSA page, and those were the only instructions that I had to use to set up sound. It worked just fine for me. What generation is your MacBook?

--Arcanazar 17:03, 17 July 2009 (EDT)

i've a 2,1 macbook white

--nTia89 06:34, 18 July 2009 (EDT)

The iSight installation wouldn't work for me. I had to do it manually. It's easy: sudo ift-extract -a /media/MacOSX//System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents/MacOS/AppleUSBVideoSupport

--Apol 20:58, 25 July 2009 (EDT)

thanks Apol then edit it please

--nTia89 07:00, 26 July 2009 (EDT)

control file name in POMMED --nTia89 11:09, 16 September 2009 (EDT)

Quirks/tweaks

After (finally) getting my new MacBook Pro (5,3) to dual-boot OSX and Arch, I thought I'd share my findings. I added the reboot quirk and module tweaks to the Installation section, and I moved the note about using rEFIt to fix the partition table up in the article.

My experience with rEFIt was that if I adjusted the table after installing GRUB (i.e. after finishing the Arch install process), the Mac wouldn't correcly recognize the boot partition, and I'd get an "Operating system not found" or similar error. If I reinstalled GRUB on the partition, it would then work. However, when I used rEFIt between partitioning and installing, everything worked on the first go.

As for the modules, I was attempting to use LUKS for disk encryption, but when I got to the password prompt, the computer appeared to freeze. I discovered this was actually just because it wasn't accepting keyboard input, and I narrowed down which modules needed to be present for it to work. Since I rebooted a lot during this process, I found it nice when I could get the reboot command to work properly too.

Note: I don't know if adjusting MODULES is the "right" solution, or if there's a bug with the udev hook that needs to be filed. If someone more acquainted with mkinitcpio lore could fill me in, I'd appreciate it!

--DJPohly 17:01, 8 August 2009 (EDT)

Looks like my intuition about "there must be a better way" was right. Changed the article to use the usbinput hook rather than the extra modules. --DJPohly 18:31, 9 August 2009 (EDT)

hardware table & works table

add a hardware table & works table like in some Acer archwiki page

--nTia89 11:09, 14 September 2009 (EDT)

wireless broadcom

Q: wireless card works out of the box in macbooks which have BROADCOM CARD ???? need answer. --nTia89 09:53, 16 September 2009 (EDT)

A: No they don't, you have to download the broadcom-wl drivers for it and manually install the packages. You can find the package in AUR

move

move refit section on top

Change name?

Why is the article titled "Powebook (English)"?

Should I remove the (English) tag? manolo 16:52, 16 November 2009 (EST)

Contributions

  • added some notes and comments here and there to clarify or give alternatives
  • added the whole power management section
  • This also works on macbook pros (at least the 5 serie), so I added a note in intro.
  • I had some trouble making lirc work, so I added some instructions. Note that I didn't need "appleir" and I can't find it in the repos, so I got rid of the reference to it.

Please correct me if I am wrong.

--Frigaut 09:54, 30 December 2009 (EST)

  • added updated info on sound

--Zenlord 08:44, 11 January 2010 (CET)

OLD Arch Wiki MacBook Pro7,1


Macbook 7,1

I've just installed Arch on my macbook 7,1 and run into several problems that have or will still require a good bit of hunting around the wiki, forums, and google. There seem to be a few key changes in the hardware of the newest model (mid 2010) that require some finagling on the part of the end user, and I think it would be helpful if this article reflected those in a new section, eg 'Macbok 7,1 (mid 2010).' I'll draft the process I've used so far to get where I am, and include notices about the problems I've run into, updating with solutions when I find them.

I think it will be better to have a new section for the new model for the time being as the information in the article applies to several older models, and if we distinguish by Macbook model, it will be easier for users to find relevant information.

I'd appreciate some help with the formatting and compliance with the wiki's style, etc. as well as (obviously) any input from people in the same boat.

I've got some work piling up at the moment, so I'll just provide a brief outline of what I'm thinking of here, and then sometime next week I'll come back and be ready to start actually incorporating it. If anyone wants to go ahead, by all means, do so, and I'll catch up next week.


Preparation: Assuming you have a GUID partition table (GPT), simply resize your current OS X partition in Disk Utility.app, which will leave some free space on the drive (however much you want to allot to Arch). You create and format the arch partitions you want later in the installer. Install rEFIt.

Installation media: My problems with this were discussed in this thread.

I was able to install finally by using Archboot on a live cd.

Installation: following the regular instructions in the installation and beginner's guides and the info already on this page works fairly well here.

Booting Arch from disk: Must boot from the fallback kernel (shows up in the boot menu). Also add options reboot=pci and vga=773 to the kernel line. This will let you reboot from the command line. In order to make these changes permanent you have to add these lines to /boot/grub/menu.lst kernel lines. See example:

# (0) Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /vmlinuz26 root=/dev/disk/by-uuid/YOURUUID rootflags=rw rootfstype=ext4 ro reboot=pci vga 773
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,2)
kernel /vmlinuz26 root=/dev/disk/by-uuid/YOURUUID rootflags=rw rootfstype=ext4 ro reboot=pci vga 773
initrd /kernel26-fallback.img


At this point you should have a working base installation of Arch and can proceed to install packages, etc. (I've found lynx and mutt to be quite helpful in troubleshooting without having to reboot). -- In my macbook 7,1 I had the problem of scsci and sata modules(hooks?) not being probed. I don't know why it was that but that fixed my problem and now can boot in my normal kernel. What I did was basically add these to the hooks and rebuild the boot image. I received help from a more experienced arch user, I will ask him so I can tell you the exact procedure that it made work my macbook7,1 with arch without defaulting to the fallback. -- Here's where I could use a lot of assistance from more experienced users, especially those who have gotten Arch working well on this model macbook. I haven't been able to get sound working or my drivers correctly installed (so xorg doesn't work either). I'm going to make threads in the forum for these issues and will try to make sure any info I get makes its way here. I'm going to try Nouveau soon and will report back if I can get it working.

Other things I've noticed

I edited the MacBook#Installation_of_Mac_OS_X_and_Firmware_Update to include the color profile if someone isn't going to have OSX installed. I ran into this problem while following the wiki exactly -- had to reinstall OSX to get my color profile.

I am currently using the Nouveau driver on my 5,5 MPB -- I'm not sure how to reflect that in the wiki (or if other models can use the same driver) --Telkkar 12:52, 6 January 2011 (EST)

burning

Has anyone else been able to burn DVD's on a Macbook with Arch Linux? Do we need a special driver? (Seems it's a MATSHITA DVD-R UJ-857E.) I just get power calibration errors from growisofs, while wodim tells me it cannot open new session.

Question about primary partitions

It's said in the article that only 4 primary partitions are authorized, including the efi's one. But isn't that only true for MBR partition tables? The macbook pro uses GPT partition tables and thus can have as many primary partition as it supports partitions no?

Rename simply to Mac?

A lot of these instructions work just as well for Mac Minis, and I imagine possibly Macbook Airs, iMacs..etc. Why not rename the page Mac Support or something similar and then focus on any differences between platforms separately.

EFI bootloader

i think we should update bootloader section with latest selection of bootloaders

see the link for more info: [1] forum thread: [2]

--nTia89 (talk) 15:14, 15 July 2012 (UTC)