From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 12 05:55:12 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 5ED9916A4CE for ; Sun, 12 Dec 2004 05:55:12 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13EAE43D39 for ; Sun, 12 Dec 2004 05:55:12 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-186-123.dsl.snfc21.pacbell.net [64.171.186.123])iBC5t6HD010704; Sun, 12 Dec 2004 00:55:06 -0500 Message-ID: <41BBDD38.2010203@root.org> Date: Sat, 11 Dec 2004 21:55:04 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "M. Warner Losh" References: <1102804150.2640.4.camel@RabbitsDen> <41BB83F6.4010309@root.org> <20041211.171616.64807335.imp@bsdimp.com> In-Reply-To: <20041211.171616.64807335.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 05:55:12 -0000 M. Warner Losh wrote: > 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. Sorry, I was wrong. I was looking at this from a pure pci_suspend() perspective. -- Nate