Based on the Matthew Garrett's patch set. [PATCH V2 1/4] ACPI: Fix up _PLD methods [PATCH V2 2/4] ACPI: Add _PLD support [PATCH V2 3/4] usb: Bind devices to ACPI devices when possible [PATCH V2 4/4] usb: Set device removable state based on ACPI USB data Add usb hub ports' platform_data to store acpi_handle. When a usb hub is found, getting all ports' acpi handle and check port's connect type through acpi method "_UPC" and "_PLD". When a usb device is found, set it's removalbe depending on the port's connect type. [PATCH V2 1/4] usb: add struct usb_hub_port to store port related [PATCH V2 2/4] usb: move struct usb_device->children to struct [PATCH V2 3/4] usb/acpi: add the support of usb hub ports' acpi [PATCH V2 4/4] usb/acpi: add usb check for the connect type of usb drivers/staging/usbip/usbip_common.c | 2 +- drivers/usb/core/devices.c | 3 +- drivers/usb/core/hub.c | 145 ++++++++++++++++++++++++---------- drivers/usb/core/usb-acpi.c | 104 +++++++++++++++++-------- drivers/usb/core/usb.h | 10 +++ drivers/usb/host/r8a66597-hcd.c | 3 +- include/linux/usb.h | 11 ++- 7 files changed, 199 insertions(+), 79 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html