On Jul 04 07:21:48, joel.r...@gmail.com wrote:
> > On Fri, Jul 03, 2015 at 07:29:08PM +0900, Joel Rees wrote:
> >> On Fri, Jul 3, 2015 at 3:05 PM, Mike Larkin <mlar...@azathoth.net> wrote:
> >> > One thing is to try 'ZZZ' which will hibernate the machine and will
> >> > repost video properly on resume (usually, no promises here either).
> >>
> >>       Cannot connect to apmd: No such file or directory.
> >>
> >> I don't even have /etc/apm, much less any scripts in there.
> >
> > You need a running apmd(8) to be able to use `zzz' or `ZZZ', as
> > explained in the man page for apm(8) (zzz and ZZZ are just hard links to
> > apm):
> >
> > ``apm communicates with the Advanced Power Management daemon, apmd(8),
> > making requests of it for current power status or to place the system
> > into a suspend or stand-by state.''
> >
> > Try again after issuing
> >
> > # rcctl -f start apmd
> >
> > or, if you want to enable apmd(8) permanently:
> >
> > # rcctl enable apmd
> > # rcctl start apmd
> >
> 
> Either way, /etc/apm and the scripts that the man pages for apm/apmd
> mention under that directory remain missing in action.

You are supposed to write them, if you wanti apmd
to take some further action upon suspend/resume.

Reply via email to