Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux sleeps after a while

Status
Not open for further replies.

amarg

Programmer
Nov 19, 2002
106
IN
Hi,
I just Installed SuSe 10.1. It's working perfect.
But If I leave my pc for while, screensaver is comming and after that monitor is going off. That's it should be like this. But when I hit any key or mouse, monitor didn't invoke again, and I have to do the power off.
Please suggest me what can be the problem.

Thanks & Regards,
Amar
 
Check the screensaver & power options. Set the monitor to never switch off. I am not sure if this is available, as I do not use Suse. Have a hunt around in the configuration.
 
I know that I had problems in the past with SuSE if PCMCIA cards or USB devices were installed. It would go into the "sleep" or "hibernate" mode and the display would not power up again. A buddy of mine wrote a script that would stop PCMCIA services and unmount any USB drives before sleeping, but I don't believe that I have it any longer.


pansophic
 
It could be the drivers for the USB devices are causing this problem. Any chance of getting new ones? or getting your mate to write the script for you again.
 
Unfortunately there is little chance that I could get him to write it again, I've lost touch with him since then.

As I recall, it was a simple shell script that located mounted USB drives and unmounted them. It required that the drives be mounted as user, since the script would run as the user that was logged on. Otherwise you'd have to run it as setuid or setgid root. Then you just have to link it in with the hibernate and sleep scripts.


pansophic
 
Persnally I would try another version of Linux. I have tried Suse & was never that keen on it. Fedora core or Mandriva may be a better option. I have never had a problem with either of these. I know it would be better to try & fix your current problem, but if you are unable to write the script, you may be better off changing. I am not a Linux newbie, but I wouldn't be able to write that sort of script without a lot of work.
 
I've tried a bunch of different linux distros and never had one that handled USB or PCMCIA correctly on hibernate or sleep.

Most of the time I just remember to remove the USB disks and PCMCIA stuff when I am putting it to sleep, and never let it hibernate.


pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top