You are not logged in.
New package I created in the AUR which fixes the brightness key functionality as well as suspend support (systemctl poweroff also works): https://aur.archlinux.org/pkgbase/linux-macbook-pro/
This didn't work for me, however looking at the original bug report, do you think you need to be using the one in comment 172 instead of the one Chen Yu provided?
Offline
Did you follow the instructions regarding the kernel boot argument and file to place in /etc/tmpfiles.d found in the AUR comment section? The supplied package has been confirmed as working on two MacBook Pro 11,5 laptops, which model are you running?
Thank you for the feedback!
Offline
Did you follow the instructions regarding the kernel boot argument and file to place in /etc/tmpfiles.d found in the AUR comment section? The supplied package has been confirmed as working on two MacBook Pro 11,5 laptops, which model are you running?
Thank you for the feedback!
Me bad, I made a mistake in configuring refind.conf, the power off issue is fixed for me. I'll test suspend and brightness in the morning. Thanks for your work on this!
Offline
Actually I couldn't wait, suspend and brightness both work great with this patched kernel. Thanks again for your work on this.
Offline
Glad it's working as advertised for you! How awesome is it just being able to shut the lid and have everything work on resume? :-)
Offline
Glad it's working as advertised for you! How awesome is it just being able to shut the lid and have everything work on resume? :-)
Awesome indeed - thanks and confirmed working.
Offline
Just updated to 4.5.6
Offline
Just updated to 4.5.6
Hi, thanks for the package , but when I'm trying to install with yaourt fails here
==> Verificando las firmas de las fuentes con gpg…
linux-4.5.tar ... HA FALLADO (clave pública desconocida 79BE3E4300411886)
patch-4.5.6 ... HA FALLADO (clave pública desconocida 38DBBDC86092693E)
==> ERROR: ¡Una o más firmas PGP no pudieron ser verificadas!
==> ERROR: Makepkg no ha podido compilar linux-macbook-pro.
==> ¿Reiniciar la compilación de linux-macbook-pro? [s/N]
Sorry It's in spanish , it says something like this
==> Verifying signatures source with gpg...
linux-4.5.tar ...FAIL ( public key unknown 79BE3E4300411886)
patch-4.5.6 .... FAIL (public key unknown 38DBBDC86092693E)
==> ERROR: ¡One or more PGP signatures could not be verified!
==> ERROR: makepkg has been unable to compile linux-macbook-pro.
==> Restart compile of linux-macbook-pro ?
Is better to install the package manually avoiding the use of yaourt ?
Thanks and sorry for my english.
Offline
Has to do with third-party GPG keys:
http://allanmcrae.com/2015/01/two-pgp-k … rch-linux/
Specifically you need to accept and locally sign their keys using the following commands:
To get the key use “gpg --recv-key <KEYID>” and trust it (once suitably verified) using “gpg --lsign <KEYID>“
Replace the <KEYID> in those commands with both 79BE3E4300411886 and 38DBBDC86092693E.
Offline
For the most part the laptop is working great now, especially with m3thodic's patched kernel fixing the power issues. However I still have a few minor issues as follows:
1. At some point going to the gnome shell overview (i.e. press the super key) becomes quite sluggish? I never had this issue on my last laptop which used the Intel GPU instead of the Macbook's 370X and it doesn't seem to be gnome-shell itself as re-starting the shell or logging out and in doesn't fix the issue, only rebooting the laptop does.
2. I get serious lag with my bluetooth mouse when wifi is enabled, seems to be an interference problem and doing some research looks like OSX users have the same issue. Disabling wifi fixes the issue but is non-starter for me as an option in many locations.
3. I'm also still very interested in what CPU temps other folks are getting, I never seem to drop below 55 C for CPU temps and the temps while working (word processing, answering e-mail, etc) are in the 60 - 65 range which seems high to me though I understand macbooks tend to run hotter. The 370X tends to run between 63 and 68 C.
Offline
I spent a decent amount of time trying various options (cpufreqd, cpupower, acpid, macfanctld, etc) but eventually settled on the AUR packages mbpfan-git and pstate-frequency.
Here are the contents of my /etc/mbpfan.conf:
[general]
min_fan_speed = 4000 # default is 2000
max_fan_speed = 6500 # default is 6200
low_temp = 55 # try ranges 55-63, default is 63
high_temp = 60 # try ranges 58-66, default is 66
max_temp = 84 # do not set it > 90, default is 86
polling_interval = 1 # default is 7
I haven't concluded the easiest way to deal with the CPU frequency depending on AC power being connected or not, so I have just been running this manually when needed:
$ sudo pstate-frequency -S -g performance -t 0 -m 2800000
Hope this helps.
Last edited by m3thodic (2016-06-10 04:22:36)
Offline
Updated package based on core/linux 4.6.2 in the AUR: https://aur.archlinux.org/packages/linux-macbook-pro
Offline
Anyone reading this thread that is having issues with CPU frequency scaling? I have a patch I am testing that have bits taken from the master branch on github for the intel-pstate driver.
Offline
Just a FYI linux-macbook-pro has been renamed in the AUR to just linux-macbook after extensive testing of suspending as well as the backported intel_pstate driver on my MacBook Air.
Offline
I've been running linux-macbook-pro on a macbookpro12,1 for a few days now and apart from having an occasional freeze I was unable to suspend yesterday evening. (4.6.3-2-macbook-pro)
Only ARPT and XHC1 were enabled in /proc/acpi/wakeup and even after disabling those the macbook resumed right after suspending.
I've attempted to suspend after unloading both thunderbolt and brcmfmac modules but that didn't help either. As I ran out of time I had to reboot to get suspend working again.
Will attempt to get some more debugging next time.
Offline
I've been running the linux-macbook kernel as well for a few days, and everything is working perfectly. The only issue that I have is that the brightness keys still does not work for me. I have done everything that is said to configure. Power off works, as well as suspend. Flawlessly. I believe it could be something to do with the fact that I have the Radeon graphics card in mine? If anyone has any idea, i'd appreciate it so much. Thank you.
Offline
Try using this utility: https://aur.archlinux.org/packages/gpu-switch/
Also for reference: https://bugzilla.kernel.org/show_bug.cgi?id=105051#c35
Offline
Just as a quick note, I am running linux-macbook 4.7.1 on my Macbook Air and have confirmed the brightness keys still work with the current apple-gmux patch.
Offline
The Touchpad (force touch) seems to drain battery at a huge rate. Powertop reports 11.2W for "USB device: Apple Internal Keyboard / Trackpad (Apple Inc.)" (that's actually 10 times what the display uses!).
Does anyone else have this issue? Has anyone gotten around it. I'm moving over from a MBA 2013, and I'm getting just 6hours battery with the same setup (I had 10-11hs on the MBA).
Offline
I am having a problem with the 15 inch 11,5. I have the latest AMD drivers installed DE is XFCE4 (but problem is not the DE, tried everything else still persists)
The problem is when i connect both 27 inch thunderbolt apple displays one one has output. Yet all the external ports such as USB, Ethernet and even thunderbolt work fine. I get get sound out of both or both at same time (thank god for pulse audio) and can access both HD cams.
No one seems to have any answer for me. Anyone else getting this problem?
Offline
Hello m3thodic, first of all I would like to thank you for your effort doing this kernel.
Then I want to report the issues I am facing:
I had the official kernel linux-4.8.13-1 and Suspend/Resume was working fine, only the poweroff failed.
So I upgraded to the latest kernel and Suspend/Resume stopped to work, so I tried your kernel,
Now the poweroff works good, but I still have issues with Suspend/Resume, it just hangs when trying to resume.
I have a 15" inch macbook pro.
Offline
Hello m3thodic, first of all I would like to thank you for your effort doing this kernel.
Then I want to report the issues I am facing:
I had the official kernel linux-4.8.13-1 and Suspend/Resume was working fine, only the poweroff failed.
So I upgraded to the latest kernel and Suspend/Resume stopped to work, so I tried your kernel,
Now the poweroff works good, but I still have issues with Suspend/Resume, it just hangs when trying to resume.I have a 15" inch macbook pro.
Have you tried to enable the macbook-wakeup.service file I bundle with the kernel?
Try this and let us know:
sudo systemctl enable --now macbook-wakeup.service
Offline
Yes m3thodic, I read all the messages, and enabled the service:
macbook-wakeup.service - Configure device events for linux-macbook
Loaded: loaded (/usr/lib/systemd/system/macbook-wakeup.service; enabled; vendor preset: disabled)
Active: active (exited) since Mon 2017-03-27 08:20:38 CEST; 54min ago
Process: 423 ExecStart=/bin/sh -c awk '$1 ~ /^LID/ && $3 ~ /disabled/ {print $1}' /proc/acpi/wakeup | xargs -I{} echo '{}' > /proc/acpi/wakeup (code=exited, status=0/SUCCESS)
Process: 391 ExecStart=/bin/sh -c awk '$1 !~ /^LID/ && $3 ~ /enabled/ {print $1}' /proc/acpi/wakeup | xargs -I{} echo '{}' > /proc/acpi/wakeup (code=exited, status=0/SUCCESS)
Main PID: 423 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/macbook-wakeup.service
Offline
Hello m3thodic, first of all I would like to thank you for your effort doing this kernel.
Then I want to report the issues I am facing:
I had the official kernel linux-4.8.13-1 and Suspend/Resume was working fine, only the poweroff failed.
So I upgraded to the latest kernel and Suspend/Resume stopped to work, so I tried your kernel,
Now the poweroff works good, but I still have issues with Suspend/Resume, it just hangs when trying to resume.I have a 15" inch macbook pro.
Don't know if this matters, but I was experiencing the same issue for the last 4.9 and this 4.10 linux macbook kernel. After playing around with it for awhile, I realized that I was able to get Suspend / Resume to work with only using the apple-gmux.patch and the poweroff-quirk-workaround.patch. I also installed the macbook-wakeup.service file. I do not install the macbook-suspend.patch. I am running the MBPr 11,5 - 2015 version. Currently using the Linux CK LTS 4.9.17 with same favorable results
Offline
Ok, I cannot explain the reason, but after a fresh poweroff then poweron, everything works like a charm. So thanks again for this kernel!
Offline