Re: How do I spinup disk from power-up in standby ?

2009-02-10 Thread Wojciech Puchar

simply read any sector

On Mon, 9 Feb 2009, Dieter wrote:


Western Digital SATA disk in power-up in standby mode.
disk is connected to nforce4-ultra
FreeBSD 7.0  amd64

Google found that MirBSD's atactl man page has:

puisspinup  Explicitly spins up the device if power-up in standby (puis)
   mode is enabled.

I can't find anything like this on FreeBSD.  (I checked 7.1 also)
And the disk doesn't show up in dmesg.  It should be ad6,
but there is no ad6 and no Western Digital or WD in dmesg.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I spinup disk from power-up in standby ?

2009-02-10 Thread Wojciech Puchar

   mode is enabled.

I can't find anything like this on FreeBSD.  (I checked 7.1 also)
And the disk doesn't show up in dmesg.  It should be ad6,
but there is no ad6 and no Western Digital or WD in dmesg.


sorry i missed this. here is a problem that it's not seen.

when it enters such a mode?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How do I spinup disk from power-up in standby ?

2009-02-09 Thread Dieter
Western Digital SATA disk in power-up in standby mode.
disk is connected to nforce4-ultra
FreeBSD 7.0  amd64

Google found that MirBSD's atactl man page has:

puisspinup  Explicitly spins up the device if power-up in standby (puis)
mode is enabled.

I can't find anything like this on FreeBSD.  (I checked 7.1 also)
And the disk doesn't show up in dmesg.  It should be ad6,
but there is no ad6 and no Western Digital or WD in dmesg.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Standby

2008-09-16 Thread ronggui
Dear Users,

