From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 12 00:11:51 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49AD016A4CE for ; Sun, 12 Dec 2004 00:11:51 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD5CE43D3F for ; Sun, 12 Dec 2004 00:11:50 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iBC0BSOa016484; Sat, 11 Dec 2004 17:11:28 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 11 Dec 2004 17:11:47 -0700 (MST) Message-Id: <20041211.171147.70219782.imp@bsdimp.com> To: Alex.Kovalenko@verizon.net From: "M. Warner Losh" In-Reply-To: <1102804150.2640.4.camel@RabbitsDen> References: <1102804150.2640.4.camel@RabbitsDen> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: Keeping PCMCIA card powered while in S3 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 00:11:51 -0000 In message: <1102804150.2640.4.camel@RabbitsDen> "Alexandre \"Sunny\" Kovalenko" writes: : is there any chance to keep PCMCIA firewire card powered when machine : goes into S3 mode, or at least push poweroff as far as possible. The : reason for the question is that I am trying to debug S3 mode and do not : have any other usable means on this laptop. : : Any suggestions, especially RTFMs with FM pointers are welcome. Right now the pccard suspend methods detach the cards. In general, it isn't possible to know if the card is replaced while the system is suspended, and there are some reinitialization issues that doing this "fixes". If you remove the detach from the suspend path, that's a first set. The next step may be to hack whatever driver(s) you are interested in to properly reinitialize. There may be some power issues as well. src/sys/dev/pccard is a good place to start looking. Warner