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/tests/fs/common

2010-12-31 Thread David Laight
On Fri, Dec 31, 2010 at 06:16:41PM +, Antti Kantee wrote: > Module Name: src > Committed By: pooka > Date: Fri Dec 31 18:16:41 UTC 2010 > > Modified Files: > src/tests/fs/common: h_fsmacros.h > > Log Message: > Introduce r/o tests. They do two mounts: the first one is r/w and

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 > > >

Build failure on port-amd64 - acpiverbose

2010-12-31 Thread Paul Goyette
Sources are up to date as of a few minutes ago. --- dependall-acpiverbose --- /build/netbsd-local/src/sys/dev/acpi/acpi_verbose.c:493: warning: assignment makes pointer from integer without a cast *** [acpi_verbose.o] Error code 1 Probably from this commit: Module Name:src Committed By:

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

Re: CVS commit: src/tests/lib/libc/gen

2010-12-31 Thread David Holland
On Thu, Dec 30, 2010 at 10:21:53PM +, Antti Kantee wrote: > Log Message: > Test is no longer expected to hang. > > PR lib/44248 closed when test associate with PR fails ==> brick dholland The bug was fixed, so I closed the PR. I don't have time to spend an hour or two running tests every