Subject: RE: APM
To: Rose, Brian <Brian.Rose@icn.siemens.com>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: netbsd-users
Date: 06/05/2002 15:21:49
On Wed, 5 Jun 2002 @ 3:12pm (-0400), Rose, Brian wrote:

RB>
RB> Actually I am running netbsd.GENERIC_LAPTOP off of the distribution CD. The
RB> device /dev/apmctl is present, but when I try to sleep with the 'apm -S'
RB> command, apm complains with a "cannot contact APM daemon at socket
RB> /var/run/apmdev: No such file or directory"
RB>
RB> Do I just symlink the two files or is there some other procedure for
RB> sockets? The man page indicates that the file must be present but I do not
RB> know how to properly create it.

sounds like apmd didn't start...

from the apmd(8) man page:


 /var/run/apmdev   The default UNIX-domain socket used for
                   communication
                   with apm(8).  The socket is protected by default to
                   mode 0660, UID 0, GID 0.



*) "apmd=YES" in /etc/rc.conf
*) /etc/rc.d/apmd start

-lava