Re: CVS commit: src/etc/powerd/scripts

2012-04-10 Thread Jukka Ruohonen
On Tue, Apr 10, 2012 at 01:58:52PM +, Jukka Ruohonen wrote: > Module Name: src > Committed By: jruoho > Date: Tue Apr 10 13:58:52 UTC 2012 > > Modified Files: > src/etc/powerd/scripts: sensor_temperature > > Log Message: > Gracefully shutdown upon reaching critical temperature

Re: CVS commit: src/etc/powerd/scripts

2011-01-01 Thread Jukka Ruohonen
On Fri, Dec 31, 2010 at 12:51:24PM -0600, David Young wrote: > IMO, we should put the system to sleep by sending a > power-saving/wakeup-latency goal and a set of waking events (e.g., > keystroke, mouse movement, LAN activity) to the root device_t using > drvctl. To put any smaller set of devices

Re: CVS commit: src/etc/powerd/scripts

2010-12-31 Thread David Young
On Fri, Dec 31, 2010 at 08:11:52PM +0100, Jean-Yves Migeon wrote: > On 31.12.2010 19:51, David Young wrote: > > IMO, we should put the system to sleep by sending a > > power-saving/wakeup-latency goal and a set of waking events (e.g., > > keystroke, mouse movement, LAN activity) to the root device_

Re: CVS commit: src/etc/powerd/scripts

2010-12-31 Thread Jean-Yves Migeon
On 31.12.2010 19:51, David Young wrote: > IMO, we should put the system to sleep by sending a > power-saving/wakeup-latency goal and a set of waking events (e.g., > keystroke, mouse movement, LAN activity) to the root device_t using > drvctl. To put any smaller set of devices to sleep, send the go

Re: CVS commit: src/etc/powerd/scripts

2010-12-31 Thread David Young
On Fri, Dec 31, 2010 at 11:01:08AM +0100, Jean-Yves Migeon wrote: > On 31.12.2010 10:36, Jukka Ruohonen wrote: > > Module Name:src > > Committed By: jruoho > > Date: Fri Dec 31 09:36:15 UTC 2010 > > > > Modified Files: > > src/etc/powerd/scripts: sleep_button > > >

Re: CVS commit: src/etc/powerd/scripts

2010-12-31 Thread Jukka Ruohonen
On Fri, Dec 31, 2010 at 04:54:47AM -0800, Paul Goyette wrote: > However, the current implementation is simply a text string with no > defined semantics. A back-end is able to set the value, and it can be > retrieved via the POWER_IOC_GET_TYPE ioctl, but otherwise nothing uses > the value. Sure

Re: CVS commit: src/etc/powerd/scripts

2010-12-31 Thread Paul Goyette
On Fri, 31 Dec 2010, Jukka Ruohonen wrote: On Fri, Dec 31, 2010 at 11:29:23AM +0100, Jean-Yves Migeon wrote: Seems reasonable to me. We could have a more featureful binary later, and just alias zzz(8) to it. We have ready ioctl-facilities in sysmon's "sysmon_power.c". I believe it was origina

Re: CVS commit: src/etc/powerd/scripts

2010-12-31 Thread Jukka Ruohonen
On Fri, Dec 31, 2010 at 11:29:23AM +0100, Jean-Yves Migeon wrote: > Seems reasonable to me. We could have a more featureful binary later, > and just alias zzz(8) to it. We have ready ioctl-facilities in sysmon's "sysmon_power.c". I believe it was originally intended by the author that MD code shou

Re: CVS commit: src/etc/powerd/scripts

2010-12-31 Thread Jean-Yves Migeon
On 31.12.2010 11:10, Jukka Ruohonen wrote: > On Fri, Dec 31, 2010 at 11:01:08AM +0100, Jean-Yves Migeon wrote: >> I am using machdep.sleep_state as node to put a domU into suspend mode. >> Up to now, putting sleep_state under machdep allowed powerd(8) >> sleep_button to be used regardless of the en

Re: CVS commit: src/etc/powerd/scripts

2010-12-31 Thread Jukka Ruohonen
On Fri, Dec 31, 2010 at 11:01:08AM +0100, Jean-Yves Migeon wrote: > I am using machdep.sleep_state as node to put a domU into suspend mode. > Up to now, putting sleep_state under machdep allowed powerd(8) > sleep_button to be used regardless of the environment (eg. ACPI sleep or > Xen domU sleep).

Re: CVS commit: src/etc/powerd/scripts

2010-12-31 Thread Jean-Yves Migeon
On 31.12.2010 10:36, Jukka Ruohonen wrote: > Module Name: src > Committed By: jruoho > Date: Fri Dec 31 09:36:15 UTC 2010 > > Modified Files: > src/etc/powerd/scripts: sleep_button > > Log Message: > Use hw.acpi.sleep.state instead of machdep.sleep_state. And so it begins :) I am