LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-26-2011, 06:27 AM   #1
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Rep: Reputation: 5
Slackware64 13.37 suspend sort of works.


EDIT:
I am now using 13.37. Look at my post below.


Hi,

I am using Slackware64 13.1 and every time I try to suspend my computer it looks like it "goes through the motions," but then it just goes back to the session lock screen. Here is the pm-suspend.log file.

Code:
Initial commandline parameters: 
Sat Apr 23 10:14:42 EDT 2011: Running hooks for suspend.
/usr/lib64/pm-utils/sleep.d/00logging suspend suspend:Linux Phoenix_Slack 2.6.33.4 #2 SMP Tue Sep 21 17:28:38 CDT 2010 x86_64 Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz GenuineIntel GNU/Linux
Module                  Size  Used by
snd_seq_dummy           1487  0 
snd_seq_oss            29884  0 
snd_seq_midi_event      5620  1 snd_seq_oss
snd_seq                52643  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
rfcomm                 36491  8 
snd_pcm_oss            39907  0 
snd_mixer_oss          15975  1 snd_pcm_oss
ipv6                  273462  16 
sco                     8635  2 
bridge                 49287  0 
stp                     1600  1 bridge
llc                     3801  2 bridge,stp
bnep                   10967  2 
l2cap                  33695  16 rfcomm,bnep
pcmcia                 30280  0 
pcmcia_core            29487  1 pcmcia
lp                     10049  0 
ppdev                   6315  0 
parport_pc             21015  0 
parport                29923  3 lp,ppdev,parport_pc
btusb                  11402  2 
bluetooth              49470  9 rfcomm,sco,bnep,l2cap,btusb
rfkill                 15860  3 bluetooth
usbhid                 37516  0 
hid                    75699  1 usbhid
fuse                   59927  3 
nvidia              10078982  38 
processor              29915  4 
snd_emu10k1           138990  2 
snd_rawmidi            19201  1 snd_emu10k1
snd_ac97_codec        113239  1 snd_emu10k1
ac97_bus                1230  1 snd_ac97_codec
snd_pcm                71871  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device          5459  5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer              19466  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          7145  2 snd_emu10k1,snd_pcm
snd_util_mem            2384  1 snd_emu10k1
snd_hwdep               6420  1 snd_emu10k1
snd                    57142  15 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
thermal                12550  0 
rtc_cmos                9278  0 
agpgart                29705  1 nvidia
thermal_sys            14118  2 processor,thermal
soundcore               5839  1 snd
ohci1394               28585  0 
ehci_hcd               36824  0 
i2c_i801                8598  0 
ieee1394               74340  1 ohci1394
rtc_core               14766  1 rtc_cmos
button                  4922  0 
xhci                   43458  0 
i2c_core               18679  2 nvidia,i2c_i801
psmouse                47158  0 
wmi                     6275  0 
serio_raw               4654  0 
rtc_lib                 1922  1 rtc_core
hwmon                   1449  1 thermal_sys
sg                     25890  0 
e1000e                150522  0 
emu10k1_gp              1812  0 
evdev                   9114  14 
gameport                8424  2 emu10k1_gp
ext4                  330381  3 
mbcache                 5770  1 ext4
jbd2                   71201  1 ext4
             total       used       free     shared    buffers     cached
Mem:       3067856    1449192    1618664          0      49816     949828
-/+ buffers/cache:     449548    2618308
Swap:      6291448          0    6291448
success.
/usr/lib64/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/01grub suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/75modules suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.
Sat Apr 23 10:14:42 EDT 2011: performing suspend
/usr/lib64/pm-utils/pm-functions: line 295: echo: write error: No such file or directory
Sat Apr 23 10:14:43 EDT 2011: Awake.
Sat Apr 23 10:14:43 EDT 2011: Running hooks for resume
/usr/lib64/pm-utils/sleep.d/99video resume suspend:success.
/usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success.
/usr/lib64/pm-utils/sleep.d/95led resume suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/94cpufreq resume suspend:success.
/usr/lib64/pm-utils/sleep.d/90clock resume suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/75modules resume suspend:success.
/usr/lib64/pm-utils/sleep.d/55NetworkManager resume suspend:success.
/usr/lib64/pm-utils/sleep.d/49bluetooth resume suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/01grub resume suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/00powersave resume suspend:success.
/usr/lib64/pm-utils/sleep.d/00logging resume suspend:success.
Sat Apr 23 10:14:43 EDT 2011: Finished.
My computer specs are:

