Package Base Details: linux-macbook

Git Clone URL: https://aur.archlinux.org/linux-macbook.git (read-only, click to copy)
Keywords: kernel macbook mbp suspend
Submitter: m3thodic
Maintainer: greg2010
Last Packager: greg2010
Votes: 43
Popularity: 0.104493
First Submitted: 2016-07-05 23:22
Last Updated: 2020-11-19 06:48

Latest Comments

1 2 3 4 5 6 ... Next › Last »

greg2010 commented on 2020-12-08 19:22

@ohell happy to hear your issues were resolved. The resume hook, AFAIK, is required if you want to have suspend to disk (hibernation) functionality. Suspend to RAM should work fine without it.

@jso8910: this package is a fork of upstream Arch kernel, with a patch addressing Apple hardware wart that would cause the OS to crash on shutdown. In addition to that, it provides a systemd unit to prevent spurious wakeups.

If you're not experiencing issues with the shutdown or suspend to ram, you probably do not need this package. As to why this package is so large, it builds the kernel from source.

jso8910 commented on 2020-12-08 13:27

Just a quick question: What do I need this package for? I am going to dual boot linux on my macbook pro 14,1, and I am wondering what issues this fixes. Plus, I am wondering why it takes so long to install and takes so much storage. I had a 32 GB Manjaro install a while back and this package took up (at its peak during the build) at least 10-15 GB of storage. I am reluctant to install this based on its large size, so I need some actual benefits to it because none of the comments nor the description is very clear.

ohell commented on 2020-11-27 16:43

5.9.9 update is looking good. Suspend and hibernate working as expected, and the intermittent issues with Bluetooth also look to be resolved. Thanks @greg2010!

When I was trying to track down the hibernation issues, I noticed that Arch wiki says initramfs needs to be configured with resume hook unless it is based on systemd hook. However, both these hooks are missing in my /etc/mkinitcpio.conf:

HOOKS="base udev autodetect modconf block keyboard keymap filesystems"

But hibernate still works. Just curious why this is? Would adding the resume hook and rebuilding intramfs be a good idea?

greg2010 commented on 2020-11-19 07:07

@ohell I do not know what could've possibly caused this. My guess it's an upstream change, but it could also be one of the patches I inherited with this package in conjunction with an upstream change. I'm not experiencing this with 11.2, and do not have access to 11.1, which makes it infeasible to debug.

If you would like to investigate further, here's a helpful article on kernel.org: https://www.kernel.org/doc/html/latest/power/basic-pm-debugging.html Note that you will need to rebuild the kernel with CONFIG_PM_DEBUG flag.

The usb error message usually indicates a malfunctioning USB device, or a hardware issue with the port, although I have seen this happen in the past with no visible consequences.

5.9.9 is now published. As usual, please let me know if there are any issues.

ohell commented on 2020-11-15 14:41

Hello again,

I have an update on suspend failing, journal output said swap not found. So I looked at fstab, and there was no line to mount the swap partition. Add that seems to have fixed the problem (at least I haven't had a reboot in in last 3 lid opens). I am not sure how this could have happened as part of the kernel update. Maybe you have an idea @greg2010?

Apart from this, only other suspicious thing is I have strted these messages in dmesg error log:

usb usb2-port3: Cannot enable. Maybe the USB cable is bad?

No idea if they they are serious or not.

ohell commented on 2020-11-13 10:35

Hi @greg2010.

I use pamac and yay. Neither seem to have built aur packages in cache. Anyhow, minor.

I resolved the webcam issue - was due to manually built bcwc-pcie driver for facetimehd (because of kernel incompatibility mentioned here earlier).

But suspend is completely broken - lid open always reboots. My mbp is 11.1

With previous kernel I didn't need to reboot it in weeks :)

Thank you for maintaining this amazing package :)

greg2010 commented on 2020-11-13 08:13

Been busy couple of weeks. I'll see if I can push out 5.9.X some time soon.

@ohell: That depends on what tools you use to interact with AUR.

I'm surprised to hear you're having issues with suspend - what generation of MBP do you have?

ohell commented on 2020-11-09 19:02

so ... I installed 5.83 over the weekend. Doesn't play nice with my MBP - Facetime HD camera is not detected and suspend is broken - machine reboots when opening lid.

Whereas 5.61 was rock solid. So I want to roll back. Question is whether I can find the built binary cached on my machine somewhere, or is rebuilding from source required? Usually I use downgrade to pin packages, but it just errors out with linux-macbook.

Thanks

xristian commented on 2020-09-14 03:32

@greg2010 thanks for the tip! running the code below fixed the public key issue curl -s https://keybase.io/heftig/pgp_keys.asc/\?fingerprint\=a2ff3a36aaa56654109064ab19802f8b0d70fc30 | gpg --with-colons --import-options import-show --import | grep 3B94A80E50A477C7

jso8910 commented on 2020-09-13 15:42

How can I download this? The GPG keys aren't working to validate it. I have managed to download the files with yay, but I can't get any farther than that. I get this error

==> ERROR: One or more PGP signatures could not be verified!
error downloading sources: linux-macbook