LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-11-2015, 09:22 AM   #1
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Rep: Reputation: 0
MacBook Air not waking from Suspend


Hey all, I couldn't find an "Apple Hardware" users section so I'm going to try here. I've installed Ubuntu MATE 15.10 on a Apple MacBook Air 6,1 (Mid-2013) model. I have everything working aside from getting the laptop to wake when it's been suspended / lid shut.

I had previously been running Xubuntu 14.10 and this was resolved by turning light locker off and on. Curious if there are any similar setups out there that can shed some light or give a little advice on how the MATE environment handles this? Currently I just have the laptop set to blank the screen when I shut the lid to avoid having to hard power off and on all the time.

Thanks!
 
Old 12-12-2015, 03:04 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,804

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Just to clarify further, if you open the lid and press the power button does the machine then resume as expected? I have read of reports that there is a bug that can cause the backlight level not to be restored, so the screen stays dark, but your description sounds different to this?

In any case, the following may be of interest to you

https://help.ubuntu.com/community/MacBookAir6-2/Trusty

There is an Ubuntu forum for 'Apple Hardware Users' that may be of further assistance if needed

http://ubuntuforums.org/forumdisplay.php?f=328
 
Old 12-12-2015, 09:45 AM   #3
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Is the computer working otherwise, can you ping it or reach by ssh when the screen is blank?
Do you have 2 video cards? What drivers do you have installed?
 
Old 12-12-2015, 10:39 PM   #4
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Original Poster
Rep: Reputation: 0
I see my lock screen quickly before the screen goes dark, it does not resume as expected. I had previously attempted that fix from the Ubuntu documentation. I can still ping the laptop, ssh in etc and hear error noises when I hit the 'delete' key or any other key in attempt to wake the laptop.

I only have one video card: VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)

I've posted in the Apple Hardware users as well, but no insight yet.
 
Old 12-12-2015, 11:14 PM   #5
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Original Poster
Rep: Reputation: 0
Actually, problem solved! It was a swap issue. I noticed in my fstab the swap entry was commented out. After a reboot, the encryption password entry appeared and I can now suspend!
 
Old 12-13-2015, 02:11 AM   #6
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Suspend does not use swap. Hibernate does.
 
Old 12-13-2015, 10:28 AM   #7
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Original Poster
Rep: Reputation: 0
Odd. It looked like my home folder encryption wasn't properly setup until I fixed my swap partition. Would that maybe have been the culprit as far as resuming?
 
Old 12-13-2015, 11:11 AM   #8
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Since it works, probably. Maybe the encryption needs it.
 
Old 12-14-2015, 02:59 PM   #9
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Original Poster
Rep: Reputation: 0
Ah.. that opened another can of worms. Apparently there is an issue with encrypted home folders in Ubuntu 15.10, as I noticed after un-commenting the fstab line containing the swap I was prompted to enter my account password for every single software update, etc.

The fix was posted here: https://bugs.launchpad.net/ubuntu/+s...ls/+bug/953875

However, when I attempt to run 'sudo mkswap -U <UUID> /dev/sda3' I get a "Error: Resource Busy." Also unable to run 'sudo swapon /dev/sda3.'

Is there a work around to access this I'm missing? Or perhaps to regain that 8GB space that's being locked up?
 
Old 12-14-2015, 03:15 PM   #10
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Original Poster
Rep: Reputation: 0
Or perhaps I'm better off avoiding an encrypted home folder and implementing something like ZuluCrypt? I'm curious if I would even need Swap space aside for Hibernating (though that option doesn't appear to be present in my power options menu).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Troubles waking up from suspend on 13.37 bonixavier Slackware 2 08-15-2011 06:00 PM
Problem with waking up from suspend wearetheborg Debian 9 04-06-2009 05:35 AM
Waking up after suspend shuts down pc dive Linux - Kernel 1 05-27-2008 07:33 PM
Not waking from second suspend ritme909 Linux - Laptop and Netbook 0 01-29-2005 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration