从睡眠中醒来后,屏幕保持关闭,笔记本电脑没有响应

我在使用mini ISO正式发布后一周安装了ubuntu 16.04 LTS ,然后在没有推荐软件包的情况下安装了ubuntu-desktop 。 从那以后,只需要安装包就可以了。

尝试使用触摸板将计算机从睡眠状态唤醒后,电源按钮上的指示灯停止闪烁,我听到硬盘驱动器的声音在线。 但是:

  • 屏幕完全关闭,没有背光。
  • 笔记本电脑没有响应任何键盘按下。
  • 每次我使用神奇的SysRq重启笔记本电脑。 长按电源按钮也可以。

使用ubuntu 14.04 LTS时不存在此问题

本网站上所有可能重复的建议解决方案都没有解决我的问题。 一个很大的区别是我的笔记本电脑屏幕不仅仅是空白。

可能有用的信息。 系统重启后全部搞定了。

  • dmesg的
  • 无功/日志/系统日志

硬件细节:

电脑型号:

Hewlett-Packard Compaq Presario C700笔记本电脑/ 30D9,BIOS F.35 03/29/2010

uname -a

Linux CPC700 4.4.0-22-generic #39-Ubuntu SMP Thu May 5 16:53:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux 

lspci -nn:

 00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 03) 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 03) 00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) [8086:2a03] (rev 03) 

sudo lshw -class显示

 *-display:0 description: VGA compatible controller product: Mobile GM965/GL960 Integrated Graphics Controller (primary) vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 03 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:26 memory:91000000-910fffff memory:80000000-8fffffff ioport:30d0(size=8) *-display:1 UNCLAIMED description: Display controller product: Mobile GM965/GL960 Integrated Graphics Controller (secondary) vendor: Intel Corporation physical id: 2.1 bus info: pci@0000:00:02.1 version: 03 width: 64 bits clock: 33MHz capabilities: pm bus_master cap_list configuration: latency=0 resources: memory:91100000-911fffff 

编辑1
我认为这是一个错误,因为它不会一直发生。 我会在启动板上提交它,但我不知道哪个包导致了问题。 如何在我的具体情况下继续找到它们?

编辑2
设置“ 当盖子关闭时:什么都不做 ”。

  • 当我关上盖子时系统不会进入睡眠状态。
  • 侦听内容( acpi_listen>〜/ listens ):

    按钮/盖子LID关闭
    按钮/盖子LID打开

在评论中确认pm-suspend命令与您的笔记本电脑正常工作后,我们现在可以告诉它使用该命令专门暂停它。

打开终端并输入gksudo gedit /etc/default/acpi-support

出现提示时输入管理员密码。

查找说明SUSPEND_METHODS="dbus-pm dbus-hal pm-utils"

将行更改为SUSPEND_METHODS="pm-utils"

保存并关闭编辑器,然后重新启动笔记本电脑。

创建暂停脚本:

在终端,键入sudo nano /etc/acpi/events/laptop-lid-close

将其粘贴到脚本中(右键单击终端窗口并单击“粘贴”):

 # /etc/acpi/events/laptop-lid-close # This is called when the user closes the laptop lid and calls # the lidclose.sh script. event=button/lid action=/etc/acpi/lidclose.sh 

要以nano保存文件,请按CTRL + O,然后按ENTER。 (即字母O,而不是零。)然后按CTRL + X退出。

使用sudo chmod +x /etc/acpi/events/laptop-lid-close使文件可执行

现在制作下一个将由您刚制作的脚本执行的脚本。 在终端中,键入sudo nano /etc/acpi/lidclose.sh

将其粘贴到文件中:

 #!/bin/sh # This script is called from /etc/acpi/events/laptop-lid-close # Check if lid is opened or closed grep -q closed /proc/acpi/button/lid/LID*/state if [ $? = 0 ] then /usr/sbin/pm-suspend; #if closed then suspend. fi 

使用CTRL + O,ENTER,CTRL + X保存并关闭。 使用sudo chmod +x /etc/acpi/lidclose.sh使其可执行

现在用sudo service acpid restart

现在尝试关闭盖子,等待几秒钟然后重新打开盖子。 如果它没有暂停,请重新启动计算机并再次尝试。

就我而言,解决方案是……

所有设置>亮度和锁定

确保未选中 Dim Screen to Save Power