My laptop is ASUS M2Ne, and the OS is FreeBSD 7.0. I would like to
keep my PC standby when it is not in use.  I have noticed a web page
about FreeBSD on laptops
(http://www.freebsd.org/doc/en/articles/laptop/article.html). It says
that if I want to figure out if the power management system can
support mine, I have to try every possible option. I wonder if there
is any list telling what models the apm or acpi system supports?

If them can not support the Asus M2Ne, and I want to inquire a related
question. If the laptop is on but not in standby or hibernated mode,
and I want to bring it with me, moving from a room to another from
time to time. Will this action bring damage to my laptop? Should I
always shutdown it before I move it?

Thanks in advance!

-- 
HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/
Ph.D. Candidate, CityU of HK
Master of sociology, Fudan University, China
Bachelor of Social Work, Fudan University, China
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ACPI: Standby, sleep, suspend and resume

2006-11-25 Thread Erik Norgaard

Hi:

I have the following sysctl parameters:

hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1

First, I'd like that the screen is switched off when the lid closes, so 
I assume that I should set hw.acpi.lid_switch_state to something, but I 
don't know what.


Second: Is there a way to manually toggle the sleep state so I can 
create a menu item sleep or standby?


Last: When the laptop goes into some suspend mode - I don't know which - 
I don't know how to bring it back alive except for rebooting. What is 
the secret key combination? (typically).


Thanks, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: ACPI: Standby, sleep, suspend and resume

2006-11-25 Thread doug

On Sat, 25 Nov 2006, Erik Norgaard wrote:


Hi:

I have the following sysctl parameters:

hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1

First, I'd like that the screen is switched off when the lid closes, so I 
assume that I should set hw.acpi.lid_switch_state to something, but I don't 
know what.


Second: Is there a way to manually toggle the sleep state so I can create a 
menu item sleep or standby?


Last: When the laptop goes into some suspend mode - I don't know which - I 
don't know how to bring it back alive except for rebooting. What is the 
secret key combination? (typically).


Thanks, Erik


These are my settings. This is for a thinkpad T42p, your settings may be 
slightly different.


sysctl:

   hw.acpi.supported_sleep_state: S3 S4 S5
   hw.acpi.power_button_state: S5
   hw.acpi.sleep_button_state: S3
   hw.acpi.lid_switch_state: NONE
   hw.acpi.standby_state: S1
   hw.acpi.suspend_state: S3
   hw.acpi.sleep_delay: 3

/boot/loader.conf

   snd_ich_load=YES
   if_ipw_load=YES
   wlan_load=YES
   wlan_wep_load=YES
   acpi_ibm_load=YES    for thinkpad

If I close the lid the T42p goes to standby, opening wakes up. The sleep button 
fn-F4 does a suspend, again opening the lid does a resume. I have not figured 
out suspend to disk but for my purposes suspend draws power so slowly, I have 
not bothered.


It may be that you do need something set for hw.acpi.lid_switch_state, I do not. 
Resume does not correctly redraw the X-windows background, but it writing this I 
noticed I put:


notify 10 {
  match system  ACPI;
  match subsystem   Lid;
  action /usr/X11R6/bin/xrandr -display :0.0 -s 0;
};

inside of the comments in /etc/devd.conf.

I got most of my information from:

   http://www.cs.ucr.edu/~trep/tsrT40freebsd.html
   google
   various Linux sites talking about thinkpads


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACPI: Standby, sleep, suspend and resume

2006-11-25 Thread doug



On Sat, 25 Nov 2006, doug wrote:


On Sat, 25 Nov 2006, Erik Norgaard wrote:


Hi:

I have the following sysctl parameters:

hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1

First, I'd like that the screen is switched off when the lid closes, so I 
assume that I should set hw.acpi.lid_switch_state to something, but I don't 
know what.


Second: Is there a way to manually toggle the sleep state so I can create a 
menu item sleep or standby?


Last: When the laptop goes into some suspend mode - I don't know which - I 
don't know how to bring it back alive except for rebooting. What is the 
secret key combination? (typically).


Thanks, Erik


These are my settings. This is for a thinkpad T42p, your settings may be 
slightly different.


sysctl:

  hw.acpi.supported_sleep_state: S3 S4 S5
  hw.acpi.power_button_state: S5
  hw.acpi.sleep_button_state: S3
  hw.acpi.lid_switch_state: NONE
  hw.acpi.standby_state: S1
  hw.acpi.suspend_state: S3
  hw.acpi.sleep_delay: 3

/boot/loader.conf

  snd_ich_load=YES
  if_ipw_load=YES
  wlan_load=YES
  wlan_wep_load=YES
  acpi_ibm_load=YES    for thinkpad

If I close the lid the T42p goes to standby, opening wakes up. The sleep 
button fn-F4 does a suspend, again opening the lid does a resume. I have not 
figured out suspend to disk but for my purposes suspend draws power so 
slowly, I have not bothered.


It may be that you do need something set for hw.acpi.lid_switch_state, I do 
not. Resume does not correctly redraw the X-windows background, but it 
writing this I noticed I put:


   notify 10 {
 match system  ACPI;
 match subsystem   Lid;
 action /usr/X11R6/bin/xrandr -display :0.0 -s 0;
   };

inside of the comments in /etc/devd.conf.

I got most of my information from:

  http://www.cs.ucr.edu/~trep/tsrT40freebsd.html
  google
  various Linux sites talking about thinkpads


The devd.conf change works. Trying to help you helped me. I hope this 
information aids you as well. Without the xrandr, I got black and white stripes 
randomly for the background.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


idle, standby, suspend harddisk

2006-02-27 Thread Pol Hallen
Hi all :-)

i have a server with several hd always on

i want idle hard disk after several minutes

the bios of mother b. is not good for do this, and i'd like use a software 
which atailde or others..

with ataidle i can idle my hd but how check if hd is really in idle mode?

Are there others ports 4 do this?

With linux i use hdparm, but there isn't on freebsd.

Anyone can i help me? 

Thanks :-)
 
Pol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: idle, standby, suspend harddisk

2006-02-27 Thread Kees Plonsz
Pol Hallen wrote on Monday 27 February 2006 12:18:

 Hi all :-)
 
 i have a server with several hd always on
 
 i want idle hard disk after several minutes
 
 the bios of mother b. is not good for do this, and i'd like use a software
 which atailde or others..
 
 with ataidle i can idle my hd but how check if hd is really in idle mode?
 
 Are there others ports 4 do this?
 
 With linux i use hdparm, but there isn't on freebsd.
 
 Anyone can i help me?
 
 Thanks :-)
  
