You are not logged in.
Hi, I thought I'd report my experience installing Arch on this laptop. (Macbook Pro model 11,4 "Core i7" 2.2 15-Inch Integrated Graphics/Iris Only/Force Touch - Mid-2015 Retina Display)
The hardware is as follows:
lspci output:
00:00.0 Host bridge: Intel Corporation Crystal Well DRAM Controller (rev 08)
00:01.0 PCI bridge: Intel Corporation Crystal Well PCI Express x16 Controller (rev 08)
00:01.1 PCI bridge: Intel Corporation Crystal Well PCI Express x8 Controller (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Crystal Well Integrated Graphics Controller (rev 08)
00:03.0 Audio device: Intel Corporation Crystal Well HD Audio Controller (rev 08)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05)
01:00.0 SATA controller: Samsung Electronics Co Ltd Device a801 (rev 01)
03:00.0 Network controller: Broadcom Corporation BCM43602 802.11ac Wireless LAN SoC (rev 01)
04:00.0 Multimedia controller: Broadcom Corporation 720p FaceTime HD Camera
05:00.0 PCI bridge: Intel Corporation Device 156d
06:00.0 PCI bridge: Intel Corporation Device 156d
06:03.0 PCI bridge: Intel Corporation Device 156d
06:04.0 PCI bridge: Intel Corporation Device 156d
06:05.0 PCI bridge: Intel Corporation Device 156d
06:06.0 PCI bridge: Intel Corporation Device 156d
07:00.0 System peripheral: Intel Corporation Device 156c
lsmod output:
Module Size Used by
snd_hda_codec_hdmi 53248 1
mousedev 20480 0
wl 6303744 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 20480 0
brcmfmac 225280 0
coretemp 16384 0
snd_hda_codec_cirrus 20480 1
snd_hda_codec_generic 65536 1 snd_hda_codec_cirrus
brcmutil 16384 1 brcmfmac
hid_generic 16384 0
kvm_intel 155648 0
i915 1024000 7
cfg80211 483328 2 wl,brcmfmac
kvm 446464 1 kvm_intel
snd_hda_intel 28672 0
snd_hda_controller 28672 1 snd_hda_intel
iTCO_wdt 16384 0
snd_hda_codec 114688 5 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,snd_hda_codec_cirrus
crct10dif_pclmul 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
applesmc 20480 0
crc32_pclmul 16384 0
led_class 16384 1 applesmc
crc32c_intel 24576 0
input_polldev 16384 1 applesmc
bdc_pci 16384 0
mmc_core 110592 1 brcmfmac
btusb 40960 0
ghash_clmulni_intel 16384 0
snd_hwdep 16384 1 snd_hda_codec
mac_hid 16384 0
evdev 24576 14
drm_kms_helper 102400 1 i915
aesni_intel 172032 0
snd_pcm 90112 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
aes_x86_64 20480 1 aesni_intel
bluetooth 442368 1 btusb
drm 282624 8 i915,drm_kms_helper
snd_timer 28672 1 snd_pcm
lrw 16384 1 aesni_intel
usbhid 49152 0
i2c_i801 20480 0
gf128mul 16384 1 lrw
rfkill 24576 4 cfg80211,bluetooth
snd 69632 8 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
glue_helper 16384 1 aesni_intel
intel_gtt 20480 1 i915
mei_me 20480 0
ablk_helper 16384 1 aesni_intel
i2c_algo_bit 16384 1 i915
hid 110592 2 hid_generic,usbhid
cryptd 20480 3 ghash_clmulni_intel,aesni_intel,ablk_helper
sbs 16384 0
mei 77824 1 mei_me
pcspkr 16384 0
lpc_ich 24576 0
i2c_core 53248 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
soundcore 16384 2 snd,snd_hda_codec
shpchp 36864 0
sbshc 16384 1 sbs
apple_gmux 16384 0
battery 20480 0
video 24576 2 i915,apple_gmux
apple_bl 16384 1 apple_gmux
ac 16384 0
processor 28672 0
button 16384 1 i915
sch_fq_codel 20480 2
ext4 512000 1
crc16 16384 2 ext4,bluetooth
mbcache 20480 1 ext4
jbd2 90112 1 ext4
sd_mod 36864 2
xhci_pci 16384 0
xhci_hcd 155648 1 xhci_pci
ahci 36864 1
libahci 28672 1 ahci
usbcore 200704 5 btusb,brcmfmac,usbhid,xhci_hcd,xhci_pci
libata 184320 2 ahci,libahci
usb_common 16384 1 usbcore
scsi_mod 147456 2 libata,sd_mod
I could not get it to boot with Grub from a separate EFI partition even after installing aic94xx-firmware and bfa-firmware, it just froze after 'Loading Initial Ramdisk'. Booting with Gummiboot worked fine.
Xorg works with the Intel graphics driver, and have installed KDE/Plasma 5. Keyboard and display backlight are adjustable in Battery and Brightness.
Wifi works with the default broadcom driver, although wifi-menu shows several Wifi networks, some are missing.
The touchpad is not recognised by any of the different drivers available: xf86-input-mtrack, xf86-input-multitouch, or synaptics, and just works as a normal mouse without gestures, multi-touch, or right mouse button.
I haven't tested sound or camera yet.
Update: Sound is good. Facetime HD camera is not currently supported.
Last edited by leehanken (2015-05-31 13:40:43)
Offline
Thanks for the info! I'm trying to get Arch running on the 13" model and I get incredible screen flicker whenever I start X and then move to a different TTY. Have you happened to experience anything similar?
Offline
I did experience flickering with the integrated Intel Iris Pro related to various actions usually involving mesa compositing.
I can't say exactly what resolved it, but it hasn't happened for a while.
At one point I tried pressing Alt+Shift+F12 in KDE to toggle compositing.
And at one point I added
set MODULES="i915"
in /etc/mkinitcpio.conf and re-built and installed the initial ramdisk environment to enable the intel graphics driver early in the boot process.
Offline
Thanks, leehanken! I ended up fixing my screen issue by downloading a driver, I think, but I can't for the life of me find the page that had the instructions again.
Have you had any luck with the function keys? When I use xev to monitor X events, it seems that holding down the fn key and pressing any of the function keys is the same as just pressing the function key alone.
Other than that and the touchpad, I've got a pretty good xmonad setup going.
Offline
whitebrice
I think there is no specific driver for the 'Apple Internal Keyboard / Trackpad' (id 05ax 0274), hence it is just treated as a generic mouse and keyboard. I think it loads module 'hid_generic' / 'usbhid'.
The result is that none of the various trackpad drivers will detect it as an actual trackpad and for the keyboard there is no difference between pressing Fn+F* vs. pressing F*.
Glad you're happy with your xmonad setup.
Offline
I'm running NixOS, but I got the FN keys and multitouch working with a couple patches, https://github.com/fooblahblah/nixos/tr … ux/patches. I'm still trying to get suspend to behave, but it doesn't seem to work. On lid close the display backlight is off, but the keyboard backlight is on and the fans start roaring after a minute or so - the system is non-responsive otherwise.
Good luck and hopefully with more people running Linux on these newer machines we can make some progress!
Offline
leehanken:
Thanks for the info. I have a much better understanding of what's going on now.
fooblahblah:
Thanks for the patches, but I fear I'll have to wait till they get introduced to the kernel. I wouldn't where to start compiling my own drivers. ^_^
Offline
I'm running NixOS, but I got the FN keys and multitouch working with a couple patches, https://github.com/fooblahblah/nixos/tr … ux/patches.
Thanks fooblahblah, with those two patches installed the function keys respond and show the appropriate function icon on screen, and multitouch works and can be configured in KDE settings.
Offline
Aaaand I should have known there'd be a page on the wiki for building and patching the kernel.
Thanks fooblahblah, everything's working great now!
Offline
Glad it's patched up and working now.
I'm still flailing with the poweroff stuff. Has anyone gotten suspend or poweroff (without using the power key) to work? Mine just hangs
$ sudo poweroff
.....
Jun 16 10:38:46 nixos systemd[1]: Starting Shutdown.
Jun 16 10:38:46 nixos systemd[1]: Reached target Shutdown.
Jun 16 10:38:46 nixos systemd[1]: Starting Final Step.
Jun 16 10:38:46 nixos systemd[1]: Reached target Final Step.
Jun 16 10:38:46 nixos systemd[1]: Starting Reboot...
Jun 16 10:38:46 nixos systemd[1]: Shutting down.
Jun 16 10:38:46 nixos systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Jun 16 10:38:46 nixos systemd-journal[404]: Journal stopped
Then the machine just sits there and usually the fan will start cranking up after 30s or so. I've tried just about all the reboot flags such as reboot=acpi, etc
Offline
I have the same issue, reboot works but neither shutdown nor poweroff actually power off after halting the system. I haven't installed anything beyond dialog for wifi
Last edited by Joking_Phantom (2015-06-18 20:23:10)
Offline
Suspend and poweroff usually work fine for me. Rarely they'll hang and systemd reports that line about a stop job running, but I think I have something misconfigured in netctl that's causing that. Let me know if I can provide any information that might help.
Last edited by whitebrice (2015-06-20 01:21:33)
Offline
@whitebrice
What kernel flags do you have? What bootloader? And finally, did you modify anything in OSX? Thanks for the help!
Offline
I'm using gummibot and the only flag I have is "root=/dev/sda2 rw". When I installed arch I wiped all the factory partitions from the disk and started from scratch, so I never had to make any changes in OSX.
Offline
I'm having similar issues with suspend and poweroff. I have and AMD/Iris model that is triple booting OSX, Win 10, and Arch. I have yet to get gpu switching working as I915 drivers have been refusing to switch. Has anyone had any success with either of these problems?
Offline
In case it helps anyone else with the suspend issue, I noticed that on my MBP suspend would work the first time after a boot, but every subsequent time I tried to suspend it would immediately wake. Disabling XHC1 in /proc/acpi/wakeup fixed the issue for me.
Offline
whitebrice: thanks for the info. Are you seeing this with the mid-2015 MBP? I haven't yet had suspend work at all (even on first boot). When I suspend it doesn't immediately wake, the screen goes blank and the CPU is pegged at 100%, essentially converting the MBP in to a space heater.
Disabling XHC1 will prevent bluetooth devices from being able to wake the machine. Has anyone else, with the suspend issue that I described, tried disabling the XHC1 wakeup, or even disabling bluetooth in general? I won't be around my MBP for a few days.
Has anyone else had any successes recently? Anything else that we can be trying to diagnose the suspend issue?
Offline
@markdrago I've got the 13", so it's the 12,1 model. I think it's early 2015.
Last edited by whitebrice (2015-08-05 00:55:59)
Offline
Hello!
I've been tinkering around with my 2015 15" for the past few weeks and I thought I'd just share how far I've gotten. (I have the dual graphics model)
Working..
- Keyboard/Touchpad issues are solved using the linux-mainline kernel from aur4 (WiFi works, takes a few seconds to load on startup)
- To switch graphics I used this program on OS X: https://software.com/mac/apps/gfxcardstatus/2.2.1 and this .efi to enable the integrated graphics: https://github.com/0xbb/apple_set_os.efi (@tech2077)
Not Working...
- Bluetooth
- 5Ghz Wifi
- Suspend/Shutdown (I just restart and then use the shutdown option in rEFInd)
- This one has given me a nice little stovetop to cook upon multiple times :\
Last edited by rockon999 (2015-08-06 05:18:03)
Offline
@rockon999 Are you trying to connect to 5GHz wifi with netctl or NetworkManager? I can connect to my 5 GHz network with netctl, but not with NetworkManager. I have the 13" model, but the wifi cards should be the same.
Offline
@whitebrice
I can't connect to 5GHz using either.
Offline
Not sure if folks saw it on the Macbook Wiki, but 4.2.0-rc5 obviates the needs for the multitouch and keyboard patches.
Also, the darn thing actually attempts to suspend now, but resumes immediately, much like described by folks using the XHC1 wakeup fix. That doesn't seem to help and as far I can tell the issue is the brcmfmac driver is not behaving. I've tried removing the brcmfmac driver before suspend, but that causes the "cooking eggs" syndrome
So, I think we're getting closer.
Note: this is Macbookpro11,4 (mid-2015 15")
Aug 05 19:40:34 nixos systemd-logind[1828]: Lid closed.
Aug 05 19:40:34 nixos wpa_supplicant[1985]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:24:a5:c8:38:43 reason=3 locally_generated=1
Aug 05 19:40:34 nixos systemd[1]: Stopping Name Service Cache Daemon...
Aug 05 19:40:34 nixos systemd[1]: Starting Name Service Cache Daemon...
Aug 05 19:40:34 nixos systemd[1]: Started Name Service Cache Daemon.
Aug 05 19:40:35 nixos wpa_supplicant[1985]: nl80211: deinit ifname=p2p-dev-wlp3s0 disabled_11b_rates=0
Aug 05 19:40:35 nixos dbus[1857]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Aug 05 19:40:35 nixos systemd[1]: Starting Network Manager Script Dispatcher Service...
Aug 05 19:40:35 nixos systemd[1]: Starting Pre-Sleep Actions...
Aug 05 19:40:35 nixos dbus[1857]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug 05 19:40:35 nixos systemd[1]: Started Network Manager Script Dispatcher Service.
Aug 05 19:40:35 nixos systemd[1]: Started Pre-Sleep Actions.
Aug 05 19:40:35 nixos systemd[1]: Starting Sleep.
Aug 05 19:40:35 nixos systemd[1]: Reached target Sleep.
Aug 05 19:40:35 nixos systemd[1]: Starting Suspend...
Aug 05 19:40:35 nixos nm-dispatcher[2989]: Dispatching action 'down' for wlp3s0
Aug 05 19:40:35 nixos systemd-sleep[2994]: Suspending system...
Aug 05 19:40:35 nixos kernel: PM: Syncing filesystems ... done.
Aug 05 19:40:43 nixos kernel: PM: Preparing system for sleep (mem)
Aug 05 19:40:43 nixos kernel: Freezing user space processes ...
Aug 05 19:40:43 nixos kernel: brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
Aug 05 19:40:43 nixos kernel: brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
Aug 05 19:40:43 nixos kernel: brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
Aug 05 19:40:43 nixos kernel: (elapsed 5.980 seconds) done.
Aug 05 19:40:43 nixos kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Aug 05 19:40:43 nixos kernel: PM: Suspending system (mem)
Aug 05 19:40:43 nixos kernel: Suspending console(s) (use no_console_suspend to debug)
Aug 05 19:40:43 nixos kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Aug 05 19:40:43 nixos kernel: sd 0:0:0:0: [sda] Stopping disk
Aug 05 19:40:43 nixos kernel: brcmfmac: brcmf_pcie_suspend: Timeout on response for entering D3 substate
Aug 05 19:40:43 nixos kernel: pci_legacy_suspend(): brcmf_pcie_suspend+0x0/0x1d0 [brcmfmac] returns -5
Aug 05 19:40:43 nixos kernel: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -5
Aug 05 19:40:43 nixos kernel: PM: Device 0000:03:00.0 failed to suspend async: error -5
Aug 05 19:40:43 nixos kernel: PM: Some devices failed to suspend, or early wake event detected
Aug 05 19:40:43 nixos kernel: rtc_cmos 00:02: System wakeup disabled by ACPI
Aug 05 19:40:43 nixos kernel: sd 0:0:0:0: [sda] Starting disk
Aug 05 19:40:43 nixos kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Aug 05 19:40:43 nixos kernel: ata1.00: unexpected _GTF length (8)
Aug 05 19:40:43 nixos kernel: ata1.00: unexpected _GTF length (8)
Aug 05 19:40:43 nixos kernel: ata1.00: configured for UDMA/133
Aug 05 19:40:43 nixos kernel: PM: resume of devices complete after 449.982 msecs
Aug 05 19:40:43 nixos kernel: PM: Finishing wakeup.
Offline
I have Macbook Pro 11,4 (2015 Retina 15")
I got $(reboot -p) works by adding reboot=pci in the kernel parameter.
but $(shutdown -P) and $(systemctl poweroff)still doesn't work.
Is there any kernel patches to solve this problem?
Offline
@ss1h2a3tw
None that I know of. Reboot has always worked for me. I have an 11,5.
Offline
@rockon999
Reboot works for me no matter if I add the kernel parameter.
But I can only shutdown my macbook by reboot -p with "reboot=pci" in the kernel parameter.
Without it , when I shutting down the computer only hangs at the shuttdown log.
Offline