LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-31-2009, 03:01 PM   #16
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110

I have in /etc/acpi/acpi_handler.sh this:
Code:
case "$1" in
  button)
    case "$2" in
      power) /sbin/init 0
         ;;
      lid) pm-suspend
         ;;
      *) logger "ACPI action $2 is not defined"
         ;;
    esac
    ;;
  *)
    logger "ACPI group $1 / action $2 is not defined"
    ;;
esac
 
2 members found this post helpful.
Old 08-31-2009, 03:20 PM   #17
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Quote:
Originally Posted by mudangel View Post
Suspend doesn't work right on my laptop, but I'm pretty sure it's to do with the bios, not Slackware. It's a Toshiba Satellite L355.
I have Toshiba Satellite L305-S5946 (with InsydeH2O bios ver 1.9) but had to do a bit of tweaking to get suspend to work with Slackware 13 (-current back then). Suspend-to-ram and suspend-to-disk both work perfectly now. Here's the relevant thread.

Last edited by tuxrules; 08-31-2009 at 03:23 PM.
 
Old 08-31-2009, 03:34 PM   #18
dwr1
Member
 
Registered: Aug 2009
Distribution: slack-current
Posts: 46

Rep: Reputation: 17
pm-hibernate works fine on my system. pm-is-supported --hibernate and --suspend report 0 on my system.

but pm-suspend does not work. after a few seconds the screen goes blank, but then it comes back on after a few more seconds, without any intervention from me. and then my keyboard acts very strangely. The windows key is bound to ~, the right arrow is bound to w, enter is bound to s, for example. i am unable to use my laptop and have hold down the power button to power-off.

i do have a very strange laptop (crappy radeon gfx card), which has been reporting acpi and ide kernel errors for ages, though. i've never tried suspend on any other distros, unfortunately. both suspend and hibernate work fine in windows, mind you.

Last edited by dwr1; 08-31-2009 at 03:35 PM.
 
Old 08-31-2009, 04:06 PM   #19
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
@tuxrules: I was just looking at that thread! Going to try it out shortly- wish me luck!
 
Old 09-01-2009, 10:02 AM   #20
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Original Poster
Rep: Reputation: 43
I tried removing keyboard and mouse references in xorg.conf. Being an old school X11 user, it seems counter intuitive to remove what used to be vital entries. But I tried it and X worked, but suspend still doesn't come back.

I also tried the vesa driver because of the suggestion of using new video drivers worked for some here, but the result is exactly the same. I'm thinking this has nothing to do with X now.

I also have tried adding boot the boot parameter, append = "acpi_osi=Linux", as suggested here:
http://www.linuxquestions.org/questi...urrent-745907/

The next thing will be to try GrapefruiTgirl's script. We'll see how that goes. I have not tried hibernate, so I'll give that a shot too.
 
Old 09-01-2009, 01:35 PM   #21
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
Good news! Using "acpi_osi=linux" in lilo.conf and VBE POST, VBE Mode Restore, and VBE State Restore options in the toshiba fdi file, and a 2.6.30.5 kernel, my L355 has working suspend and working Fn-F6/F7 brightness keys. Not sure if I want suspend on closing the lid, but that works, too. Thanks, manwichmakesameal and tuxrules!
 
Old 09-06-2009, 02:14 AM   #22
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Original Poster
Rep: Reputation: 43
I have tried a myriad of different combinations using people's suggestions and on some of the links sited here. No luck, same issue. The HP Pavilion dv5000 goes into suspend fine and appears to be coming out of it... a little hard disk activity, some lights come on, but not wireless... and then the keyboard and video do not work and I have to do a hard reset. The sys-req REISUB combination also does not work.

I cannot see a difference between what is happening in /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-hp.fdi on Slackware 12.2 and Slackware 13. I have tried various switches with and without the lilo append parameter:
append = "acpi_osi=Linux"

If anyone has any luck with this particular model, please let me know. Also, I'd be interested if anyone has luck with the Dell Latitude D630 as well.

Thanks, everyone, for the great suggestions.
 
Old 09-06-2009, 04:19 AM   #23
iphigenie
Member
 
Registered: Aug 2009
Location: IDLE, UK
Distribution: Slackware
Posts: 30

Rep: Reputation: 9
Just to correct the idea that "everyone has it working" that permeates some of the posts in this thread - my laptop will suspend or hibernate, but go straight in a kernel panic on resume (x86_64 arch, from 13.0)

Needless to say I have not dared go near it on my more important machines

Needless to say I am going through the threads here to find what i need to do

Last edited by iphigenie; 09-06-2009 at 04:21 AM.
 
Old 09-06-2009, 05:03 AM   #24
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by meetscott View Post
The HP Pavilion dv5000 goes into suspend fine and appears to be coming out of it... a little hard disk activity, some lights come on, but not wireless...
When I read this I thought your model, too might have this issue but dv5000 is not listed there. I have a dv6000 which suffers from that problem, my wireless card is dead and 4 times out 5, the screen will be blank at boot. Suspend/resume was working OK but since the screen failures began I get a blank screen on resume. My problem is definitely related to the hardware failure of this model, but you may want to search the HP database to see if there's anything similar about dv5000s.

On the other hand, oddly enough, my Pardus 2009 can suspend to RAM and resume just fine (I use the same kernel -2.6.30- on both systems). So there must be a way to suspend without triggering the problem, but I don't know what it is.
 
Old 09-08-2009, 01:10 PM   #25
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by Ilgar View Post
When I read this I thought your model, too might have this issue but dv5000 is not listed there. I have a dv6000 which suffers from that problem, my wireless card is dead and 4 times out 5, the screen will be blank at boot. Suspend/resume was working OK but since the screen failures began I get a blank screen on resume. My problem is definitely related to the hardware failure of this model, but you may want to search the HP database to see if there's anything similar about dv5000s.

