From owner-freebsd-mobile Wed May 17 5:25:58 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ostrich.egg.net (ostrich.egg.net [199.2.107.34]) by hub.freebsd.org (Postfix) with ESMTP id DF38837BBF4 for ; Wed, 17 May 2000 05:25:54 -0700 (PDT) (envelope-from tomg@egg.net) Received: from localhost (tomg@localhost) by ostrich.egg.net (8.9.3/8.9.3) with ESMTP id FAA97508; Wed, 17 May 2000 05:25:44 -0700 (PDT) (envelope-from tomg@egg.net) Date: Wed, 17 May 2000 05:25:44 -0700 (PDT) From: Tom Glover To: Ken Key Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: apmd In-Reply-To: <200005162342.QAA24829@sodium.network-alchemy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 16 May 2000, Ken Key wrote: > Hi Tom, > > Hmm, I have a Sony Z505SX with 4.0-RELEASE. My APM kernel config line > is just: > > device apm0 > > no "at nexus?, etc... As I recall, I found the above on the mobile > list a while ago. Does hibernate, sleep on lid, sleep on "Fn-ESC", > sleep on "zzz" just fine. > > Hope this helps, > K^2 Unfortunately not. I still cannot get 4.0 to recognize a lid closure. However, thanks for the suggestion. > > > > > > > Running FreeBSD 4.0-RELEASE on a Sony Vaio PCG-Z505HE. Am having problems > > with apmd. > > > > Have "device apm0 at nexus? flags 0x20" in the kernel > > config. Also > > apm_enable="YES" > > apmd_enable="YES" > > apm_flags="" > > in /etc/rc.conf. > > > > /etc/apmd.conf is : > > # > > > > apm_event SUSPENDREQ { > > exec "/etc/rc.suspend"; > > } > > > > apm_event USERSUSPENDREQ { > > exec "sync && sync && sync"; > > exec "sleep 1"; > > exec "apm -z"; > > } > > > > apm_event NORMRESUME, STANDBYRESUME { > > exec "/etc/rc.resume"; > > } > > > > A "ps -ax" shows apmd running. "apm -z or zzz" puts the laptop in suspend > > mode and any key brings it back. So far so good. > > > > Closing the laptop lid does zilch. I could wait for winter and still > > nothing. In the BIOS for this laptop there is no option for configuring > > what happens when the lid is closed. When running Windoze the laptop goes > > to sleep on a close lid just fine. Just not under FreeBSD. > > > > What dumb thing am I missing here? > > > > -- > > Regards, > > Tom Glover > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-mobile" in the body of the message > -- > Ken Key (Ken.Key@Nokia.COM, key@Network-Alchemy.com) > Nokia, Santa Cruz, CA > -- Regards, Tom Glover To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message