I don't know much about linux but perhaps atacontrol is your answer.
After a atacontrol detach the disk spins down. Better umount it first
or the system will hang if you use that disk again. 
You have to use atacontrol to attach it again.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: idle, standby, suspend harddisk

2006-02-27 Thread Pol Hallen
 After a atacontrol detach the disk spins down. Better umount it first
 or the system will hang if you use that disk again.
 You have to use atacontrol to attach it again.
It's a very good idea! ;-)

i'll do a script to umount fs and atacontrol detach..

well, how wait about 10 minutes of inactivity of the disk and excute a script? 
And while a client (samba) open a share dir on that disk?

mhmhm...i think is hard!
 
Pol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


2nd monitor not powering up (stuck in standby)

2005-09-15 Thread Scott Madley
Slightly weird problem. I'm running a 5.4-current dual-head Xinerama setup 
(using two Nvidia FX5500 PCI cards). Powered off my box to move. Powered up 
box. Second monitor is now stuck in standby state (appears to be not be 
receiving signal from the motherboard). Monitor that doesn't work is 
orginally terminated to card in pci slot#2. Remove all the video cards, 
throw a single card in pci slot #2, get signal. Throw second video card in 
unused slot (try both #1 and #3), second monitor doesn't get signal. I've 
verified both monitors are good. Box in question is a Dell Dimension 8400.

Dmesg indicates that it detects both cards, xorg config file is good. I've 
got the latest video drivers, a and pretty recent Xorg version. I've reset 
BIOS, I've verified from what I can tell that FreeBSD isn't doing anything 
stupid. Other then thinking it may be a power issue, I'm pretty much 
stumped. 

So has anyone seen something similar to this? Many thanks in advance.

Cheers,
/madley
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Standby mode for monitor.

2004-02-13 Thread Malcolm Kay
On Fri, 13 Feb 2004 04:23, Lowell Gilbert wrote:
 Eric F Crist [EMAIL PROTECTED] writes:
  On Thursday 12 February 2004 07:13 am, Malcolm Kay wrote:
   I'd like to be able to switch the monitors on a number of
   our computers into standby mode from a software program
   running on a virtual console; and wakeup either when a key is
   pressed or when the program has new information to display.
  
   I can probably manage to control blank screen savers but I
   would prefer to power down the displays to standby modes.
  
   The machines are those small size 'kitchen computer' VIA
   based cubes (almost). The monitors are LCD displays.
  
   Are there ioctls to help with this?
   How do I go about it?
 
  Malcolm,
 
  FWIW, there's an option called DPMS in your XF86Config file under the
  monitors section.  I know you have to have a fairly recent version of X
  for this.

Eric,
I was asking specifically about programs on virtual console. But thanks anyway.


 It's been there a long time, actually.

 On the console, there's a green screensaver and an apm screensaver.

Thanks Lowell,
The green_saver suits my needs rather well.
{I was looking for a much more difficult solution ;-) }

Malcolm 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Standby mode for monitor.

2004-02-12 Thread Malcolm Kay
I'd like to be able to switch the monitors on a number of
our computers into standby mode from a software program
running on a virtual console; and wakeup either when a key is 
pressed or when the program has new information to display.

I can probably manage to control blank screen savers but I
would prefer to power down the displays to standby modes.

The machines are those small size 'kitchen computer' VIA 
based cubes (almost). The monitors are LCD displays.

Are there ioctls to help with this?
How do I go about it?

All ideas welcomed.

Malcolm Kay

Dmesg --

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE #1: Mon Sep  8 11:54:33 CST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/PCISIO
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 800033673 Hz
CPU: VIA C3 Samuel 2 (800.03-MHz 686-class CPU)
  Origin = CentaurHauls  Id = 0x673  Stepping = 3
  Features=0x803035FPU,DE,TSC,MSR,MTRR,PGE,MMX
