LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-26-2010, 04:20 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,453

Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
[SOLVED] Hibernate PITA


I have 2 systems here on this HP6715S laptop(all amd/ati internals)
1. Slamd64-12.2 hibernates just fine.
2. Slackware-13.0 rehibernates on wake up. If I start up again, hibernate works right, so I have to do 2 restarts for one hibernate,

I copied over acpi events and scripts from slamd-12.2, but no go. Nothing noteworthy in the logs. In fact, nothing at all in the logs that gives any hint.

Last edited by business_kid; 06-03-2010 at 07:27 AM.
 
Old 05-27-2010, 02:34 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
I've seen this sort of thing happen when using the power button on a laptop to make it hibernate. The machine was registering two button presses. The first press sent the machine to hibernate, and then after resuming the machine would react to the second press (even though the physical press was prior to the hibernation), causing it to hibernate again. Is this consistent with what you are seeing?

Evo2.
 
Old 05-28-2010, 03:25 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,453

Original Poster
Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
OK, that gives me a line of inquiry. Thanks.
 
Old 05-28-2010, 03:32 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by business_kid View Post
OK, that gives me a line of inquiry. Thanks.
So you are initiating hibernation by pressing the power button?

What happens if you do it from the command line?

Evo2.
 
Old 05-29-2010, 03:01 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,453

Original Poster
Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
Sorry, I stalled on this due to other priorities.
I'll try the suggestions and get back to you.
 
Old 05-29-2010, 08:48 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,453

Original Poster
Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
Quote:
Originally Posted by evo2 View Post
I've seen this sort of thing happen when using the power button on a laptop to make it hibernate. The machine was registering two button presses. The first press sent the machine to hibernate, and then after resuming the machine would react to the second press (even though the physical press was prior to the hibernation), causing it to hibernate again. Is this consistent with what you are seeing?
Yes. I had a script in the /etc/acpi to hibernate and wake up. Disabling that (chmod -x) stopped the problem. Slackware is sending some other set of signals some other way. 'pgrep acpid' gave me 2 daemons. I am running xfce (no kde loaded), but I finally twigged it with 'ps -e |grep acpid'
110 kacpid
3095 acpid
which, or slocate show me no kacpid. Kernel? Any thoughts? I bet hal is all over acpi and I bet that's responsible. The PITA now becomes that it restore with brightness weak, and I can't tweak that.
 
Old 05-30-2010, 11:10 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,453

Original Poster
Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
I'd love a [SOLVED?] option for this thread.
I have xfce, and slackware-13.0. taking out the default event in /etc/acpi/events also helped with thing. So now I have acpi set up to do nothing at all when told to hibernate, and it works perfectly :-/.

I come up in screensaver mode. I am locked out, and the screensaver always does lock you out. This I regard as a PITA. Yet I can configure the screensaver in XFCE, and 'require authorisation' is not set. Can anyone tell me what's actually running acpi in Slackware-13.0? Because acpid isn't :-o.
 
Old 06-03-2010, 07:32 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,453

Original Poster
Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
This proved to be xfce power manager not quite managing what it said. Because it seems a new kid on the block, it's not included in the settings manager. Hence the confusion. I use runlevel 3 and if I started X, then suddenly I had the extra acpi daemon muscling in on the case. Not a problem in previous versions. So between the bios (which grabs a few things like the power button & lid) and the acpi daemon I knew about and the one I didn't, this left plenty of room for duplication. Thanks to evo2 for pointing me straight on this.
 
  


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
Slackware 12.2 + printing = PITA thenixedreport Slackware 6 03-18-2009 05:44 AM
cli hibernate works but gnome panel hibernate fails BCarey Linux - Desktop 1 06-08-2007 10:21 AM
Is K3B always such a PITA ??? bigjohn Linux - Software 5 08-20-2005 01:34 PM
nuisance error(s)/PITA ??? bigjohn Debian 9 05-08-2005 03:49 PM
bind is a pita.... trey85stang Linux - Networking 2 07-14-2004 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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