You are not logged in.

#101 2016-05-31 23:32:44

gnunn
Member
Registered: 2013-10-21
Posts: 87

Re: Macbook Pro 2015 Retina 15"

m3thodic wrote:

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?

https://bugzilla.kernel.org/show_bug.cgi?id=103211#c172

Offline

#102 2016-05-31 23:58:36

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

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

#103 2016-06-01 00:05:19

gnunn
Member
Registered: 2013-10-21
Posts: 87

Re: Macbook Pro 2015 Retina 15"

m3thodic wrote:

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

#104 2016-06-01 00:25:22

gnunn
Member
Registered: 2013-10-21
Posts: 87

Re: Macbook Pro 2015 Retina 15"

Actually I couldn't wait, suspend and brightness both work great with this patched kernel. Thanks again for your work on this.

Offline

#105 2016-06-01 00:52:20

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

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

#106 2016-06-01 01:19:20

mephux
Member
Registered: 2016-06-01
Posts: 1

Re: Macbook Pro 2015 Retina 15"

m3thodic wrote:

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

#107 2016-06-02 04:55:36

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

Just updated to 4.5.6

Offline

#108 2016-06-08 16:04:18

kevinlopez
Member
Registered: 2016-06-08
Posts: 1

Re: Macbook Pro 2015 Retina 15"

m3thodic wrote:

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

#109 2016-06-09 16:22:00

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

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

#110 2016-06-09 17:40:21

gnunn
Member
Registered: 2013-10-21
Posts: 87

Re: Macbook Pro 2015 Retina 15"

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

#111 2016-06-10 04:22:15

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

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

#112 2016-06-20 11:01:21

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

Updated package based on core/linux 4.6.2 in the AUR: https://aur.archlinux.org/packages/linux-macbook-pro

Offline

#113 2016-06-23 22:29:56

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

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

#114 2016-07-05 23:38:01

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

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

#115 2016-07-07 07:52:41

twouters
Member
Registered: 2010-04-01
Posts: 23

Re: Macbook Pro 2015 Retina 15"

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

#116 2016-08-21 16:40:26

Iyyel
Member
From: Australia in the US of A
Registered: 2015-12-20
Posts: 36
Website

Re: Macbook Pro 2015 Retina 15"

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

#117 2016-08-22 02:04:42

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

Offline

#118 2016-08-22 02:06:35

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

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

#119 2017-02-11 15:59:54

hobarrera
Member
From: Amsterdam, NL
Registered: 2011-04-12
Posts: 354
Website

Re: Macbook Pro 2015 Retina 15"

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

#120 2017-03-07 20:19:59

ShadowDXS
Member
From: Tucson AZ
Registered: 2016-07-28
Posts: 2

Re: Macbook Pro 2015 Retina 15"

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

#121 2017-03-27 06:52:42

dabuti
Member
Registered: 2017-03-27
Posts: 3

Re: Macbook Pro 2015 Retina 15"

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

#122 2017-03-27 07:09:11

m3thodic
Member
Registered: 2004-08-24
Posts: 66

Re: Macbook Pro 2015 Retina 15"

dabuti wrote:

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

#123 2017-03-27 07:16:39

dabuti
Member
Registered: 2017-03-27
Posts: 3

Re: Macbook Pro 2015 Retina 15"

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

#124 2017-03-27 20:18:06

crencom
Member
Registered: 2017-01-14
Posts: 2

Re: Macbook Pro 2015 Retina 15"

dabuti wrote:

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

#125 2017-03-29 06:33:21

dabuti
Member
Registered: 2017-03-27
Posts: 3

Re: Macbook Pro 2015 Retina 15"

Ok, I cannot explain the reason, but after a fresh poweroff then poweron, everything works like a charm. So thanks again for this kernel! big_smile

Offline

Board footer

Powered by FluxBB