From owner-freebsd-mobile Fri May 19 13:11: 4 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from spike.porcupine.org (umbilical.porcupine.org [168.100.189.1]) by hub.freebsd.org (Postfix) with ESMTP id A858237B617 for ; Fri, 19 May 2000 13:11:00 -0700 (PDT) (envelope-from wietse@porcupine.org) Received: by spike.porcupine.org (Postfix, from userid 100) id BB6914563D; Fri, 19 May 2000 16:10:58 -0400 (EDT) Subject: Re: Thanks! In-Reply-To: <20000520040145C.iwasaki@jp.FreeBSD.org> from Mitsuru IWASAKI at "May 20, 0 04:01:45 am" To: iwasaki@jp.FreeBSD.org (Mitsuru IWASAKI) Cc: wietse@porcupine.org, dwhite@resnet.uoregon.edu, freebsd-mobile@FreeBSD.ORG X-Time-Zone: USA EST, 6 hours behind central European time MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1331 Message-Id: <20000519201058.BB6914563D@spike.porcupine.org> Date: Fri, 19 May 2000 16:10:58 -0400 (EDT) From: wietse@porcupine.org (Wietse Venema) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mitsuru IWASAKI: > > Doug White: > > > There's also the > > > > > > sleep 1; zzz > > > > > > command since sometimes the machine will pick up the from the > > > command as a keystroke and say alive. > > > > I thought that the zzz is executed after the is typed. > > I thought the machine will pick up the key release event, When logged in over the network? When closing the display? > and you can specify the delay like this > # sysctl -w machdep.apm_suspend_delay=2 Changing it to 10 seconds does not solve the problem. > BTW, could you try to unplug AC code and/or all (likely NIC) PCCards > before zzz? All tests are done whike booted and running from battery. As I wrote in earlier email, the bug goes away when I remove the modem and ethernet card. However, doing so was not necessary with FreeBSD 2.2.8. Can anyone explain why FreeBSD must wake up prematurely when cards are present, even without cables attached? Having to plug in and unplug cards all the time is inconvenient and this interferes with testing of my network software. > and what is your apm config in your kernel config file? I made no change to the FreeBSD 3.4-RELEASE and PAO3 code, in order to avoid confusion. I left everything at the defaults except the hostname and IP address information in rc.conf. Wietse To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message