Suspend on lid close doesn't work 16.04 - Ask Ubuntu


i've checked each , every option , possible solutions asus laptop doesn't suspend when close lid. settings set proper via menues nothing happens. when perform suspend ubuntu menu works perfect. ok, had add "network-manager restart" because of disabled wifi in end suspend , resume in general works.

i have tested scripts other posts , in addition uncommented "handlelidswitch(docked)" events suspend didn't help. tried below with ubuntu 16.04 laptop doesn't suspend when lid closed nothing worked me.

i able check external monitor lid switch in general works. checked /proc/acpi/button/lid/lid/state , found "closed" or "opened" correctly.

in log of journalctl can see systemd-logind "watching system buttons lid"

here relevant text:

okt 21 15:35:28 dijana-asus systemd-logind[643]: watching system buttons on /dev/input/event0 (lid switch) 

a different laptop same 16.04 lts shows same entry in journalctl there suspend on lid works , lid close event recognized systemd-logind.

is bug or laptop stupid? on different partition have tested old 14.04.5 (with latest kernel) , have same misbehaviour...

can help?

regards, dijana

additional information... asus f453s intel® celeron(r) cpu n3050 @ 1.60ghz × 2

ubuntu shows intel® hd graphics (cherryview)

lspci | grep vga shows 00:02.0 vga compatible controller: intel corporation device 22b1 (rev 21)

so in end gave , did via workaround script. created script , put root crontab executing every 5 minutes. not nice works , in end it's cases our child closes lid. here content of script:

#!/bin/bash if grep -q closed /proc/acpi/button/lid/*/state       /usr/sbin/pm-suspend  fi 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User