Comment 120 for bug 677633

Revision history for this message
Pavel (pavel-ka) wrote :

http://syslinux.ru/node/1290 the trick wich acpi/event didn't work properly for me. I added file for example named as 99sleep-keys in /etc/pm/sleep.d/

#!/bin/bash

case "$1" in
 suspend|freeze)
  echo "Sleeping..."
 ;;

 resume|thaw)
 /bin/keys_on #it's a compiled program
 ;;

 *)
 ;;
esac

work's fine for me.