From owner-freebsd-mobile Thu Nov 20 07:53:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA13219 for mobile-outgoing; Thu, 20 Nov 1997 07:53:44 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA13212 for ; Thu, 20 Nov 1997 07:53:41 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id IAA18827; Thu, 20 Nov 1997 08:53:37 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id IAA09960; Thu, 20 Nov 1997 08:53:36 -0700 Date: Thu, 20 Nov 1997 08:53:36 -0700 Message-Id: <199711201553.IAA09960@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Carlos A. Ugarte" Cc: nate@mt.sri.com (Nate Williams), mobile@FreeBSD.org Sender: owner-freebsd-mobile@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Subject: Re: APM and Compaq Contura 400CX In-Reply-To: <199711200447.VAA16323@lectura.CS.Arizona.EDU> References: <199711182043.NAA03016@mt.sri.com> <199711200447.VAA16323@lectura.CS.Arizona.EDU> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Bcc: nate Carlos A. Ugarte writes: > > I'm also having the same problem, with a Compaq Contura Aero. > The symptom is that by suspending the machine (either by > pushing the button or running apm -z) the machine would suspend, > but it would also panic (I'd see ddb right before the screen > would shut off). The faults were not always the same, but a few > times trace showed that apm_suspend and apm_processevent kept > calling each other resulting in a stack overflow. Right, it's because the Compaq wants to do a 'standby' instead of a supsend for some reason...??? > It turns out that PAO has a solution for this using the > APM_NOSUSPEND_IMMEDIATE option. It turns out that PAO has a hack for this, instead of a solution. A hack is better than nothing, but a solution is better than both. I'd like to see someone implement a solution to the problem rather than adding 'yet another' option for laptops. There are already too many options to keep track of, so we need to find solutions so that FreeBSD works 'out of the box' well on all laptops, and solutions to one laptop don't negatively affect another laptop. > By the way, I had first tried out PAO; I thought it was > required to get pccards to work. The pccard stuff did not work > for me, though apm was fine eventually (2.2.2-REL w/ the latest > PAO patches; couldn't get the PAO boot floppy to work either...). I > recently learned that PAO might not be necessary from one of Nate's > messages on the mailing list, so I gave it a go and now both > pccard and apm work with the base system (plus the one patch above). Great, glad to hear it. > Is there some advantage (laptop wise) that warrants > upgrading to 2.2.5-RELEASE? No, but 2.2.5-STABLE contains alot of new fixes for suspend/resume. Suspend/resume works much better now, although there are still a couple of minor (known) bugs in the support which I'm working on. Nate