Subject: RE: APM working
To: Netbsd-Users \(E-mail\) <netbsd-users@netbsd.org>
From: Rose, Brian <Brian.Rose@icn.siemens.com>
List: netbsd-users
Date: 06/05/2002 15:29:27
"apmd=YES" in /etc/rc.conf did the trick. Thanks Brian, and sorry for not
hearing you the first time ;-).


-----Original Message-----
From: Brian A. Seklecki [mailto:lavalamp@spiritual-machines.org]
Sent: Wednesday, June 05, 2002 3:22 PM
To: Rose, Brian
Cc: Netbsd-Users (E-mail)
Subject: RE: APM

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