Re: using power save and power down features

2000-02-19 Thread Peter Ross
On 18-Feb-2000, Horacio MG [EMAIL PROTECTED] wrote:
 
   2) For X I have in the Section Screen of /etc/X11/XF86Config the lines
   
   StandbyTime 2
   SuspendTime 3
   OffTime 4
   
   You might need other/more configuration if you are using a laptop.
 
 Just had a look at my /etc/X11/XF86Config file, looking for those lines
 and realized that I have 'Section Screen' defined four times:
 
 Section Screen
Driver  Accel
Device  video
Monitor monitor
 ...
 Section Screen
Driver  SVGA
Device  Generic VGA
Monitor monitor
 ...
 Section Screen
Driver  VGA16
Device  Generic VGA
Monitor monitor
 ...
 Section Screen
Driver  VGA2
Device  Generic VGA
Monitor monitor
 
 ... and for all four:
 
BlankTime   0
SuspendTime 0
OffTime 0
 
 ... and 'Section Device' is defined twice.  In /etc/X11/Xserver I
 have: /usr/X11R6/bin/XF86_S3V
 
This means that you have to use the 'Driver Accel' section, as you are
using an accelerated Xserver, while SVGA is for the SVGA Xserver and
so on.

 Now, is BlankTime = StandbyTime? 

No blank time is the time at which the screen turns black but is still
using all its power (to prevent burn in I assume).

 As I use xdm, I suppose I would have
 to reboot before the changes have effect?  (I just did it but it did not 
 work):
 
BlankTime   2
SuspendTime 3
OffTime 4
 


Re: using power save and power down features

2000-02-19 Thread Peter Palfrader aka Weasel
On Fri, Feb 18, 2000 at 03:23:56PM +0100, Horacio MG wrote:

 As I use xdm, I suppose I would have to reboot before the changes
 have effect?

This is not the other OS you must know, there's a method which IMHO is
a little bit smarter :)

try running

/etc/init.d/xdm restart

as root. 

not from within X might be an idea :)
you can switch to your virtual consoles with Ctrl+Alt+F1 trough
F6. Back again with Alt+F7.



the 
/etc/init.d/file start|stop|reload|restart.
method works for many other things too, like the inetd, the lpd, et
alii. 

FYI
Peter Palfrader

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpR6ijMnyo7O.pgp
Description: PGP signature


Re: using power save and power down features

2000-02-18 Thread Peter Ross
On 16-Feb-2000, Shaul Karl [EMAIL PROTECTED] wrote:
  When using windows my computer move the screen automaticly to standby mode
  to save power after a certain time ( a bit after the screen save starts),
  and when I shut down it turns the computer of automaticly.
  Is it posible to perform these using linux? ( I am using potato, currently
  2.2.9)
 
 2) For X I have in the Section Screen of /etc/X11/XF86Config the lines
 
 StandbyTime 2
 SuspendTime 3
 OffTime 4
 
 You might need other/more configuration if you are using a laptop.

Section Device
   Identifier  MyCard
   VendorName  Trident
   BoardName   3DImage975
   Chipset 3dimage975
   option  power_saver
EndSection

 As for the shut down, I do not know. My mother board can not do that.

You have to enable APM in the kernel (it is off by default as it can
make it hard for some motherboards to boot).

Pete


Re: using power save and power down features

2000-02-18 Thread Horacio MG

  2) For X I have in the Section Screen of /etc/X11/XF86Config the lines
  
  StandbyTime 2
  SuspendTime 3
  OffTime 4
  
  You might need other/more configuration if you are using a laptop.

Just had a look at my /etc/X11/XF86Config file, looking for those lines
and realized that I have 'Section Screen' defined four times:

Section Screen
   Driver  Accel
   Device  video
   Monitor monitor
...
Section Screen
   Driver  SVGA
   Device  Generic VGA
   Monitor monitor
...
Section Screen
   Driver  VGA16
   Device  Generic VGA
   Monitor monitor
...
Section Screen
   Driver  VGA2
   Device  Generic VGA
   Monitor monitor

... and for all four:

   BlankTime   0
   SuspendTime 0
   OffTime 0

... and 'Section Device' is defined twice.  In /etc/X11/Xserver I
have: /usr/X11R6/bin/XF86_S3V

Now, is BlankTime = StandbyTime?  As I use xdm, I suppose I would have
to reboot before the changes have effect?  (I just did it but it did not 
work):

   BlankTime   2
   SuspendTime 3
   OffTime 4

