From owner-freebsd-mobile Tue Sep 17 13:55:13 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBACD37B401 for ; Tue, 17 Sep 2002 13:55:12 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id B762D43E4A for ; Tue, 17 Sep 2002 13:55:11 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g8HKtA9R059768; Tue, 17 Sep 2002 14:55:10 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 17 Sep 2002 14:55:06 -0600 (MDT) Message-Id: <20020917.145506.101593712.imp@bsdimp.com> To: marks@ripe.net Cc: mobile@FreeBSD.ORG Subject: Re: pccard re-attach after ACPI S1 resume From: "M. Warner Losh" In-Reply-To: <20020916073727.GA760@laptop.6bone.nl> References: <20020913.094755.08630187.imp@bsdimp.com> <20020916073727.GA760@laptop.6bone.nl> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: <20020916073727.GA760@laptop.6bone.nl> Mark Santcroos writes: : On Fri, Sep 13, 2002 at 09:47:55AM -0600, M. Warner Losh wrote: : > : Well, Warner is Mr. Newcard, so it is really his opinion that matters. :) : > : Logically since we always do a detach() in suspend() I think we should : > : always do an attach() on resume() but just silently fail if there is no : > : card. Imagine if you suspended with a card in and then ejected it. You : > : would still get a bunch of warning message from attach() when instead it : > : should just handle the situation quietly. :) : > : > This is basically right. Having special flags on suspend is bogus. : : Any part of this in the pipe for committing? I've committed it into my perforce branch. However, something @#!#@$^ up recently and I've not been able to resume after the suspend at all on my dell i8000 since cutting over to acpi. Several months ago I was able to suspend with acpi, so I don't know when it broke. Maybe it is related to X (which I can't switch back to after switching to the console virtual terminal). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message