Motherboard: Asus P8P67 Pro
CPU: Intel 2500K
Sound Card: Creative Sound Blaster Audigy 2 ZS Gamer
GPU: EVGA Nvidia GTX 470
GPU Driver: Proprietary Nvidia drivers
Kernel: Generic kernel included on the Slackware64 13.1 install DVD

My computer is also not overclocked.

Any help would be greatly appreciated.

Last edited by blue_k; 04-28-2011 at 01:01 PM.
 
Old 04-26-2011, 09:09 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
It looks like you are running a custom kernel you compiled yourself?
The line where the error occurs has this command:
Quote:
echo -n "mem" >/sys/power/state
.
The "write error: No such file or directory" may indicate that you compiled a kernel without
Quote:
CONFIG_HOTPLUG_CPU=y
Eric
 
Old 04-26-2011, 10:03 PM   #3
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Alien Bob, this is the generic kernel included on the Slackware64 13.1 install DVD. This is not a custom kernel.
 
Old 04-28-2011, 05:40 AM   #4
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
I have just updated to 13.37, and now when I try to suspend using the "Sleep" button through KDE's menu, it looks like it "goes through the motions," but then it returns to the session lock screen. If I try to use pm-suspend as root through a terminal however it will successfully sleep. How can I make it sleep using the button through KDE? I have tried adding myself to the power group, but this does not help.

Last edited by blue_k; 04-28-2011 at 08:29 AM.
 
Old 04-28-2011, 06:40 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Please explain why the post should be deleted.
You also removed all your original text in the first post instead of adding a new post at the bottom... bad practice and not nice to people who want to help.

Eric
 
Old 04-28-2011, 06:43 AM   #6
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
I have reverted back to how it was. Thank you for letting me know that this is not how it should be done. I will remember that from now on.

Last edited by blue_k; 04-28-2011 at 10:57 AM.
 
Old 04-28-2011, 10:58 AM   #7
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
I just installed 13.37 on my Eee PC 1000, and it also has the same issue of pm-suspend as root works, but the "Sleep" button in KDE does not.
 
Old 04-28-2011, 11:03 AM   #8
x-alien
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 39

Rep: Reputation: 21
Quote:
Originally Posted by blue_k View Post
I just installed 13.37 on my Eee PC 1000, and it also has the same issue of pm-suspend as root works, but the "Sleep" button in KDE does not.
Try to add your user to the "power" group.
 
Old 04-28-2011, 11:45 AM   #9
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by x-alien View Post
Try to add your user to the "power" group.
I just tried that, but it did not work. The sleep button still only locks the screen. Also, shutting the lid only locks the screen even though I have told it to suspend if I close the lid.
 
Old 04-28-2011, 11:54 AM   #10
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117

Rep: Reputation: 19
I upgraded to 64bit 13.1 then went to 13.37, I decided to get hibernate to work as I was turning my laptop off for longer periods (shame) and suspend drained the battery. I fixed it, I kept notes, they are here:

http://techbutlers.co.uk/?p=315

They might help,

One thing I missed in the notes was to add the location of the swap partition to lilo.conf:
Code:
append="resume=/dev/sda5"
(location of swap partition)

Remembering to run lilo afterwards

Last edited by hyperhead; 04-28-2011 at 11:59 AM.
 
Old 04-28-2011, 12:13 PM   #11
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Thank you for your post, but I am looking to suspend to ram not to disk. Does anyone else have another idea?
 
Old 04-28-2011, 01:01 PM   #12
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
I have solved the problem. It turns out I had to reboot the system after adding myself to the power group instead of just logging out and back in. Thank you all for your help.
 
  


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
Getting wine to work in Slackware64 (13.0) benbizz Slackware 7 03-09-2011 05:22 AM
[SOLVED] Slackware64-current don't work pm-suspend but. .. ROXR Slackware 4 02-28-2010 04:32 AM
Xorg performance / KDE stability work-around on Slackware64 13.0 GazL Slackware 0 09-08-2009 05:38 AM
Does CTRL+ALT+F1 work as it should on Slackware64 13? glore2002 Slackware 3 08-31-2009 07:20 AM
Packages from Slamd64 who work into Slackware64 ROXR Slackware 2 07-13-2009 01:13 AM

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

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