On the other hand, oddly enough, my Pardus 2009 can suspend to RAM and resume just fine (I use the same kernel -2.6.30- on both systems). So there must be a way to suspend without triggering the problem, but I don't know what it is.
But does this problem show up outside of suspend operations? That is, the display failure? I'm just trying to understand if there are other places where this shows up besides during the suspend operation. I don't have any visible problems with my laptop otherwise.

Thanks for the feedback.
 
Old 09-08-2009, 03:17 PM   #26
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Rep: Reputation: 30
Just to dd my 2 cents : I have a MSI S270 laptop and have just been able to suspend once and then never again (I was actually very surprised to see it resume). I'm running current on it, so it basically Slack 13 32bits right now.
It suspends well (so does /var/log/pm-suspend.log says) but when I power it on, I get a black screen with a blinking prompt and I need to turn it off since no keyboard nor anything else will work. I tried most of the hal quirks but to no avail.
I don't really blame Slack here, as I have the feeling that suspend on Linux in general is still not working quite well and laptop manufacturers do not really help.
 
Old 09-08-2009, 09:22 PM   #27
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by rvdboom View Post
Just to dd my 2 cents : I have a MSI S270 laptop and have just been able to suspend once and then never again (I was actually very surprised to see it resume). I'm running current on it, so it basically Slack 13 32bits right now.
It suspends well (so does /var/log/pm-suspend.log says) but when I power it on, I get a black screen with a blinking prompt and I need to turn it off since no keyboard nor anything else will work. I tried most of the hal quirks but to no avail.
I don't really blame Slack here, as I have the feeling that suspend on Linux in general is still not working quite well and laptop manufacturers do not really help.
Oh, I agree! I don't blame Slackware either. In fact Slackware is the first distribution I have ever seen suspend work! I am going to stick with 12.2 for a while though. I am just too busy to go through an upgrade at the moment and I don't want to create any problems for my work system, my other laptop.

I will be upgrading 3 other servers first, so 5 systems total. I just work on the experimental system to work out the kinks as I have time. The experimental system is a laptop and doesn't have any services I need to have up and running.

Thanks for the feedback. It's much appreciated.
 
Old 10-05-2009, 03:14 AM   #28
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Original Poster
Rep: Reputation: 43
Now that I've completed my upgrades on all my systems I thought I'd add an update. Here are the systems again.

First Laptop: HP Pavilion dv5000 running the radeon graphics driver and a 64 bit Turion, single core processor. This is my Slackware64 test system.

Suspend is still broken on this system. I actually don't care that much. It's an experimental system anyway.

Second Laptop: Dell Latitude D630 with a Core 2 Duo, 64 bit processor. This has Integrated Intel Graphics.

On this second system, I'm sticking with 32 bit Slackware for now. I need Skype and Wine so I'm stuck with it... either that or making a 64 bit system 32 bit ready. Not sure I want to bother at the moment. But back to suspend. It appears to be working perfectly right out of the box. I'm delighted with that because it's my work system and I really like having my stuff ready as soon as I open the lid. If I ever do get this HP Pavilion dv5000 working, I'll let you all know with all the gory specifics.

Thanks again to everyone who responded.

Last edited by meetscott; 10-05-2009 at 03:17 AM.
 
Old 10-05-2009, 03:23 AM   #29
kantu
Member
 
Registered: Sep 2008
Posts: 77

Rep: Reputation: 16
Even i had probs with suspend,after resuming i would get noise from my speakers ,i fixed my sound file and now no problem
 
Old 10-05-2009, 08:52 AM   #30
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
Suspend works fine here but I'm an Xfce4 user. Suspend works on all laptops I have installed Slackware on for friends, including my own two (Sony Vaio VGN-C140G and Toshiba Satellite A55-S306).

Are you using an Intel graphics card?

I read through the post and couldn't tell if you tried running slack 13 without an xorg.conf (i.e. let X detect stuff using HAL). Have you tried that yet? On my Sony Vaio VGN-C140G that solved my problems (that and the inclusion of Robby Workman's Intel packs... I was testing since -current, then installed 13.0 when it was released).

Quote:
Originally Posted by onebuck View Post
The number with suspend problems is few.
Not to be rude or anything, but you might want to include the caveat that you have seen few problems. I've met people who had problems with <insert distro here> and solved them by switching to <insert distro here> without asking for help or telling anyone....

For example, I could say that it works on all laptops, but unless I say "in my experience" or something, I'm over-generalizing, and probably not telling the truth either....

Quote:
Originally Posted by manwichmakesameal
I have in /etc/acpi/acpi_handler.sh this:
Thanks for your post, sir, but you might want to tell him that this sets it globally, apart from KDE4, and that he might want to tell KDE4 not to worry about the lid switch action so that it (hopefully) doesn't cause a conflict.... I don't know if it would, but I would think two things calling pm-suspend is probably not a welcomed event 8-)

Last edited by TwinReverb; 10-05-2009 at 08:55 AM.
 
  


Reply

Tags
slackware13



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
NVidia proprietary driver + suspend to ram (Slackware 12.1) El Nigromante Slackware 6 10-15-2008 11:16 AM
Slackware 12 suspend Tux-Slack Slackware 10 08-10-2007 04:46 PM
slackware + suspend-to-ram? janhe Slackware 7 07-05-2007 10:05 AM
Unreliable suspend to disk with Slackware 10.2 c10 Slackware 2 04-17-2006 04:55 AM
Suspend / Resume scripts on slackware 9 boney Slackware 0 06-19-2003 02:09 AM

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

All times are GMT -5. The time now is 12:37 AM.

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