Re: [PATCH] PNPACPI: Enable Power Support

From: Oliver Neukum
Date: Wed Dec 10 2008 - 05:21:33 EST


Am Mittwoch, 10. Dezember 2008 10:53:15 schrieb Henrique de Moraes Holschuh:
> 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

EHCI/UHCI have no way to power down host controllers.
It needs external means, namely ACPI.

> 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?!

We don't. If you unplug all devices, USB will power down as much as is
compatible with detecting new devices.

> 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).

If you cut power to a port, you cannot detect a hotplugging. You can
suspend it, which Linux does do.

Regards
Oliver



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