real memory  = 259981312 (253888K bytes)
avail memory = 248987648 (243152K bytes)
Preloaded elf kernel kernel at 0xc03e9000.
Preloaded elf module blank_saver.ko at 0xc03e909c.
md0: Malloc disk
Using $PIR table, 5 entries at 0xc00fdf20
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: PCI to PCI bridge (vendor=1106 device=8601) at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: Trident model 8500 VGA-compatible display device at 0.0 irq 11
isab0: PCI to ISA bridge (vendor=1106 device=8231) at device 17.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 8231 ATA100 controller port 0xd000-0xd00f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 5 at device 17.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 5 at device 17.3 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
chip1: PCI to Other bridge (vendor=1106 device=8235) at device 17.4 on pci0
chip2: VIA 82C686 AC97 Audio port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 10 
at device 17.5 on pci0
vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xe800-0xe8ff mem 0xeb00-0xebff 
irq 11 at device 18.0 on pci0
vr0: Ethernet address: 00:40:63:cb:8b:f0
miibus0: MII bus on vr0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
puc0: Dolphin Peripherals 4036 port 0xec00-0xec1f irq 12 at device 20.0 on pci0
sio0: type 16550A
sio1: type 16550A
orm0: Option ROM at iomem 0xc-0xcbfff on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio2 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio2: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ad0: 78167MB Maxtor 6Y080L0 [158816/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Standby mode for monitor.

2004-02-12 Thread Eric F Crist
On Thursday 12 February 2004 07:13 am, Malcolm Kay wrote:
 I'd like to be able to switch the monitors on a number of
 our computers into standby mode from a software program
 running on a virtual console; and wakeup either when a key is
 pressed or when the program has new information to display.

 I can probably manage to control blank screen savers but I
 would prefer to power down the displays to standby modes.

 The machines are those small size 'kitchen computer' VIA
 based cubes (almost). The monitors are LCD displays.

 Are there ioctls to help with this?
 How do I go about it?

Malcolm,

FWIW, there's an option called DPMS in your XF86Config file under the monitors 
section.  I know you have to have a fairly recent version of X for this.  

HTH
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588


pgp0.pgp
Description: signature


Re: Standby mode for monitor.

2004-02-12 Thread Lowell Gilbert
Eric F Crist [EMAIL PROTECTED] writes:

 On Thursday 12 February 2004 07:13 am, Malcolm Kay wrote:
  I'd like to be able to switch the monitors on a number of
  our computers into standby mode from a software program
  running on a virtual console; and wakeup either when a key is
  pressed or when the program has new information to display.
 
  I can probably manage to control blank screen savers but I
  would prefer to power down the displays to standby modes.
 
  The machines are those small size 'kitchen computer' VIA
  based cubes (almost). The monitors are LCD displays.
 
  Are there ioctls to help with this?
  How do I go about it?
 
 Malcolm,
 
 FWIW, there's an option called DPMS in your XF86Config file under the monitors 
 section.  I know you have to have a fairly recent version of X for this.  

It's been there a long time, actually.

On the console, there's a green screensaver and an apm screensaver.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: automatic standby after idle timeout

2003-03-26 Thread Lowell Gilbert
Lowell Gilbert [EMAIL PROTECTED] writes:

 mike mcgranahan [EMAIL PROTECTED] writes:
 
  thank you for your reply. correct me if i'm wrong, but
  apmd only responds to apm signals sent to it, either
  by the user or by the machine hardware (lid closing or
  opening).
 
 That looks correct.  It should be possible to hack a screensaver to
 send such an event; if my kid gives me enough time this week, I'll
 take a crack at it.

It definitely works; replacing the apm_display() call in apm_saver()
in src/sys/modules/syscons/apm/apm_saver.c with:
if (blank)
apm_suspend(PMST_SUSPEND);
sc_touch_scrn_saver();
will suspend the system when the screen saver kicks in.  It won't work
in X, though, because the screensaver gets disabled by the video card
change to graphics mode.  So it's only a hack, but I'll still probably
try wrapping it in a sysctl and submitting it as a PR.

I'll have to figure out more of the implementation of the saver-module
infrastructure to do this properly; any hints would be appreciated.
[It's not that this really *should* be connected to screen savers,
just that detecting inactivity is the part that I don't have a good
way to do independently.]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: automatic standby after idle timeout

2003-03-24 Thread Lowell Gilbert
mike mcgranahan [EMAIL PROTECTED] writes:

 thank you for your reply. correct me if i'm wrong, but
 apmd only responds to apm signals sent to it, either
 by the user or by the machine hardware (lid closing or
 opening).

That looks correct.  It should be possible to hack a screensaver to
send such an event; if my kid gives me enough time this week, I'll
take a crack at it.

   also, can anyone describe the apm_saver.ko KLD?  i
   can't seem to find a description of it anywhere.
  
  It turns off the screen.
 
 ahh, thanks.  green_saver also turns off the screen
 (dpms).  are there any differences between apm_saver
 and green_saver?

They use different API, as far as I can see.  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: automatic standby after idle timeout

2003-03-23 Thread mike mcgranahan
--- Lowell Gilbert
[EMAIL PROTECTED] wrote:
 mike mcgranahan [EMAIL PROTECTED] writes:
 
  under windows it is possible to configure the
 system
  to enter APM standby after a certain amount of
 system
  inactivity.  in linux their is a program called
 sleepd
  which will initiate an APM standby after a
  configurable period of system inactivity, which
 works
  both on the console as well as while X is running.
  is
  there any way to achieve the same effect under
  freebsd, where the system will enter standby
 after,
  say, 10 minutes of no activity?
 
 apmd(8) is the closest thing I know of.
 
 I don't know all of the new power-control functions
 in 5.x, but
 I wouldn't recommend that for you anyway.

thank you for your reply. correct me if i'm wrong, but
apmd only responds to apm signals sent to it, either
by the user or by the machine hardware (lid closing or
opening).
 
  also, can anyone describe the apm_saver.ko KLD?  i
  can't seem to find a description of it anywhere.
 
 It turns off the screen.

ahh, thanks.  green_saver also turns off the screen
(dpms).  are there any differences between apm_saver
and green_saver?

thank you again.

mike

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: automatic standby after idle timeout

2003-03-23 Thread mike mcgranahan
--- David Fleck [EMAIL PROTECTED] wrote:
 On Fri, 21 Mar 2003, mike mcgranahan wrote:
  under windows it is possible to configure the
 system
  to enter APM standby after a certain amount of
 system
  inactivity.  in linux their is a program called
 sleepd
  which will initiate an APM standby after a
  configurable period of system inactivity, which
 works
  both on the console as well as while X is running.
  is
  there any way to achieve the same effect under
  freebsd, where the system will enter standby
 after,
  say, 10 minutes of no activity?
 
 try 'man xset'. grep for the dpms options.  In my
 AfterStep configuration,
 I use
 xset dpms 600 1200 1800
 
 to set standby (10 min) suspend (20 min) and off (30
 min) times.

thanks for the info.  i do use xset for controlling
dpms in X, but i am interested in something that will
a) put the system into standby, not just the monitor,
and b) work regardless of X running.

