LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   disable suspend (https://www.linuxquestions.org/questions/linux-newbie-8/disable-suspend-60521/)

ianunderwood 05-18-2003 04:34 PM

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

Proud 05-18-2003 04:57 PM

KDE3.1
Control Centre
PowerControl
Display Power Control
3 sliders, the second one's labled Suspend :)

ianunderwood 05-18-2003 05:04 PM

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

Proud 05-18-2003 05:10 PM

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?

ianunderwood 05-18-2003 05:23 PM

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?

Proud 05-18-2003 05:28 PM

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.

ianunderwood 05-18-2003 05:33 PM

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.

Proud 05-18-2003 05:44 PM

That's them. When you can, check what cron tasks are scheduled.

ianunderwood 05-19-2003 02:49 AM

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

ianunderwood 05-20-2003 09:05 AM

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

Proud 05-21-2003 01:20 PM

Np, hope that fixes it. :)

ianunderwood 05-21-2003 01:33 PM

It did : )


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