From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 12 00:17:49 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 B693A16A4CE for ; Sun, 12 Dec 2004 00:17:49 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FDD843D31 for ; Sun, 12 Dec 2004 00:17:49 +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 iBC0Fwcd016555; Sat, 11 Dec 2004 17:15:58 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 11 Dec 2004 17:16:16 -0700 (MST) Message-Id: <20041211.171616.64807335.imp@bsdimp.com> To: nate@root.org From: "M. Warner Losh" In-Reply-To: <41BB83F6.4010309@root.org> References: <1102804150.2640.4.camel@RabbitsDen> <41BB83F6.4010309@root.org> 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:17:49 -0000 In message: <41BB83F6.4010309@root.org> Nate Lawson writes: : Alexandre "Sunny" Kovalenko wrote: : > Good people, : > : > 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. : > : : We currently don't power down cardbus (PCMCIA) busses but we do power : down the card itself. Setting hw.pci.do_powerstate=0 before suspending : (or in /boot/loader.conf) should stop all PCI power state setting : (including cardbus which is just another pci-like bridge). I thought that we did power off cardbus cards: static int cardbus_suspend(device_t self) { cardbus_detach_card(self); return (0); } which has the side effects of turning off the card entirely. Warner