any other suggestions or ideas?  i'm finally switching
from windows to unix full-time, so i am stuck
choosing between freebsd and linux (gentoo).  i really
like freebsd's integration, configuration,
documentation and ports system, but auto-standby is
important to me.  thie absence of this feature seems
to me to be a significant, though not vital,
omission--particularly useful in computer labs.  is
anyone aware of a more general daemon or facility that
can execute a command after a certain period of system
idleness... perhaps some modified cron?

 
 --
 David Fleck
 [EMAIL PROTECTED]
 

thanks again,
mike

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: automatic standby after idle timeout

2003-03-23 Thread David Fleck
On Sun, 23 Mar 2003, mike mcgranahan wrote:
 thanks for the info.  i do use xset for controlling
 dpms in X, but i am interested in something that will
 a) put the system into standby, not just the monitor,
 and b) work regardless of X running.

 any other suggestions or ideas?  i'm finally switching
 from windows to unix full-time, so i am stuck
 choosing between freebsd and linux (gentoo).  i really
 like freebsd's integration, configuration,
 documentation and ports system, but auto-standby is
 important to me.  thie absence of this feature seems
 to me to be a significant, though not vital,
 omission--particularly useful in computer labs.  is
 anyone aware of a more general daemon or facility that
 can execute a command after a certain period of system
 idleness... perhaps some modified cron?

