On 2012-06-03, Jan Stary <h...@stare.cz> wrote: > On Jun 02 23:38:14, Robert Connolly wrote: >> Hello. >> >> I am running apmd without arguments from rc.conf. I am also running lid >> close suspend from sysctl.conf. When I close the lid, and open it again, >> apmd is gone from 'ps auxw'. >> >> In /etc/apm/suspend I am hitting xidle with a signal 30. > > Why are you hooking your suspend action to xidle? > What do you want to happen on a lid close, beside > the machine suspending, and why? > >> xidle is sparking >> xlock with a -startCmd apm -C, and an -endCmd apm -H. >> >> /var/log/messages and /var/log/daemon is not logging anything unusual from >> apmd. > >
So you have to enter a password when the laptop comes back from suspend.