Date: Sat, 11 Dec 2004 21:55:04 -0800 From: Nate Lawson <nate@root.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-acpi@freebsd.org Subject: Re: Keeping PCMCIA card powered while in S3 Message-ID: <41BBDD38.2010203@root.org> In-Reply-To: <20041211.171616.64807335.imp@bsdimp.com> References: <1102804150.2640.4.camel@RabbitsDen> <41BB83F6.4010309@root.org> <20041211.171616.64807335.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote:
> 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.
Sorry, I was wrong. I was looking at this from a pure pci_suspend()
perspective.
--
Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41BBDD38.2010203>
