Re: [PATCH] PNPACPI: Enable Power Support

From: Henrique de Moraes Holschuh
Date: Wed Dec 10 2008 - 04:53:33 EST


On Mon, 08 Dec 2008, Witold Szczeponik wrote:
> This patch sets the power of PnP ACPI devices to D0 when they
> are activated and to D3 when they are disabled. The latter is

This will likely fix my T43 to power down USB during STR. THANKS!!
Now, I just need to check if the ACPI BIOS is smart enough to not do
it when they are configured as wake devices [in the BIOS].

Although I do wonder WTF we don't do that on our USB UHCI/EHCI kernel
drivers, that ACPI needs to step in to fix it. If it is not a wake
device, why are we leaving it powered up? It is bad enough we don't
have any sort of proper USB power control, but to leave the entire USB
subsystem powered up without reason?!

Vista not only powers down the USB HCIs and ports on STR, it also
powers down ports when you "safely remove the USB device", and seems
to leave the port powered down until you insert a device (or remove
the device already in there, whatever).

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/