LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2003, 05:34 PM   #1
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Rep: Reputation: 15
disable suspend


Hi

I've had a good search on the web for an answer to this problem and I've also spent a fair while exploring the KDE control center but all to no avail. The problem I'm having is that about every 20mins while watching TV through my TV card, the system suspends and I have to get up and press a key on the key board to bring it back to life.

The only power options I can find in the control center relate to *display* and *lap tops*, besides which, the "power control" options aren't active because /usr/bin/apm isn't setuid. Would someone please tell me how I can disable this?

Many thanks

Ian
 
Old 05-18-2003, 05:57 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
KDE3.1
Control Centre
PowerControl
Display Power Control
3 sliders, the second one's labled Suspend
 
Old 05-18-2003, 06:04 PM   #3
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Original Poster
Rep: Reputation: 15
Ok, cheers. I assumed that those options were not relevant a) because they were under the heading of "display" and the whole system was suspending, not just the display and b) the box labelled "enable display power management" was *unchecked". It was, however, set at 30mins so I've checked the box and changed the suspend setting to "disable". I'll know if it has worked in about 30mins time. Many thanks!

Ian
 
Old 05-18-2003, 06:10 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Ah, I see what you mean. But sometimes something like watching TV via pc doesnt count as activity: TV - Graphics card - Monitor, so it might be that. Are you sure the whole thing was suspending or just the screen cutting out?
 
Old 05-18-2003, 06:23 PM   #5
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Original Poster
Rep: Reputation: 15
I now know for sure that it isn't the display setting because it just cut out on me again. I think it is actually *suspending* because the power light starts to flash. Any ideas?
 
Old 05-18-2003, 06:28 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
See if the cron or at deamons are running, I know they can execute regular things, but I dont know if something else deals with suspending.
 
Old 05-18-2003, 06:33 PM   #7
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Original Poster
Rep: Reputation: 15
I don't know what a cron or at daemon is, but I can tell you that a process "crond" is running and also "atd" if these are what you are referring to. I have to go out now, so won't be able to reply for some time. Cheers for all your help! Ian.
 
Old 05-18-2003, 06:44 PM   #8
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
That's them. When you can, check what cron tasks are scheduled.
 
Old 05-19-2003, 03:49 AM   #9
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Original Poster
Rep: Reputation: 15
OK. I've done a bit of research and discovered that the cron configuration file is /etc/crontab. This is what mine looks like.

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

I'm not at all sure what these last four lines do, but I don't think they have anything to do with suspend after xmins of inactivity. Therefore, I'm still stumped, as what I've read about At and Batch suggests that they schedule *one time only* tasks.

Best, Ian
 
Old 05-20-2003, 10:05 AM   #10
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Original Poster
Rep: Reputation: 15
Fixed! (I hope)

Someone suggested that I check my bios for a *suspend after so-and-so mins* setting, and lo and behold, it was there set for 15mins. I haven't checked to make sure that this has solved the problem, but I reckon it must be the culprit. If I make no further posts, you can assume that it's fixed. Cheers again Proud : )

Ian
 
Old 05-21-2003, 02:20 PM   #11
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Np, hope that fixes it.
 
Old 05-21-2003, 02:33 PM   #12
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Original Poster
Rep: Reputation: 15
It did : )
 
  


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
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 09:30 AM
Not waking from second suspend ritme909 Linux - Laptop and Netbook 0 01-29-2005 08:19 AM
S3 Suspend xconspirisist Linux - Software 1 11-15-2004 04:47 AM
Can't suspend or standby!!!!! SlipAway172 Linux - Newbie 1 06-29-2004 09:53 AM
suspend that won't go away ronald_fancher Linux - General 3 07-14-2002 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration