Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2014-02-12 00:59:09
Size: 10547
Editor: ?KjoHansiGlaz
Comment:
Revision 8 as of 2014-02-19 18:21:42
Size: 11104
Editor: ?KjoHansiGlaz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 48: Line 48:
I fixed that by copying /boot/efi/`EFI/debian/grubx64.efi` to `EFI/boot/bootx64.efi`
I found three ways to fix that :

- using the bless command from OS X (available from a recovery disk terminal). Mount your EFI partition as /Volumes.efi and issue te following commands as root: `bless --folder /Volumes/efi/EFI/debian --file /Volumes/efi/EFI/Debian/grubx64.efi --label Debian --setBoot` and `bless --mount /Volumes/efi/EFI/debian --file /Volumes/efi/EFI/Debian/grubx64.efi --label Debian --setBoot`

- copying /boot/efi/`EFI/debian/grubx64.efi` to `EFI/boot/bootx64.efi` (this doesn't require OS X but won't survive a grub reinstall)

- using a refit or refind boot CD (you don't need it with the two above options)

Translation(s): none

DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Models covered
Apple MacBook Pro 9,2

Sub-models options :
- CPU : Intel(R) Core(TM) i5-3210M

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

{i}

LAN network card:

{OK}

Detect CD/DVD:

{OK}

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

{i}

Sleep / Suspend

{OK}

Xorg

{OK}

- OpenGL

{OK}

- Resize-and-Rotate(randr)

{OK}

Switch to External Screen

[?]

Mouse

- Built-in (Touchpad)

{OK}

Build-in SDHC

{i}

Wireless/Wifi

X-(

Bluetooth

[?]

Keyboard's Hotkeys

{OK}

Audio

{OK}

~-Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Important Note

Install of Debian Jessie from 20140116 nightly installer went fine, but after the install it will refuse to boot.

I found three ways to fix that :

- using the bless command from OS X (available from a recovery disk terminal). Mount your EFI partition as /Volumes.efi and issue te following commands as root: bless --folder /Volumes/efi/EFI/debian --file /Volumes/efi/EFI/Debian/grubx64.efi --label Debian --setBoot and bless --mount /Volumes/efi/EFI/debian --file /Volumes/efi/EFI/Debian/grubx64.efi --label Debian --setBoot

- copying /boot/efi/EFI/debian/grubx64.efi to EFI/boot/bootx64.efi (this doesn't require OS X but won't survive a grub reinstall)

- using a refit or refind boot CD (you don't need it with the two above options)

Configuration

Tested system runs jessie/testing and uses systemd as init.

Display

Works as expected with i915.

Adjusting screen and keyboard backlight brightness works fine under X11.

I didn't try to attach an external screen.

Audio

Works fine out of the box. Adjusting volume with the keyboard works, as well as multimedia keys.

Mouse

Touchpad works out of the box.

Better support can be achieved with the xserver-xorg-input-mtrack driver.

Power Management

Suspend to RAM

Suspend to RAM works out of the box, at least with systemd.

Suspend to disk

Hibernation and resume works with systemd when booting off the hard drive or USB with the b43 module unloaded.

Dropping the following script in /lib/systemd/system-sleep/ achieve that:

if [ "$2" = "hibernate" ] ; then
    if [ "$1" = "pre" ] ; then
        logger -t "hibernate-fixup" "Unloading module b43"
        modprobe -r b43
    elif [ "$1" = "post" ] ; then
        logger -t "hibernate-fixup" "Reloading module b43"
        modprobe b43
    fi
fi

The touchpad is unresponsive after wakeup, but this can be fixed by unloading and reloading the bcm5972 module.

Dropping the following script in /lib/systemd/system-sleep/ achieve that:

if [ "$2" = "hibernate" ] ; then
    if [ "$1" = "pre" ] ; then
        logger -t "hibernate-fixup" "Unloading module bcm5974"
        modprobe -r bcm5974
   elif [ "$1" = "post" ] ; then
        logger -t "hibernate-fixup" "Reloading module bcm5974"
        modprobe bcm5974
   fi
fi

Booting off an SD card seems to break resume from hibernation. This might be related to the following kernel message:

irq 17: nobody cared (try booting with the "irqpoll" option)
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G         C   3.12-1-amd64 #1 Debian 3.12.9-1
Call Trace:
 <IRQ>  [<ffffffff8148be76>] ? dump_stack+0x41/0x51
 [<ffffffff810a7298>] ? __report_bad_irq+0x28/0xc0
 [<ffffffff810a76aa>] ? note_interrupt+0x13a/0x200
 [<ffffffff810a524d>] ? handle_irq_event_percpu+0xcd/0x1b0
 [<ffffffff810a5363>] ? handle_irq_event+0x33/0x50
 [<ffffffff810a8138>] ? handle_fasteoi_irq+0x58/0x100
 [<ffffffff81014338>] ? handle_irq+0x18/0x30
 [<ffffffff81013ed0>] ? do_IRQ+0x40/0xb0
 [<ffffffff8149192d>] ? common_interrupt+0x6d/0x6d
 <EOI>  [<ffffffff81377d6d>] ? cpuidle_enter_state+0x4d/0xc0
 [<ffffffff81377e96>] ? cpuidle_idle_call+0xb6/0x1f0
 [<ffffffff8101ae75>] ? arch_cpu_idle+0x5/0x30
 [<ffffffff810a457e>] ? cpu_startup_entry+0xde/0x270
 [<ffffffff818c0eb8>] ? start_kernel+0x42a/0x435
 [<ffffffff818c08b3>] ? repair_env_string+0x58/0x58
 [<ffffffff818c0120>] ? early_idt_handlers+0x120/0x120
 [<ffffffff818c06ce>] ? x86_64_start_kernel+0x10c/0x11b
handlers:
[<ffffffffa0115ea0>] sdhci_irq [sdhci]
Disabling IRQ #17

Bluetooth

Bluetooth adapter is recognized but I didn't test it.

WiFi

BCM4331 wireless card requires a firmware installed by the firmware-b43-installer package.


System Summary

lspci

00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM77 Express Chipset LPC Controller [8086:1e57] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
01:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe [14e4:16b4] (rev 10)
01:00.1 SD Host controller [0805]: Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader [14e4:16bc] (rev 10)
02:00.0 Network controller [0280]: Broadcom Corporation BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)
03:00.0 FireWire (IEEE 1394) [0c00]: LSI Corporation FW643 [TrueFire] PCIe 1394b Controller [11c1:5901] (rev 08)

lsusb

lsusb

Bus 004 Device 006: ID 05ac:0252 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
Bus 004 Device 005: ID 05ac:8242 Apple, Inc. Built-in IR Receiver
Bus 004 Device 009: ID 05ac:821d Apple, Inc. 
Bus 004 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 004 Device 003: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 05ac:8509 Apple, Inc. FaceTime HD Camera
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.


CategoryLaptopComputer