You are not logged in.

#1 2014-06-02 23:13:10

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

LID close suspend event not happening. Suspend fine otherwise.

I have a base Arch install on a Chromebook - mostly working great. Both "pm-suspend" and "systemctl suspend" work fine from a command or key binding. However, they do not work on LID close, even though I have the right  code in /etc/acpi/handler.sh. Also, I have acpi and acpid working, apparently fine. I want to test if the LID event actually happens or not, and am unsure how to do that.

Any others out there ever had same problem or other ideas?


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#2 2014-06-03 06:30:08

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: LID close suspend event not happening. Suspend fine otherwise.

/etc/UPower/UPower.conf wrote:

# Do we ignore the lid state
#
# Some laptops are broken. The lid state is either inverted, or stuck
# on or off. We can't do much to fix these problems, but this is a way
# for users to make the laptop panel vanish and for programs like
# gnome-settings-daemon to not suspend on system startup.
#
# default=false
IgnoreLid=true

But, I think upower is deprecated in favour of systemd...
As for testing your lid event: use a udev rule wink

Offline

Board footer

Powered by FluxBB