I have a VIAO VGN-p530H mini netbook running Slackware 14.1, kernel xxx. When I close the lid, the computer hangs. In fact I have to power down to reset. What I want is for nothing to happen when I close the lid; no action.
The link http://slackware.osuosl.org/slackware_source/ap/pm-utils/README.SLACKWARE
suggested a script to determine my supported modes:
root@viao:/# for i in hibernate suspend suspend-hybrid ; do
> pm-is-supported --$i \
> && echo "$i is supported" \
> || echo "$i is not supported" ;
hibernate is supported
suspend is supported
suspend-hybrid is supported
My /var/log/messages from just after closing the lid gives:
Dec 24 04:35:05 viao logger: ACPI action lid is not defined
My /etc/acpi/acip_handler.sh has:
# Default acpi script that takes an entry for all actions
case "$1" in
case "$2" in
power) /sbin/init 0
*) logger "ACPI action $2 is not defined"
logger "ACPI group $1 / action $2 is not defined"
and /etc/acpi/events/default is:
# This is the ACPID default configuration, it takes all
# events and passes them to /etc/acpi/default.sh for further
# event keeps a regular expression matching the event. To get
# power events only, just use something like "event=button power.*"
# to catch it.
# action keeps the command to be executed after an event occurs
# In case of the power event above, your entry may look this way:
# Optionally you can specify the placeholder %e. It will pass
# through the whole kernel event message to the program you've
Despite having located these various elements I have little clue as to how to change acpi settings to do what I want, and I haven't found any specific solutions web surfing.