LinuxQuestions.org
Visit Jeremy's Blog.
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 03-23-2004, 01:46 AM   #1
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Rep: Reputation: 30
Slackware is Sleepy


My system seems to go into a sleep mode after 15 to 20mins and my mlnet downloads stop

How can I turn off the sleep function? I am happy to just turn off my monitor and go to bed.
 
Old 03-23-2004, 06:38 AM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
Do you have apm running?
 
Old 03-23-2004, 07:13 AM   #3
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
No. I don't think so. I do have gpm - is that anything similar? ...

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.5 0.0 480 240 ? S 23:22 0:06 init [3]
root 2 0.0 0.0 0 0 ? SW 23:22 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SWN 23:22 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? SW< 23:22 0:00 [events/0]
root 5 0.0 0.0 0 0 ? SW< 23:22 0:00 [kblockd/0]
root 7 0.0 0.0 0 0 ? SW< 23:22 0:00 [pdflush]
root 6 0.0 0.0 0 0 ? SW 23:22 0:00 [khubd]
root 8 0.0 0.0 0 0 ? SW< 23:22 0:00 [pdflush]
root 10 0.0 0.0 0 0 ? SW< 23:22 0:00 [aio/0]
root 9 0.0 0.0 0 0 ? SW 23:22 0:00 [kswapd0]
root 11 0.0 0.0 0 0 ? SW 23:22 0:00 [khpsbpkt]
root 12 0.0 0.0 0 0 ? SW 23:22 0:00 [knodemgrd_0]
root 13 0.0 0.0 0 0 ? SW 23:22 0:00 [kseriod]
root 14 0.0 0.0 0 0 ? SW< 23:22 0:00 [reiserfs/0]
root 64 0.0 0.1 1496 516 ? S 23:22 0:00 /sbin/dhcpcd -t 1
root 672 0.0 0.1 1536 596 ? S 23:22 0:00 /usr/sbin/syslogd
root 675 0.0 0.0 1468 452 ? S 23:22 0:00 /usr/sbin/klogd -
root 678 0.0 0.1 1380 524 ? S 23:22 0:00 /usr/sbin/inetd
root 681 0.0 0.2 3124 1408 ? S 23:22 0:00 /usr/sbin/sshd
root 699 0.0 0.3 4804 1884 ? S 23:22 0:00 /usr/sbin/cupsd
root 808 0.0 0.1 1456 528 ? S 23:22 0:00 /usr/sbin/crond -
daemon 810 0.0 0.1 1588 616 ? S 23:22 0:00 /usr/sbin/atd -b
root 813 0.0 0.4 4812 2108 ? S 23:22 0:00 sendmail: accepti
smmsp 816 0.0 0.3 4700 1948 ? S 23:22 0:00 sendmail: Queue r
root 820 0.0 0.1 1344 524 ? S 23:22 0:00 /usr/sbin/acpid
root 825 0.0 0.0 1384 460 ? S 23:22 0:00 /usr/sbin/gpm -m
sml 827 0.0 0.2 2248 1264 tty1 S 23:22 0:00 -sh
root 828 0.0 0.0 1460 472 tty2 S 23:22 0:00 /sbin/agetty 3840
root 829 0.0 0.0 1460 472 tty3 S 23:22 0:00 /sbin/agetty 3840
root 830 0.0 0.0 1460 472 tty4 S 23:22 0:00 /sbin/agetty 3840
root 831 0.0 0.0 1460 472 tty5 S 23:22 0:00 /sbin/agetty 3840
root 832 0.0 0.0 1460 472 tty6 S 23:22 0:00 /sbin/agetty 3840
sml 860 0.0 0.1 2016 968 tty1 S 23:23 0:00 /bin/sh /usr/X11R
sml 872 0.0 0.1 2216 636 tty1 S 23:23 0:00 xinit /home/sml/.
root 873 0.8 1.6 92072 8316 ? S 23:23 0:09 X :0
sml 878 0.0 0.7 5632 3700 tty1 S 23:23 0:00 /usr/X11R6/bin/fl
sml 881 0.0 0.2 2808 1448 ? S 23:23 0:00 rxvt
sml 882 0.0 0.2 2228 1200 pts/0 S 23:23 0:00 sh
sml 884 0.2 1.7 10660 8880 pts/0 S 23:23 0:03 mlnet
sml 904 0.0 0.2 2076 1040 ? S 23:23 0:00 /bin/sh /usr/lib/
sml 910 2.6 6.7 54956 34552 ? S 23:23 0:29 /usr/lib/netscape
sml 929 0.0 0.0 0 0 ? Z 23:24 0:00 [netstat <defunct
sml 947 0.0 0.2 2852 1500 ? S 23:29 0:00 rxvt
sml 948 0.0 0.2 2232 1204 pts/1 S 23:29 0:00 sh
sml 954 0.0 2.0 19276 10520 ? R 23:42 0:00 gnome-terminal
sml 956 0.0 1.4 9956 7636 ? S 23:42 0:00 /usr/libexec/gcon
sml 958 0.0 0.5 5172 2712 ? S 23:42 0:00 /usr/libexec/bono
sml 959 0.0 0.1 1984 636 ? S 23:42 0:00 gnome-pty-helper
sml 960 0.0 0.2 2228 1200 pts/2 R 23:42 0:00 sh
sml 961 0.0 0.1 2712 776 pts/2 R 23:42 0:00 ps aux
 
Old 03-23-2004, 07:17 AM   #4
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
By the way that looks like an awlful lot of programs running. Are there any there that look obvious that I dont need. I just use Slack as a desktop box - music, net, word, etc.
 
Old 03-23-2004, 08:46 AM   #5
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
gpm is a mouse server
 
Old 03-23-2004, 11:44 AM   #6
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Quote:
root 820 0.0 0.1 1344 524 ? S 23:22 0:00 /usr/sbin/acpid
That's what is probably doing it.

reroll your kernel with apci, choose only the ` button, processor & thermal zone' options
 
Old 03-23-2004, 02:05 PM   #7
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
Is there a way I could just delete the module all together - if I compiled it as a module? I'll check on my linux box when I am home from work.

If I did not include acpi as a module, can I just stop it from starting at start-up?
 
Old 03-23-2004, 02:40 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
I think you can add noacpi as a kernel parameter
in lilo to achieve that


Cheers,
Tink
 
Old 03-23-2004, 04:34 PM   #9
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
I think the daemon is called in rc.M. You could make /etc/rc.d/rc.acpid nonexecutable and keep it from loading. This would probably solve the problem.
 
Old 03-23-2004, 05:30 PM   #10
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
Thanks guys. Will try it out tonight.
 
Old 03-23-2004, 06:40 PM   #11
Dabria
Member
 
Registered: Jul 2003
Location: Caraquet, New-Brunswick
Distribution: Slackware - Current
Posts: 35

Rep: Reputation: 15
How would one pass that parameter, or any other, to the kernel properly in lilo?

I have almost the exact same problem where once my computer goes to sleep I can bring it back online and I need to cold reboot. I would like to give that no acpi thing a try but have no clue how to do it properly.

Any help would be greatly appreciated...tired of rebooting a gazibillions times per day here
 
Old 03-23-2004, 07:14 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Code:
image = /boot/your_kernels_name
  root = /dev/<your_root>
  label = <someName>
        append="hdc=ide-scsi noacpi"
Probably doesn't quite match what you
have, but you get the idea :)


Cheers,
Tink
 
Old 03-23-2004, 07:58 PM   #13
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
"hdc=ide-scsi noacpi"

Does this turn off the acpi only on the hard drive? With my system, I just lose the monitor however it sounds like the hard-drive and case-fan are still powering along.
 
Old 03-23-2004, 08:04 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
The hdc bit is just for my burner :)
Nothing to do with ACPI


Cheers,
Tink
 
  


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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
Slackware 10 RC2 released; Slackware 10 imminent... SBing Slackware 22 06-22-2004 07:53 AM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM
wine and winesetuptk working well with slackware 9.0 and slackware 9.1 oobe Linux - Software 0 10-19-2003 12:29 PM


All times are GMT -5. The time now is 11:00 PM.

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