You are not logged in.
Some days ago I opened a thread about suspending problems:
https://bbs.archlinux.org/viewtopic.php?id=198159
I didnt know a MBA thread already existed. Of course this belongs here
Pitmairen tried to help me as he seems to have the same problems, but we were not able to figure out, what the issue is
Any ideas?
Offline
It seems like some others are also having the same problem: https://bugs.launchpad.net/ubuntu/+sour … ug/1460393
I don't know what the problem is, but it is possible this problem started after I booted into os x and installed the latest updates. I don't remember when i did the update, but I think it was just before the problem started.
Have you installed the latest updates to osx?
Offline
I have arch only on my MBA. Installed it like 2 weeks ago. At that time OSX was up to date.
Offline
I have arch only on my MBA. Installed it like 2 weeks ago. At that time OSX was up to date.
I am having the same problem, but my firmware hasn't been updated since March
Offline
Ok, so then its probably has nothing to do with the firmware.
This seems to be something similar: https://bbs.archlinux.org/viewtopic.php?id=197568
Offline
Ok, so then its probably has nothing to do with the firmware.
This seems to be something similar: https://bbs.archlinux.org/viewtopic.php?id=197568
Unfortunately that only points us in the fairly general direction of acpi. I'll try building a kernel from the mainline and see if it has been fixed upstream
Offline
The last part of my klog on a suspend+immediate resume is here. It seems to be executing an early resume because of a device. Me thinks it is related to xhci_hcd see the source here, http://lxr.free-electrons.com/source/dr … wer/main.c
Jun 20 19:48:20 jesse-air kernel: smpboot: CPU 3 is now offline
Jun 20 19:48:20 jesse-air kernel: ACPI: Low-level resume complete
Jun 20 19:48:20 jesse-air kernel: PM: Restoring platform NVS memory
Jun 20 19:48:20 jesse-air kernel: Enabling non-boot CPUs ...
Jun 20 19:48:20 jesse-air kernel: x86: Booting SMP configuration:
Jun 20 19:48:20 jesse-air kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Jun 20 19:48:20 jesse-air kernel: kvm: enabling virtualization on CPU1
Jun 20 19:48:20 jesse-air kernel: CPU1 is up
Jun 20 19:48:20 jesse-air kernel: smpboot: Booting Node 0 Processor 2 APIC 0x1
Jun 20 19:48:20 jesse-air kernel: kvm: enabling virtualization on CPU2
Jun 20 19:48:20 jesse-air kernel: CPU2 is up
Jun 20 19:48:20 jesse-air kernel: smpboot: Booting Node 0 Processor 3 APIC 0x3
Jun 20 19:48:20 jesse-air kernel: kvm: enabling virtualization on CPU3
Jun 20 19:48:20 jesse-air kernel: CPU3 is up
Jun 20 19:48:20 jesse-air kernel: ACPI: Waking up from system sleep state S3
Jun 20 19:48:20 jesse-air kernel: xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
Jun 20 19:48:20 jesse-air kernel: PM: noirq resume of devices complete after 19.444 msecs
Jun 20 19:48:20 jesse-air kernel: PM: early resume of devices complete after 20.185 msecs
Offline
The last part of my klog on a suspend+immediate resume is here. It seems to be executing an early resume because of a device. Me thinks it is related to xhci_hcd see the source here, http://lxr.free-electrons.com/source/dr … wer/main.c
Jun 20 19:48:20 jesse-air kernel: smpboot: CPU 3 is now offline Jun 20 19:48:20 jesse-air kernel: ACPI: Low-level resume complete Jun 20 19:48:20 jesse-air kernel: PM: Restoring platform NVS memory Jun 20 19:48:20 jesse-air kernel: Enabling non-boot CPUs ... Jun 20 19:48:20 jesse-air kernel: x86: Booting SMP configuration: Jun 20 19:48:20 jesse-air kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2 Jun 20 19:48:20 jesse-air kernel: kvm: enabling virtualization on CPU1 Jun 20 19:48:20 jesse-air kernel: CPU1 is up Jun 20 19:48:20 jesse-air kernel: smpboot: Booting Node 0 Processor 2 APIC 0x1 Jun 20 19:48:20 jesse-air kernel: kvm: enabling virtualization on CPU2 Jun 20 19:48:20 jesse-air kernel: CPU2 is up Jun 20 19:48:20 jesse-air kernel: smpboot: Booting Node 0 Processor 3 APIC 0x3 Jun 20 19:48:20 jesse-air kernel: kvm: enabling virtualization on CPU3 Jun 20 19:48:20 jesse-air kernel: CPU3 is up Jun 20 19:48:20 jesse-air kernel: ACPI: Waking up from system sleep state S3 Jun 20 19:48:20 jesse-air kernel: xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI Jun 20 19:48:20 jesse-air kernel: PM: noirq resume of devices complete after 19.444 msecs Jun 20 19:48:20 jesse-air kernel: PM: early resume of devices complete after 20.185 msecs
Adding
echo XHC1 > /proc/acpi/wakeup
into the mix (to disable wake on XHC1) did nothing. I thought xhci_hcd was waking up the air, but the log is more or less the same without the line for xhci_hcd
Jun 20 19:57:24 jesse-air kernel: smpboot: CPU 3 is now offline
Jun 20 19:57:24 jesse-air kernel: ACPI: Low-level resume complete
Jun 20 19:57:24 jesse-air kernel: PM: Restoring platform NVS memory
Jun 20 19:57:24 jesse-air kernel: Enabling non-boot CPUs ...
Jun 20 19:57:24 jesse-air kernel: x86: Booting SMP configuration:
Jun 20 19:57:24 jesse-air kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Jun 20 19:57:24 jesse-air kernel: kvm: enabling virtualization on CPU1
Jun 20 19:57:24 jesse-air kernel: CPU1 is up
Jun 20 19:57:24 jesse-air kernel: smpboot: Booting Node 0 Processor 2 APIC 0x1
Jun 20 19:57:24 jesse-air kernel: kvm: enabling virtualization on CPU2
Jun 20 19:57:24 jesse-air kernel: CPU2 is up
Jun 20 19:57:24 jesse-air kernel: smpboot: Booting Node 0 Processor 3 APIC 0x3
Jun 20 19:57:24 jesse-air kernel: kvm: enabling virtualization on CPU3
Jun 20 19:57:24 jesse-air kernel: CPU3 is up
Jun 20 19:57:24 jesse-air kernel: ACPI: Waking up from system sleep state S3
Jun 20 19:57:24 jesse-air kernel: PM: noirq resume of devices complete after 19.487 msecs
Jun 20 19:57:24 jesse-air kernel: PM: early resume of devices complete after 20.077 msecs
Jun 20 19:57:24 jesse-air kernel: wl_resume: PCI Resume handler
Jun 20 19:57:24 jesse-air kernel: sd 0:0:0:0: [sda] Starting disk
Jun 20 19:57:24 jesse-air kernel: rtc_cmos 00:02: System wakeup disabled by ACPI
Jun 20 19:57:24 jesse-air kernel: wl0: link down (wlp3s0)
Jun 20 19:57:24 jesse-air kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun 20 19:57:24 jesse-air kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Jun 20 19:57:24 jesse-air kernel: ata1.00: unexpected _GTF length (8)
Offline
Got it!
Enable tlp-sleep.service. Without it tlp seems to wake up the system for no reason. With it I can get sleep!
Offline
Maybe, but i have had it happen even when not using tlp, it just seems to happens less frequently.
Offline
My suspend doesnt work with or without tlp. Even when I enable tlp-sleep it doesnt work.
Has anyone tried kernel 4.1 yet?
Last edited by MartiniMoe (2015-06-23 14:43:05)
Offline
i get this on 4.1.2 kernel in dmesg :
[drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* uncleared fifo underrun on pipe A
[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
not seen with 3.14.48 lts kernel ,
but the fan & heat issue is there on both kernels .
macfanctld-git seems to lets ramp up & ramp down quickly , but still far from ideal .
Last edited by step-2 (2015-07-19 04:35:33)
Offline
Not sure if this was already suggested for overheating/fan issues, but maybe try resetting the SMC?
As for the power usage, I can be of help!
I had this same issue on my laptop with Ubuntu 15.04 (Kernel 3.19)
With Kernel 3.18, thunderbolt hot-plug support was added. This was done by telling the ACPI that the OS is Darwin (OS X). Incidentally, a bug was introduced preventing the laptop from entering the lowest CPU state.
The fix is to add 'acpi_osi=' to GRUB kernel parameters, which also will mean that thunderbolt devices will have to be plugged in before booting.
Should bring back your 11-12 hr battery life.
is it just 'acpi_osi=' or 'acpi_osi=Linux' ??
Offline
Even with 3.17 kernel, the battery is pretty bad; the fan makes noise and the temperature rises. What is the current state of knowledge on this issue?
Offline
Right now on minimal browsing and terminal screen around 60% brightness I'm around 10-11 hours.
$ acpi -i
Battery 0: Discharging, 92%, 10:45:25 remaining
Battery 0: design capacity 8619 mAh, last full capacity 8276 mAh = 96%
@Excubia, could you detail out what power savings you have done? What kind of usage you are doing (compiling? watching videos? etc) and how many hours you are getting? If I were to watch videos non stop, I'd probably be in the 5-6 hour mark.
Last edited by frank604 (2015-08-05 22:38:08)
Offline
As you have, acpi tells me I have plenty of battery. But the heat and fan noise tell me the contrary.
I have installed both powertop and powerdown. For the same activities (using Tor, watching videos), I have no heat and no noise on OS X.
Offline
Right now my current setup is tlp, macfanctdl, and thermald. See if switching from powertop and powerdown helps.
Offline
Changes done. My baseline power consumption is still 10W, it should be half.
Powertop tells me "Display backlight" takes 7W on its own.
Last edited by Excubia (2015-08-09 02:01:03)
Offline
I forgot to ask the group if you guys are experiencing ata errors only after a suspend/resume? Anyone? I've tried
libata.force=noncq
libata.force=1.5G
libata.force=1.5G,noncq
libata.force=3.0G,noncq
[ +0.000001] ata1.00: status: { DRDY }
[ +0.000003] ata1: hard resetting link
[ +0.719684] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[ +0.000465] ata1.00: unexpected _GTF length (8)
[ +0.000546] ata1.00: unexpected _GTF length (8)
[ +0.000073] ata1.00: configured for UDMA/133
[ +0.000110] ata1: EH complete
[ +4.384538] ata1.00: exception Emask 0x10 SAct 0x80000 SErr 0x4040000 action 0xe frozen
[ +0.000004] ata1.00: irq_stat 0x80000040, connection status changed
Edit: Nevermind, this issue was due to tlp. I solved it by commenting out one line in /usr/sbin/tlp
#set_sata_link_power $1
Last edited by frank604 (2015-08-10 01:05:23)
Offline
Finally, everything is getting better. I don't know why but the baseline consumption is down to 6-7W which is pretty OK.
Offline
I'm currently getting a bit over 10:00 hours on my 2013 Macbook Air 11" using linux-ck 3.17.7 and have a stable wifi connection (BCM4360 using broadcom-wl-dkms 6.30.223.248-5).
Is anyone running a newer kernel with acceptable power usage and stable wifi?
Offline
Hi all!
I just installed Arch on my Macbook Air 6.2 and so far I'm happy: no heat, no noise, decent (>10h) battery life. I even managed to set up some gestures like those of OSX.
There are however two issues:
1/ the double tap and drag gesture available on OSX, which allows you to double click on an item to drag it, as long as you don't release the second tap, doesn't work. I'm using KDE - up to date as of today. Do you guys know where I should look at to set it up correctly / how to do it?
2/ when coming back from sleep, the screen brightness can be adjusted between 80% and 100%. Everything below 80% turns off the backlit completely. Is that a known bug?
Thanks a lot for your help!
Aurel.
PS: btw, i'm running linux 4.1.4-1-ARCH, no battery drain, stable wifi connection.
Offline
Hi all!
2/ when coming back from sleep, the screen brightness can be adjusted between 80% and 100%. Everything below 80% turns off the backlit completely. Is that a known bug?
Known bug since day 1. Patjak created a module that fixes this. Look in aur for mba6x_bl-dkms.
Offline
the double tap and drag gesture available on OSX, which allows you to double click on an item to drag it, as long as you don't release the second tap, doesn't work. I'm using KDE - up to date as of today. Do you guys know where I should look at to set it up correctly / how to do it?
What touchpad driver are you using?
xf86-input-mtrack is probably your best choice, but the double tap and drag gesture isn't mentioned in the documentation.
Maybe open a feature request here?
btw, i'm running linux 4.1.4-1-ARCH, no battery drain, stable wifi connection.
Awesome, I'll try to replicate this Thanks!
Offline
@mkraemer, mtrack is working for you?
Offline