Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2004 17:16:16 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        nate@root.org
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Keeping PCMCIA card powered while in S3
Message-ID:  <20041211.171616.64807335.imp@bsdimp.com>
In-Reply-To: <41BB83F6.4010309@root.org>
References:  <1102804150.2640.4.camel@RabbitsDen> <41BB83F6.4010309@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <41BB83F6.4010309@root.org>
            Nate Lawson <nate@root.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041211.171616.64807335.imp>