I'm not sure what is involved in putting the *system* into standby, as
compared to just the monitor - Linux distros usually provide a utility
called 'hdparm' to set spin-down and sleep times for IDE drives, don't
know if theres a SCSI equivalent.  I haven't found a similar utility in
FreeBSD - possibly one of the tunables mentioned in 'man ata' or 'man
tuning' would do it, I haven't looked very hard.

--
David Fleck
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: automatic standby after idle timeout

2003-03-22 Thread Lowell Gilbert
mike mcgranahan [EMAIL PROTECTED] writes:

 under windows it is possible to configure the system
 to enter APM standby after a certain amount of system
 inactivity.  in linux their is a program called sleepd
 which will initiate an APM standby after a
 configurable period of system inactivity, which works
 both on the console as well as while X is running.  is
 there any way to achieve the same effect under
 freebsd, where the system will enter standby after,
 say, 10 minutes of no activity?

apmd(8) is the closest thing I know of.

I don't know all of the new power-control functions in 5.x, but
I wouldn't recommend that for you anyway.

 also, can anyone describe the apm_saver.ko KLD?  i
 can't seem to find a description of it anywhere.

It turns off the screen.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: automatic standby after idle timeout

2003-03-22 Thread David Fleck
On Fri, 21 Mar 2003, mike mcgranahan wrote:
 under windows it is possible to configure the system
 to enter APM standby after a certain amount of system
 inactivity.  in linux their is a program called sleepd
 which will initiate an APM standby after a
 configurable period of system inactivity, which works
 both on the console as well as while X is running.  is
 there any way to achieve the same effect under
 freebsd, where the system will enter standby after,
 say, 10 minutes of no activity?

try 'man xset'. grep for the dpms options.  In my AfterStep configuration,
I use
xset dpms 600 1200 1800

to set standby (10 min) suspend (20 min) and off (30 min) times.

--
David Fleck
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


automatic standby after idle timeout

2003-03-21 Thread mike mcgranahan
hello,

under windows it is possible to configure the system
to enter APM standby after a certain amount of system
inactivity.  in linux their is a program called sleepd
which will initiate an APM standby after a
configurable period of system inactivity, which works
both on the console as well as while X is running.  is
there any way to achieve the same effect under
freebsd, where the system will enter standby after,
say, 10 minutes of no activity?

also, can anyone describe the apm_saver.ko KLD?  i
can't seem to find a description of it anywhere.

thank you for your help.

mike

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


APM standby freeze the PC

2003-03-11 Thread Mica Telodico
Hi, I have this configuration:

MoBo MSI KT4 Ultra
CPU Athlon XP 2400+
Matrox G450

I'd like to keep my computer in standby when I don't
use it , but if I give the command : apm -Z in the
console appears : ata0: resetting devices...

And the system locks up . The Suspend mode works
perfectly. On linux the standby works too.
My IDE configuration (if this can be of any help )

IDE0:
Master: Maxtor 60GB ATA133
Slave: Nec DV5800 DVD Reader
IDE1:
Master: Quantum Fireball 30GB ATA100
Slave: HP CD-Writer Plus 8100

Thanks for UR help

Bye

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Monitor standby + gnome 2.2 and XFree86-4.2.0

2003-02-28 Thread Mark Edwards
I upgraded from Gnome 1.x and XFree86-3.x to Gnome 2.2 and 
XFree86-4.2.0 (latest versions of ports) and monitor-standby with 
xscreensaver stopped working.  Under the previous setup, I could set a 
time for the monitor to go into standby mode, and it would.  Now, I set 
the time, but it never goes into standby.

xscreensaver works otherwise, just no standby.  I did a google search 
and saw references to a bug involving DPMS in a Redhat forum, but I 
didn't quite understand it.  Anyone have any suggestions to get it 
working, or where I might inquire or look?

Thanks!

--
Mark Edwards
San Francisco, CA
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message