LinuxQuestions.org
Help answer threads with 0 replies.
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 05-26-2002, 04:23 PM   #1
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
suspending in slack


i have a few laptops with slack8 loaded. everything works great except that when they go into suspend they won't wake back up. i really can't figure out why, but it's getting rather annoying, because i have a laptop i use to play mp3s in my car, and the battery will sometimes die. and it's rather difficult having to wake it back up, then hard power it down and scan the discs when it boots back up..... while driving.

any suggestions are welcome. :-)
 
Old 05-28-2002, 02:53 AM   #2
verigoth
Member
 
Registered: May 2002
Posts: 179

Rep: Reputation: Disabled
what bios are they using? i had a dell that would crash in suspend (pheonix bios), but my ecs does fine.

verigoth
 
Old 06-16-2002, 12:49 PM   #3
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Original Poster
Rep: Reputation: 30
well, it's also happening on my IBM thinkpad. but it doesn't happen on my dell machine which runs redhat, so i know it has to be a problem with something slackware specific. probably apm settings, but i'm not sure.
 
Old 06-16-2002, 01:09 PM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
A) Does the "no-wakey wakey" thing happen in and out of X?
B) What make and model of Thinkpad? Some BIOS just can't hack it.
C) No matter what its all kernel. I've had APM fights with most of the major distros and it was never anything a compile of a newer kernel (or older ) usually didn't fix. I use broad terms, there were a lot of laptops.
D) If it isn't in X, you may want to comment the setterm line out of /etc/rc.d/rc.M and see what that does. The Thinkpad may be having a bad reaction to being told to screen blank and that's pretty Slack specific.

Luck,

Finegan
 
Old 06-17-2002, 09:43 AM   #5
upro
LQ Newbie
 
Registered: Jun 2002
Distribution: Slackware 8.0 - 8.1
Posts: 6

Rep: Reputation: 0
I had a similar problem with my Thinkpad T21.
The solution is simple: It is a bug in the bios.

You'll have to recompile your kernel, and in section "General Setup" you have to enable "Advanced PowAdvanced Power Management BIOS support", and (that's the important one
"Use real mode APM BIOS call to power off".
I also enablede "Enable console blanking using APM", "Enable PM at boot time" and "Make CPU Idle calls when idle", but you don't need them necessarily (even though you might want them whenever working on battery on the console...).

Michael
 
Old 06-17-2002, 09:45 AM   #6
upro
LQ Newbie
 
Registered: Jun 2002
Distribution: Slackware 8.0 - 8.1
Posts: 6

Rep: Reputation: 0
...ahhh and then, if the keystroke won't work (e. g. on the Thinkpad Fn+F4) aou'll have to use

apm -s

to get it into standby.
You'll have to SUID root apmd and associated binaries in order to be able to do that as normal user...

Cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I stop my laptop from suspending? erikcw Linux - Laptop and Netbook 2 12-19-2005 01:28 PM
Suspending/Sleeping Laptop? lmcilwain Linux - Laptop and Netbook 24 08-03-2005 12:21 AM
suspending programs softly rohr Debian 1 04-19-2005 05:38 AM
Suspending my ThinkPad R40 squeekyd Linux - Laptop and Netbook 1 07-26-2004 08:44 AM
suspending tasks ??? flynnhandley Linux - Software 2 10-01-2003 11:32 PM


All times are GMT -5. The time now is 07:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration