LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cannot (un)set powersave mode (https://www.linuxquestions.org/questions/slackware-14/cannot-un-set-powersave-mode-582229/)

Jeebizz 09-04-2007 07:06 PM

cannot (un)set powersave mode
 
I recently rebooted my machine, and usually when I am under an x-windows session, I have it set not to use any kind of power save feature for my monitor. I do not have the DPMS option in xorg.conf, and I made sure that rc.acpid would not load (chmod -x) and commented out the setterm option in rc.M. So after about 15 minutes, my screen goes blank still, so I also made sure that xset s off was in my .xinitrc, so now thats taken care of, and still my screen goes blank.

I then decide to try this command while in my x-windows session:
Code:

setterm -blank 0
After a while, still it goes blank, so I decide to exit to a CLI, and do the following as root:
Code:

root@slackuser:/home/slackuser# setterm -blank 0 -powesave off -append
Ok, so the command works, so I go back into x-windows, and yet it goes blank again, so I try the same command as root (su), in xterm, but then I get a different result:

Code:

root@slacker:/home/slackuser# setterm -blank 0 -powersave off -append
cannot (un)set powersave mode
root@slacker:/home/slackuser#

Now what!? I made sure acpi/apm were not loading, why is it still going blank, and what should I try next? :scratch:

T3slider 09-04-2007 10:43 PM

I was getting annoyed with that problem as well until I solved it recently (I don't remember where I found the solution, but it required much googling). I don't know if this will solve your problem, but I added the following to my /etc/X11/xorg.conf file, immediately after the
Code:

Section "Module"
...
...
EndSection

and before the
Code:

Section "InputDevice"
Here it is:
Code:

Section "ServerFlags"
    Option        "blank time" "0"
    Option        "standby time" "0"
    Option        "suspend time" "0"
    Option        "off time" "0"
EndSection

Hope that helps (if not, sorry...)

Jeebizz 09-05-2007 08:11 PM

That worked exactly the way I needed, thanks!

T3slider 09-05-2007 09:08 PM

Glad I could help! Now you can adjust everything via KDE's power management settings (if you use KDE) if you want and it will actually work.

T3slider 09-06-2007 09:44 PM

Apparently the root of the problem is /etc/rc.d/rc.M, as explained in this (new) post:
http://www.linuxquestions.org/questi...d.php?t=582748

Basically, undo my solution and use the new one -- this avoids overriding a setting and instead undoes the root of the problem. Sorry for the bad advice!

[edit]I just reread your first post and saw that you already commented out the line in rc.M. Never-mind then...:)[/edit]

xockes 09-17-2008 05:49 AM

Thanks from a Eee PC 701 Xandros user
 
Thanks T3Slider. I just want to post it here so people googling the same problem can find a solution to a crazy set up in the Eee PC.

Suppose you want to set an Eee PC to display a little presentation with its characteristics, price and goodies. Well guess what, every 20 mins. it will blank the screen. This is the only solution to the problem I have found that works.

Again

Linux Eee PC 701 Xandros and Blank Screen Off, the rest of the key words can be found easily in your posts. Thanks a lot.


All times are GMT -5. The time now is 10:28 AM.