xhci_hcd: Runtime PM causes port to inactivate

From: Patrik Kullman
Date: Sun Dec 04 2011 - 06:17:21 EST


Issuing

echo auto > /sys/bus/pci/devices/0000:03:00.0/power/control

on my Asus Zenbook UX31E with a

03:00.0 USB Controller: Fresco Logic Device 1009 (rev 02)

causes its USB3-port to become mostly disabled.

It does have a "Charger+" feature that allows it to charge cellphones
etc even when turned off, and this feature works when power control is
in "auto" mode.

In all other aspects, the port is turned off. It doesn't react to
devices being inserted.

This does not feel like the desired behavior.

Also, suspend does not work without unbinding the xhci_hcd module, not
sure if that is related.
Computer will not suspend/resume unless the following script is used
in /etc/pm/sleep.d:
https://help.ubuntu.com/community/AsusZenbook#Suspend.2C_Hibernate.2C_Shut-down_and_Reboot

This behavior has not changed between 3.0 and 3.2-rc4+ that I've tried today.
--
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/