LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Apple MacBook Air on 7.2 has strange wake from suspend
#1
I installed Linux Lite 7.2 on an  Apple MacBook Air mid 2011 with 4GB RAM.  I formatted drive and used the ZFS file system and note that the kernel is 6.8.0-48-generic. Not a dual-boot system; Linux Lite is only OS present on machine.

I used Power Manager to set the option When Laptop lid is closed: Suspend

The laptop boots fine, I can log in, and everything works.   When I close the lid, it immediately turns off the screen and suspends.

After a delay, say a few minutes, when I open lid the machine wakes up.  No lock screen or password is presented, but I see the desktop rendered correctly with clock in status bar showing time accurate as of moment of waking up.  Mouse pointer moves fine, but clicking button on touchpad does nothing and keyboard is unresponsive.  Clock does not advance and I see a static display of time of resume.  If I leave it for ~60 seconds the mouse pointer disappears (rest of display, with frozen clock is unchanged; displayed time does not advance).  Now if I click the touchpad the pointer returns and the clock immediately updates to display current time but does not revert to a running clock -- it's a static display of time, but the time is updated to moment of touchpad click.  Still no ability to use mouse to manipulate icons/controls on the screen even though pointer moves fine, and keyboard continues to have no effects. The laptop will move mouse pointer, but nothing more.

Power button works fine and I can restart the machine if I hold it down for like 4 seconds.
Either Ctrl-F2 does nothing, or I don't know how to do that on this Mac keyboard.

I changed Power Manager option to Hibernate on lid close.  When I close lid the screen turns off, and when I reopen the laptop it does not awaken and appears to be off.  A single press of the power button will cause it to reboot.

I tried a couple of commands in the terminal.
systemctl suspend sends laptop to sleep, upon wake (keyboard press) I see the lock screen where I given the opportunity to present my password, and it comes back to full function and everything works. 
systemctl hibernate  goes to lock screen, but never goes to sleep.  I can enter password and everything works fine, but again, it never goes in to hibernate state.

I get different behavior by closing lid, which causes Power Manager to initiate Suspend mode, than I do with systemctl suspend at the command line. 

Any thoughts on how I can "fix" the closing lid / Power Manager path so that it will resume correctly?
It functions fine when I use terminal and systemctl suspend, but that's a bit tedious to do every time I want to put the laptop to sleep.
Reply
#2
Difficult to help without having the same or similar hardware.
I'd begin by using journalctl with the --since and --until options to isolate and extract the logs for a suspend-resume cycle initiated via the terminal and a suspend-resume cycle initiated by lid close.
A side by side comparison may expose what is different with the lid close sequence.

Support for hibernation is complex and it is less likely to work than suspend.
stevef
clueless
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)