Re: [PATCH] PNPACPI: Enable Power Support

From: Henrique de Moraes Holschuh
Date: Wed Dec 10 2008 - 18:21:56 EST


On Wed, 10 Dec 2008, Witold Szczeponik wrote:
> Henrique de Moraes Holschuh wrote:
>> 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].
>>
>
> Most likely it won't. :-( My patch takes only care of devices that are
> properly registered as PnP by ACPI: attached USB devices don't fall
> under that category.

I do mean the UHCI and EHCI bridges, not USB devices hanging off them :)

I will do an in-depth study of the AML in question, I just noticed it is
coupled to some EC magic register, which might be doing stuff the USB
subsystem just can't do normally.

--
"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/