升级到ubuntu 17.10后,XPS15无法挂起

自从迁移到ubuntu 17.10后,我遇到了暂停我的系统的问题(带有nvidia / intel双显卡的Dell XPS15)

当我短暂按下电源按钮或调用systemctl挂起时,我可以看到系统尝试进入挂起模式,但几秒后它又恢复正常。 从下面的syslog中提取

[ 2968.230422] PM: Suspending system (mem) [ 2968.230485] Suspending console(s) (use no_console_suspend to debug) [ 2968.439210] xhci_hcd 0000:3e:00.0: WARN: xHC CMD_RUN timeout [ 2968.439222] suspend_common(): xhci_pci_suspend+0x0/0xd0 returns -110 [ 2968.439227] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -110 [ 2968.439246] dpm_run_callback(): pci_pm_suspend+0x0/0x130 returns -110 [ 2968.439249] PM: Device 0000:3e:00.0 failed to suspend async: error -110 [ 2968.939220] thunderbolt 0000:08:00.0: Ignoring mailbox command error (-110) in icm_suspend [ 2968.939329] PM: Some devices failed to suspend, or early wake event detected [ 2968.939464] PM: resume of devices complete after 0.129 msecs [ 2989.664896] PM: Finishing wakeup. [ 2989.664899] OOM killer enabled. [ 2989.664900] Restarting tasks ... done. 

并且根据lspci

 3e:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge] (rev ff) 

运行股票Ubuntu内核。 没有特别的调整

有没有人面临同样的问题解决这个问题?

我有类似的问题。 升级到17.10后系统不会关闭。 我在启动时从grub转移到早期稳定版本的内核,现在一切正常。 我目前正在使用4.10.0-37-generic并且在4.13.0-16-generic上面临问题

我在17.04面临完全相同的问题,也使用XPS 15.禁用USB设备’修复’它 – 或者至少允许你暂停。

您可以使用命令解除绑定USB设备(使用此处和此处的答案)

echo "0000:3e:00.0" | sudo tee --append /sys/bus/pci/drivers/xhci_hcd/unbind

我在Ubuntu 17.10上遇到了类似的问题,并且将BIOS升级到最新版本已经解决了问题(主要测试1.5.1和1.6.1)。

运行Ubuntu 17.10的戴尔XPS 15 9550(同时还有Nvidia和Intel显卡)也存在同样的问题。 我在syslog中获得相同的行:

 [23886.943531] suspend_common(): xhci_pci_suspend+0x0/0xd0 returns -110 [23886.943536] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -110 [23886.943542] dpm_run_callback(): pci_pm_suspend+0x0/0x130 returns -110 [23886.943546] PM: Device 0000:3e:00.0 failed to suspend async: error -110 [23887.443502] thunderbolt 0000:08:00.0: Ignoring mailbox command error (-110) in icm_suspend [23887.443583] PM: Some devices failed to suspend, or early wake event detected 

我不明白为什么(在这里找到),但我可以通过卸载带有aptintel-microcode软件包解决问题(或者你可以转到“软件和更新”应用程序,导航到“其他驱动程序”选项卡,以及选择“不要使用此设备”):

软件和更新

当我删除intel-microcode并重新启动时,问题似乎消失了,我可以像往常一样暂停。

编辑:BTW我在最新的BIOS版本1.6.1。

编辑2:从最近的一些更新(我相信)看起来好像选择“不要使用设备”不再是微码的选项。 我现在在BIOS 1.6.1上(在戴尔取消1.6.1之后再重新发布它),暂停问题似乎仍然存在…… 🙁