One problem I have every now and then with X is that sometimes I exit
(either exit - exit or exit session - kill) and instead of showing
xdm's login prompt, the whole thing hangs with a colour striped screen
(can't even go back to console mode),  is this related to my
configuration?

Also, I have ctrl+alt+end configured for powering off (shutdown with apm
enabled), and that works from the console;  how could I enable a similar
thing from X?


Please, Cc: me, thanks.


-- 
Horacio Anno MMDCCLIII aUC
[EMAIL PROTECTED]   Valencia - ESPAÑA

Key fingerprint = F4EE AE5E 2F01 0DB3 62F2  A9F4 AD31 7093 4233 7AE6


using power save and power down features

2000-02-16 Thread Micha Feigin
When using windows my computer move the screen automaticly to standby mode
to save power after a certain time ( a bit after the screen save starts),
and when I shut down it turns the computer of automaticly.
Is it posible to perform these using linux? ( I am using potato, currently
2.2.9)

Thanx
[EMAIL PROTECTED]


Re: using power save and power down features

2000-02-16 Thread Lee Bradshaw
On Wed, Feb 16, 2000 at 04:26:55PM +0200, Micha Feigin wrote:
 When using windows my computer move the screen automaticly to standby mode
 to save power after a certain time ( a bit after the screen save starts),
 and when I shut down it turns the computer of automaticly.
 Is it posible to perform these using linux? ( I am using potato, currently
 2.2.9)

Here's the beginning of my .xsession file:

  # set power saving modes
  xset dpms 1800 2100 2200
  
  # set screen locking
  xautolock -time 30 -locker xlock -mode blank \
  -corners 00+0 -cornerdelay 2 -cornerredelay 5 -cornersize 10 


It's set for 1800 (30 minutes) because that is what the monitor docs
recommended as the minimum time between degaussing. The monitor degauses
when it powers up.

-- 
Lee Bradshaw [EMAIL PROTECTED] (preferred)
Alantro Communications   [EMAIL PROTECTED]


Re: using power save and power down features

2000-02-16 Thread John Gould
Yes,
You need to compile a kernel with apm support. It's in the 2.2 series
kernels, just run make config etc.

Regards JohnG

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/  John Gould  _/
_/  Senior Systems Support Engineer _/
_/  Power Innovations Limited   _/
_/  Manton Lane, Bedford. MK41 7BJ, England _/
_/  PGP - Public key available  _/ 
_/  email: [EMAIL PROTECTED], [EMAIL PROTECTED]  _/
_/  Tel:   +44 1234 223002  Fax: +44 1234 223000_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


On Wed, 16 Feb 2000, Micha Feigin wrote:

 When using windows my computer move the screen automaticly to standby mode
 to save power after a certain time ( a bit after the screen save starts),
 and when I shut down it turns the computer of automaticly.
 Is it posible to perform these using linux? ( I am using potato, currently
 2.2.9)
 
 Thanx
 [EMAIL PROTECTED]
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 


Re: using power save and power down features

2000-02-16 Thread paul
 When using windows my computer move the screen automaticly to standby mode
 to save power after a certain time ( a bit after the screen save starts),
 and when I shut down it turns the computer of automaticly.
 Is it posible to perform these using linux? ( I am using potato, currently
 2.2.9)
 
Look at the kernel options for apm support, and check the settings in your 
bios.  The right combination can work quite well, but not with all bios.

-ptw


Re: using power save and power down features

2000-02-16 Thread Shaul Karl
 When using windows my computer move the screen automaticly to standby mode
 to save power after a certain time ( a bit after the screen save starts),
 and when I shut down it turns the computer of automaticly.
 Is it posible to perform these using linux? ( I am using potato, currently
 2.2.9)
 
 Thanx
 [EMAIL PROTECTED]
 

1) For the ttys I have a call to power_save in ~/.bashrc, where power_save is 
previously defined by:

power_save() {
  if [ -z $DISPLAY ]; then
setterm -powersave on
  fi
}

2) For X I have in the Section Screen of /etc/X11/XF86Config the lines

StandbyTime 2
SuspendTime 3
OffTime 4

You might need other/more configuration if you are using a laptop.
As for the shut down, I do not know. My mother board can not do that.
-- 
Shaul Karl [EMAIL PROTECTED]
An elephant is a mouse with an operating system.