LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-07-2017, 12:16 AM   #1
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Laptop returns to sleep in 14.2


Thinkpad T400. MATE Desktop and NetworkManager. I am testing 14.2 64-bit before updating all 14.1 systems.

When I invoke sleep by closing the lid and then open the lid, the system always returns to sleep. Pressing Fn causes the system to awaken and remain awake.

I can invoke sleep with Fn+F4 and awaken with Fn. No double sleep. I can press Fn+F4, close and then open the lid. No double sleep. Only when invoking sleep by closing the lid does the system return to sleep after opening the lid.

Same result with AC or battery, wired or wireless.

The behavior is repeatable. While confusing at first, after I thought I noticed the pattern I spent about 20 minutes trying different combinations. Only closing the lid causes the return to sleep.

The 14.2 test system is updated from a working 14.1 system. Thus all of the /etc/acpi and /etc/pm files were inherited from the 14.1 system. The 14.1 system never exhibited this odd behavior.

I have not tried a clean 14.2 install on the laptop. I don't really want to rebuild a new system from scratch with a clean install.

While a work-around is invoke sleep only with Fn+F4, the quirk is a mild nuisance.

Any ideas?

Last edited by upnort; 01-07-2017 at 12:24 AM.
 
Old 01-07-2017, 07:42 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
The problem was reported on the Thinkpad T400 here and arises from the interaction of the lid close and the lid open events with acpi scripts.
For other script suggestions see here. It is hard to be definitive as the particular hardware seems to be a factor.
 
1 members found this post helpful.
Old 01-08-2017, 01:03 PM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Thank you.

Using the links I discovered more than one thing changed from 14.1 to 14.2 with this anomaly. Not only are separate lid-open and lid closed event files needed, but the outputs of the special Fn+Fx hotkeys changed too. For example, Fn+F4 (sleep) changed from event=ibm/hotkey HKEY 00000080 00001004 to event=button/sleep SBTN 00000080 00000000 K.
 
  


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
Laptop power setting issue - laptop won't sleep on critical bettery __spc__ Linux - Laptop and Netbook 1 09-17-2013 01:21 PM
Problem after laptop went in sleep mode murtuzanaqvi Linux - Laptop and Netbook 4 02-13-2011 02:49 PM
How to put my laptop to sleep alaios Linux - Hardware 2 05-20-2010 10:57 AM
Getting my laptop to Hibernate or Sleep Scott7 Debian 2 10-15-2005 05:33 AM
laptop sleep zaicheke Linux - General 0 02-09-2005 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:21 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