On Friday, December 30, 2016 01:45:53 AM Kilian Singer wrote: > The touchpad and builtin keyboard of laptop fail. > But also connected usb keyboard and usb mouse fail. > > In both cases mouse pointer is still moveable. It may just be too late to turn the ports "on" once they have been suspended at least once on your system. Please check if the appended patch makes any difference. Thanks, Rafael --- drivers/pci/pcie/portdrv_pci.c | 2 -- 1 file changed, 2 deletions(-) Index: linux-pm/drivers/pci/pcie/portdrv_pci.c =================================================================== --- linux-pm.orig/drivers/pci/pcie/portdrv_pci.c +++ linux-pm/drivers/pci/pcie/portdrv_pci.c @@ -160,7 +160,6 @@ static int pcie_portdrv_probe(struct pci pm_runtime_use_autosuspend(&dev->dev); pm_runtime_mark_last_busy(&dev->dev); pm_runtime_put_autosuspend(&dev->dev); - pm_runtime_allow(&dev->dev); } return 0; @@ -169,7 +168,6 @@ static int pcie_portdrv_probe(struct pci static void pcie_portdrv_remove(struct pci_dev *dev) { if (pci_bridge_d3_possible(dev)) { - pm_runtime_forbid(&dev->dev); pm_runtime_get_noresume(&dev->dev); pm_runtime_dont_use_autosuspend(&dev->dev); } -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html